Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: repository.txt - doesn't work  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Ğóññêèé (Windows)
    • Makc's home page
repository.txt - doesn't work
« on: April 27, 2006, 12:21:03 pm »

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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: repository.txt - doesn't work
« Reply #1 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.
Logged

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Ğóññêèé (Windows)
    • Makc's home page
Re: repository.txt - doesn't work
« Reply #2 on: April 28, 2006, 01:07:32 am »

are you allowed to fopen on your server? If not, coppermine will fall back to the local copy.
This one?
Code: [Select]
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 21 queries.