repository.txt - doesn't work repository.txt - doesn't work
 

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

repository.txt - doesn't work

Started by Makc666, April 27, 2006, 12:21:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

It seemed to me, that repository.txt doesn't work any more.
There is two ways to check files.
Online and Offline.

If we want to check Online, we set in Versioncheck option try connecting to the online repository Enabled
If we want to check Offline we uncheck option try connecting to the online repository

So, when we UNCHECK in fact CPG must take information from repository.txt which we have downloaded and placed in CPG root.

But. Today I found out that CPG doesn't handle repository.txt

Even if I uncheck option try connecting to the online repository and delete repository.txt
CPG still performs OFFLINE check.

I tried to find out and discover that information about files versions is included in versioncheck.php

Then I tried to modify repository.txt for examle changed some files versions to be greater.
But CPG didn't pay any attention to repository.txt

Is this an error or what?
Thanks.

Joachim Müller

are you allowed to fopen on your server? If not, coppermine will fall back to the local copy.

Makc666

Quote from: GauGau on April 28, 2006, 12:17:37 AM
are you allowed to fopen on your server? If not, coppermine will fall back to the local copy.
This one?
PHP Core
Directive          Local Value         Master Value
allow_url_fopen      On                   On

If yes, then it is allowed.

I think, GauGau, you didn't understand what I was trying to say.
I am trying to say, that CPG takes information from versioncheck.php even if repository.txt exists.