Advanced search  


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.

Pages: [1]   Go Down

Author Topic: dir path error  (Read 1986 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 32
dir path error
« on: April 16, 2004, 12:46:14 am »


The gallery installation works perfectly HOWEVER i wish to make a change in the directory paths with which the pics gets stored and imaged. I have changed the 'album' directory to be /www/p/mydomainname/gallery04/htdocs/albums/ and dir for user pics to be /www/p/mydomainname/gallery04/htdocs/albums/userpics/. Pics where uploaded to the required folder (as seen in the folder via ftp) but the images does not come up in the gallery page. I get this error

Failed to create directory /www/p/mydomainname/gallery04/htdocs/albums//www/p/mydomainname/gallery04/htdocs/userpics/10001 !

Warning: mkdir(/www/p/mydomainname/gallery04/htdocs/albums//www/p/mydomainame/gallery04/htdocs/userpics/10001): No such file or directory in /www/p/mydomainame/htdocs/gallery04/db_input.php on line 222

Thing is i have installed the script in a subfolder of a different directory then where i want the pics to be uploaded to. It seems that i cannot view the userpics images (came back with broken pics).

What must i do to have the pics viewable?

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
dir path error
« Reply #1 on: April 16, 2004, 08:18:12 am »

You can only use relative paths in coppermine config, not absolute ones. Also, you can't change the location if you already have pics in your database.

Pages: [1]   Go Up

Page created in 0.015 seconds with 18 queries.