forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upgrading => Topic started by: mach_gr on November 02, 2012, 08:17:14 pm

Title: fatal error after updating from 1.4.25 to 1.5.20
Post by: mach_gr on November 02, 2012, 08:17:14 pm
Hi folks, hoping someone can help a newbie to forum please. Have 3 websites running CPG. Have updated one of then fine. However the other two have occurred a fatal error (the same for both).

fatal error
call to undefined function check_rebuild_tree() in home/mywebsites/public.html/gallery/update.php on line 583

mywebsites = domain
gallery = folder where cpg installed

I have retried updating 3 times for each website, but same each time.

Any advice would be appreciated
Title: Re: fatal error after updating from 1.4.25 to 1.5.20
Post by: Jeff Bailey on November 02, 2012, 08:34:19 pm
http://forum.coppermine-gallery.net/index.php/topic,66197.msg329181.html#msg329181

If that doesn't work please post links so we may have a look.
http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
Title: Re: fatal error after updating from 1.4.25 to 1.5.20
Post by: mach_gr on November 03, 2012, 09:07:25 pm
Hi Jeff

Many thanks, tried your suggestion. Still need to check all config settings but looks like all working fine now.

My only comment would be that I followed all the instructions (including notes) in the unzipped download folder Coppermine/cpg15x/docs/en/upgrading.htm yet the upgrade failed. The instructions do differ from what you advised me to do via the link you provided, so maybe the instructions need revising.

Anyway, again many thanks
Title: Re: fatal error after updating from 1.4.25 to 1.5.20
Post by: mach_gr on November 04, 2012, 07:16:08 pm
Managed to go through config settings for all 3 websites and Yes looks like all updated and working fine. Many Thanks again.
Title: Re: fatal error after updating from 1.4.25 to 1.5.20
Post by: Jeff Bailey on November 05, 2012, 09:36:57 pm
Glad it worked and thank you for coming back and confirming.

AFAIK it's not in the docs because it occurs so infrequently.
From the same thread I linked to:
It is not all instances that do. Sometimes files get left over from mods etc, sometimes write permissions on the odd file get changed on the server and  your ftp app doesn't replace them. In my mind it is always good to do a cleanup this way.

Please resolve your thread.
Resolve your threads
If you have found an answer to your question, resolve your thread. Don't just post "I have found the answer", but tell others what you actually did to solve your issues. Posting a link to the page where you found the answer might help. Describing what you did might help as well. Finally, you can tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.