coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: Teune on February 28, 2006, 05:03:31 PM

Title: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on February 28, 2006, 05:03:31 PM
After following the documented instructions, when I try to navigate to the album, I am being forced to login (new) and after I enter the only login (I checked id and password in phpmyadmin) I get this error:

Fatal error: Call to a member function on a non-object in E:\WEBSITES\naperweb.com\photos\login.php on line 37
PHP Fatal error: Call to a member function on a non-object in E:\WEBSITES\naperweb.com\photos\login.php on line 37

This is a test album as I am extremely leary of attempting an upgrade of a live photo album after the difficulties encountered on this test databse.

Ed
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Nibbler on February 28, 2006, 05:08:04 PM
What version are you upgrading to ?
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on February 28, 2006, 05:16:56 PM
From 1.3.x to 1.4.4
http://www.naperweb.com/photos/
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Nibbler on February 28, 2006, 05:32:55 PM
Make sure you uploaded all the new files, replacing the old ones.
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on February 28, 2006, 05:34:51 PM
Yes, I did that of course. Manually went to each folder and made sure all new files overwriting old ones.
Like I said, this is my third attempt.
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on February 28, 2006, 08:51:10 PM
Well, alrighty, then.
I am just deleting this test system completely, copying my live photo album over and testing on that.
I am going to follow the documented instructions AGAIN and see what happens this time (number 4)
wish me luck, I'm goin in again!
dive! dive! dive!
Ahooogah! Ahooogah! Ahooogah!
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on February 28, 2006, 09:54:15 PM
4th time is a charm.
Instead of following the documentation this time, I tried something different and it worked.

I DELETED all files except the albums folder.
Uploaded 1.4.4 files.
Ran update.php
except for a few theme issues, I am back in business!

moral of the story?
Backup everything, then try the documented instructions, then try something similar to documented instructions, then try something a bit different from that and maybe you can get updated to the latest version!

boy, was that fun.
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Tranz on March 01, 2006, 06:40:49 AM
That seems to indicate maybe an issue with the ftp client not overwriting the old files properly?
Title: Re: Third attempt at upgrading again meets with failure at login (error below)
Post by: Teune on March 01, 2006, 03:35:15 PM
It could be, but I tried two different FTP clients and specifically indicated overwrite all on both.
I really think either the documentation should be changed or the upgrade process itself.
A LOT of folks have had difficutly with this, and I don't think they are all just making stupid mistakes.
Sorry, I am spoiled with simplemachines forum software, a couple clicks inside the software itself, bam! upgraded.