[solved] Fatal Error after upgrade.. [solved] Fatal Error after upgrade..
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[solved] Fatal Error after upgrade..

Started by turtleboy, June 11, 2004, 05:42:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

turtleboy

After I Upgraded from 1.2.1 to 1.3.0 (stable), and ran update.php.. I try to access my gallery and all I get returned is:

Fatal error :
There was an error while processing a database query

http://www.skylinedesigns.net/foto/foto-gallery/

Anyone know what could be causing this?

hyperion

Your update.php script is from 1.2.1.  Did you download the correct package, follow instructions in the /docs folder, etc.? Also, did you remember to backup your config.inc.php file and your album folder?
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

turtleboy

I downloaded straight from the link in the thread GauGau made:
http://forum.coppermine-gallery.net/index.php?topic=6758.0

That package said "cpg1.3.0.zip" so I assume it's the right one.

Yes I followed all the update instructions in the docs folder too, as well as backed up all the neccessary items.

turtleboy

OK, I don't went wrong with the first four times I re-uploaded the files, but it now magically all works.. thanks!

med20

I've got the exact same error. 

Followed instructions, verified the albums folder and include/config.inc.php are the ones backed up and that the update.php file is directly from the new package.  Any other ideas?

Joachim Müller

another user reported that his ftp software "miraculously" didn't replace files (and didn't prompt him), so I suggest you create a temp folder on your local hard drive, download your coppermine gallery from your webserver to the temp dir on your pc and use a diff viewer to compare both the original files from the package and the stuff on your server. I'm quite sure the files are different.

GauGau

med20

Ok, assuming that there are files not being replaced by copying the new version: I deleted the whole directory, recreated it and uploaded the new version except the albums.  Then copied the backups of the albums and include/config.inc.php back in.  Still getting the same

Fatal error:
There was an error while processing a database query

btw: I can remove the whole directory and copy the original back and it still works.

Casper

It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

med20

Yes, each time I copied or uploaded files for the upgrade.


Incite

I am having this problem aswell. I have no idea what is causing it, I will try re-uploading the files.

Casper

Please give a link, and any error messages.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here