Version Check not working Version Check not working
 

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

Version Check not working

Started by Gephri, December 02, 2007, 01:35:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Gephri

I've upgraded to 1414 and now am unable to get the Version Check to work.
It had before, and I do now have the latest versioncheck.php, my server does allow url_fopen

any ideas why I'm "Unable to connect to online repository" ?

Joachim Müller

From what Coppermine version have you been upgrading? Also post a link to your gallery please.

Gephri

Had 1412, then manually upgraded to 1413.  Finally did a complete upgrade to 1414.

Link: http://www.superstarstudents.com/gallery/index.php

Joachim Müller

What is being displayed if you don't connect to the online repository?

Gephri

"Unable to connect to online repository"
'...repository is currently down...'   - not the case
'...allow_url_fopen turned off...'  - not the case


"Installed Gallery version"
'...You have currently installed: 1.4.14 modpack v1...'  - modpack v1 is Stramms' latest
'...you probably haven't uploaded the most recent version of the file include/init.inc.php...'   - not the case

Joachim Müller

No, I mean: what happens if you deliberately set "connect to online repository" to off.

Gephri

Sorry-
"Connection to online repository skipped
The script is defaulting to the local copy of the version-files now. The data may be inaccurate if you have upgraded the Gallery and you haven't uploaded all files. Changes to the files after the release won't be taken into account as well."

"Installed Gallery version
You have currently installed: 1.4.14 modpack v1
If you think this is entirely wrong and you're supposed to be running a higher version of the Gallery, you probably haven't uploaded the most recent version of the file include/init.inc.php"

Nibbler

The modpack changes the value of the COPPERMINE_VERSION constant. This breaks versioncheck.

Joachim Müller

That is a bug in the modpack imo. Moving thread accordingly.

@Stramm: the modpack should not interfere with core constants like that. Could you please fix this in future versions?

Stramm

oh.. haven't thought about versioncheck. I'll correct this in the next version.

include/init.inc.php find
define('COPPERMINE_VERSION', '1.4.14 modpack v1');

replace with
define('COPPERMINE_VERSION', '1.4.14');

Gephri

thanks for the update - it now checks all versions