coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: steveski on May 19, 2007, 07:50:06 PM

Title: Odd Upgrade Status (Yellow) Report
Post by: steveski on May 19, 2007, 07:50:06 PM
I just upgraded from 1.4.8 to 1.4.10 without any problems, as usual.  I think our 5th upgrade.  Everything seems to work fine, but the version check has yellow version *errors* for almost every file.  I should probably not worry since everything is working, but I don't like it!

Title: Re: Odd Upgrade Status (Yellow) Report
Post by: Joachim Müller on May 20, 2007, 01:30:24 PM
Make sure that you have actually replaced all files as suggested in the docs. Make sure that your FTP client is set up to overwrite existing files. Post a link to your gallery.
Title: Re: Odd Upgrade Status (Yellow) Report
Post by: steveski on May 22, 2007, 12:17:22 AM
We host our own sites, so the files are directly copied and overwritten from source directory to the current install.  I also double checked the init.inc.php file to make sure it is from the 1.4.10 install - all is good.

direct link is http://www.noizemag.com/coppermine
Title: Re: Odd Upgrade Status (Yellow) Report
Post by: Nibbler on May 22, 2007, 02:40:38 AM
Did you click the help icon? I'm guessing it says 'The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php'

Are you using an svn checkout or something?
Title: Re: Odd Upgrade Status (Yellow) Report
Post by: steveski on May 22, 2007, 06:17:44 PM
I downloaded the current version (I don't recall seeing a Dev version, but wouldn't have chosen it anyhow....though that doesn't eliminate clicking in error, I will double check).  /include/init.inc.php is correct, copied along with all the other 1.4.10 files for the update.  As I mentioned above, this is around the 5th upgrade for us - and I didn't do anything different than all the previous.  Barring accidentally downloading something other than 1.4.10, it is confusing.  I looked at a few of the new files, and the version is indeed 1.4.10 in the headers.  Not using any source control, I just shutdown the webserver and copy the new files from a temp directory to the running/installed directories.
Title: Re: Odd Upgrade Status (Yellow) Report
Post by: lriggs on June 26, 2007, 10:29:39 PM
Nibbler,
I did a manual upgrade from 1.4.2 to 1.4.10.  I ran versioncheck.php after the upgrade.  Only two files were flagged yellow:  config.inc.php (obviously) and install.php.  For both, I got the help message you mentioned:  "The file on your webserver seems to be newer than your Coppermine version. You are either using a development file (you should only do so if you know what you are doing), or you have upgraded your Coppermine install and not uploaded include/init.inc.php".

I verified that the init.inc.php file is the upgrade version, and that I did upload it. The include/config.inc.php file isn't supposed to be upgraded, and I am guessing that the install.php file could be deleted from the server since the original install was successful, correct? Can I safely ignore the flag on the include/config.inc.php file?

I am able to login to the Coppermine Gallery (it was installed into a subdirectory of the site), and everything looks just fine. 

Title: Re: Odd Upgrade Status (Yellow) Report
Post by: Joachim Müller on June 27, 2007, 09:52:51 AM
@Iriggs: having those two files flagged as outdated is OK. You should be fine. In the future, don't hijack threads that deal with something different though, but start a thread of your own.