coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: Magic on August 22, 2004, 04:38:29 PM

Title: Mistake in versioncheck.php or .....
Post by: Magic on August 22, 2004, 04:38:29 PM
Hi,

I just upgrade gallery from 1.3.1 to 1.3.2. And it works fine but when i run versioncheck.php all files was red or yellow but they are on server, in fields "cpg version" and "file version" i see only "-". I don`t know what this means.

URl: http://photo.magicnet.ee/ (http://photo.magicnet.ee/) or http://gallery.magicnet.ee/ (http://gallery.magicnet.ee/) 
CPG: 1.3.2
Language: Russian
Charset: win-1251
"Header" from include/init.inc.php:

// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.3.2                                            //
// ------------------------------------------------------------------------- //
// Copyright (C) 2002-2004 Gregory DEMAR                                     //
// http://www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// (http://coppermine.sf.net/team/)                                          //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// (at your option) any later version.                                       //
// ------------------------------------------------------------------------- //
// CVS version: $Id: init.inc.php,v 1.10 2004/08/10 15:24:47 nibbler999 Exp $
// ------------------------------------------------------------------------- // 


Summary from versioncheck.php:

Total files/folders checked:  214 
Mandatory files missing:  76 
Optional files missing:  138 
Files left over from outdated version:  0 
Outdated file versions:  0 


___________________

Sorry for my english. :-)
Title: Re: Mistake in versioncheck.php or .....
Post by: Joachim Müller on August 22, 2004, 11:45:40 PM
you haven't properly replaced all necessary files. Re-read the upgrade guide and try again.

GauGau
Title: Re: Mistake in versioncheck.php or .....
Post by: Tranz on August 22, 2004, 11:54:39 PM
It might be that you are running the file off of your subdomain. If your subdomain is a subfolder of your site, do this: http://www.magicnet.ee/gallery/versioncheck.php and the same for the other one.

Actually, I just tried the urls as such and the subdomain folders don't exist. How are subdomains set up on your server?

Oh well, I had the same problem and the above was my solution.
Title: Re: Mistake in versioncheck.php or .....
Post by: Magic on August 23, 2004, 01:11:42 AM
2 GauGau

All files has line // Coppermine Photo Gallery 1.3.2    // and only versioncheck.php has // Coppermine Photo Gallery 1.4.0    // I manually check it. I don`t think that i have made mistake when i upgrade gallery.

2 TranzNDance
I don`t know how subdomains are set up on server (server is not my). I only see htdocs (where gallery installed) and logs folder by ftp.

______________________
Sorry for my english :-)
Title: Re: Mistake in versioncheck.php or .....
Post by: Joachim Müller on August 23, 2004, 07:47:55 AM
could it be you have coppermine installed in your webroot? There has been a report that versionchgeck won't work then. I'm currently working on a fix. Please get the most recent version from the cvs of the devel branch (http://cvs.sourceforge.net/viewcvs.py/coppermine/devel/versioncheck.php?rev=1.9&view=log), replace the one on your server and test-drive it. Please report back here if it worked for you.
It's OK that the version of versioncheck.php indicates 1.4.0 - it was originally written for cpg1.4.0 (the version currently under development), but we decided to add it to the 1.3.2 package as well, as it might help some users to solve upgrade issues. As it doesn't help yours, simply ignore it.

GauGau
Title: Re: Mistake in versioncheck.php or .....
Post by: Magic on August 23, 2004, 11:53:41 AM
I tried to run latest versions of versioncheck.php (Revision 1.10 Mon Aug 23 05:17:59 2004 UTC and Revision 1.9 Sat Aug 21 23:38:12 2004 UTC ) with different options ("coppermine is installed in the webroot" and "try connecting to the online repository"), but output was red and yellow.



_____________________________
Sorry for my english :-)