coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: LWAA on July 12, 2006, 05:29:17 PM

Title: critical error when trying to rotate images
Post by: LWAA on July 12, 2006, 05:29:17 PM
I'm trying to rotate images and get critial error messages - I've tried using safari and explorer browsers.
"There was an error while processing a database query "

Can anyone offer a suggestion? I have several images to rotate.
thanks
Title: Re: critical error when trying to rotate images
Post by: Joachim Müller on July 12, 2006, 09:48:17 PM
Enable debug_mode in coppermine's config, then post the actual error message (not the debug_output). A link to your page might help as well.
Title: Re: critical error when trying to rotate images
Post by: LWAA on July 12, 2006, 10:50:58 PM
thanks.

link: http://www.i-am-that-i-am-art.com/flrouiedscv3/

Result:
[File: /home/basetho1/public_html/i-am-that-i-am/flrouiedscv3/include/functions.inc.php - Line: 249]

While executing query "UPDATE cpg133_pictures
                          SET pheight = ,
                            pwidth = ,
                                                        filesize = 4096,
                                                        total_filesize = 6014
                          WHERE pid = '266'" on 0

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
                            pwidth = ,
                                        ' at line 2


Title: Re: critical error when trying to rotate images
Post by: Joachim Müller on July 13, 2006, 06:02:43 AM
Running update.php (http://www.i-am-that-i-am-art.com/flrouiedscv3/update.php) shows that you appear to have replaced the sql statements with modded code. Can't help you with your mod.