Mhhh pb with paths ... Mhhh pb with paths ...
 

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

Mhhh pb with paths ...

Started by rx-one, December 14, 2006, 10:06:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rx-one

hello ...

here is my cftest

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

to pass the "80 error" i wrote in test file :

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


florennes-as.be

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

vuud

Quote from: florennes-as.be 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

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.




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