Mistake in versioncheck.php or ..... Mistake in versioncheck.php or .....
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Mistake in versioncheck.php or .....

Started by Magic, August 22, 2004, 04:38:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Magic

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/ or 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. :-)

Joachim Müller

you haven't properly replaced all necessary files. Re-read the upgrade guide and try again.

GauGau

Tranz

#2
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.

Magic

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 :-)

Joachim Müller

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, 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

Magic

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 :-)