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: Mhhh pb with paths ...  (Read 4328 times)

0 Members and 1 Guest are viewing this topic.

rx-one

  • Coppermine newbie
  • Offline Offline
  • Posts: 14
Mhhh pb with paths ...
« on: December 14, 2006, 10:06:07 pm »

hello ...

here is my cftest

http://rx-photo.info/cpmfetch/cftest.php

to pass the "80 error" i wrote in test file :
Code: [Select]
line 5 :

$ChangeThisToYourPartialUrlToCPG = "/rx-photo.info";

it seems to be the only way to pass the 80 error ...

but as u can see, links & img are broken in test file :

http://rx-photo.info/rx-photo.info/displayimage.php?pos=-89
must be
http://rx-photo.info/displayimage.php?pos=-89

my real path is : /home/rx-photo.info/

& ftp path since root of hosting is : /www/-hosted/rx-photo/

here the phpinfo placed in cpmfetch : http://rx-photo.info/cpmfetch/p.php

my coppermine is on the root of the domain.

I try to modify a bit cpmfetch.php but w/o any success ...

where is the pb ?  ty by advance...

Logged

florennes-as.be

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 46
Re: Mhhh pb with paths ...
« Reply #1 on: December 19, 2006, 09:39:44 pm »

Hello !

  It seems i do have the same kind of problem. I downloaded the last stable version of CpmFetch and installed it as described in the quick install.
  The website is www.florennes-as.be, the coppermine directory is /engine, so www.florennes-as.be/engine leads to the galleries.
  CpmFetch is installed in the root of the website, then www.florennes-as.be/cpmfetch.

  So, the little change to do in the cftest.php is to change the access to the gallery by changing the directory "/engine".
  See ; http://www.florennes-as.be/cpmfetch/cftest.php ... this gives the error 80 ! CPG config file unreachable !

  I have to change the directory parameter to "/f/florennesas/www/engine" in cftest2.php and the the error 80 dissapear.
  See ; http://www.florennes-as.be/cpmfetch/cftest2.php but then, below, the paths to the thumbs are incorrect as it is http://www.florennes-as.be/f/florennesas/www/engine/displayimage.php?pos=-464 I have to remove "/f/florennesas/www" and the link is working.

  So, when the directory in cftest2.php is "/f/florennesas/www/engine", test is ok, no error 80, but link to picture thumbs on cftest2.php is not correct.
  When the directory is logically '/engine", access to the cftest.php leads to an error 80.

  So, one directory parameter leads to two different URLs (reaching CPG config file/images).

  What is wrong ? Many thanks for the clues ...

L@urent
Logged

vuud

  • Moderator
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 1803
  • [cpmfetch.fistfullofcode.com]
    • Fist Full Of Code
Re: Mhhh pb with paths ...
« Reply #2 on: December 22, 2006, 04:01:54 pm »

Hello !

  It seems i do have the same kind of problem. I downloaded the last stable version of CpmFetch and installed it as described in the quick install.
  The website is www.florennes-as.be, the coppermine directory is /engine, so www.florennes-as.be/engine leads to the galleries.
  CpmFetch is installed in the root of the website, then www.florennes-as.be/cpmfetch.

  So, the little change to do in the cftest.php is to change the access to the gallery by changing the directory "/engine".
  See ; http://www.florennes-as.be/cpmfetch/cftest.php ... this gives the error 80 ! CPG config file unreachable !

  I have to change the directory parameter to "/f/florennesas/www/engine" in cftest2.php and the the error 80 dissapear.
  See ; http://www.florennes-as.be/cpmfetch/cftest2.php but then, below, the paths to the thumbs are incorrect as it is http://www.florennes-as.be/f/florennesas/www/engine/displayimage.php?pos=-464 I have to remove "/f/florennesas/www" and the link is working.

  So, when the directory in cftest2.php is "/f/florennesas/www/engine", test is ok, no error 80, but link to picture thumbs on cftest2.php is not correct.
  When the directory is logically '/engine", access to the cftest.php leads to an error 80.

  So, one directory parameter leads to two different URLs (reaching CPG config file/images).

  What is wrong ? Many thanks for the clues ...

L@urent

If your gallery is in the root of your web site, try one of the latest dev releases - it handles that MUCH better.

Mind you though - the new call to cpmfetch takes the path to the config file as the parameter, not the partial url to the gallery.




Logged
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.