Advanced search  

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]

Pages: [1]   Go Down

Author Topic: ok its time to ask for help..  (Read 5631 times)

0 Members and 1 Guest are viewing this topic.

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
ok its time to ask for help..
« on: September 17, 2004, 01:02:51 am »

i dont know what going on...

http://www.tctunerz.com/gallery/

i now there is no support with the mambo bridge however the problem im having is something simple i think in order to fix the gallery. ive been editing the theme and added..

$coppermine_folder='/gallery';
$mamboroot='http://www.tctunerz.com/';

i have most of the links working however i dont know what part of the theme to edit which will enable the images to point to the right directory. right now everything is pointing to the root versus the gallery folder. any help would be apreciated.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: ok its time to ask for help..
« Reply #1 on: September 17, 2004, 01:34:07 am »

login, in admin mode, click on config, and change 'target address for see more pics' to http://www.tctunerz.com/gallery/

You seem to have just http://www.tctunerz.com/ which is causing this problem.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #2 on: September 17, 2004, 01:40:52 am »

nope, thats not it.
Logged

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #3 on: September 17, 2004, 01:57:24 am »

the breadcrum doesnt work either.
Logged

Nibbler

  • Guest
Re: ok its time to ask for help..
« Reply #4 on: September 17, 2004, 02:44:13 am »

You could try changing ' The album directory' in config to gallery/albums/
Logged

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #5 on: September 17, 2004, 03:35:08 am »

i really dont know whats going on with the gallery....
Logged

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #6 on: September 17, 2004, 04:43:02 am »

finally got the images to show up but now when i go to upload a new image, it gets to the upload file screen and the image is a red x however it lets me choose an album and when i hit continue it says 'critical error' and

Failed to create directory gallery/albums/userpics/10099 !



Warning: mkdir() failed (No such file or directory) in /home/virtual/site31/fst/var/www/html/gallery/upload.php on line 2192
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: ok its time to ask for help..
« Reply #7 on: September 17, 2004, 07:15:47 am »

write permissions for the albums folder! CHMOD as suggested in the docs.

Joachim
Logged

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #8 on: September 17, 2004, 09:32:19 am »

write permissions for the albums folder! CHMOD as suggested in the docs.

Joachim

nope, checked that already.
Logged

Nibbler

  • Guest
Re: ok its time to ask for help..
« Reply #9 on: September 17, 2004, 03:44:29 pm »

That's because your paths are screwy, it should be making the dir in albums/userpics/10099 since the script is running from  inside /gallery already. Coppermine simply isn't designed to be used as you have it, you are bound to have probs.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: ok its time to ask for help..
« Reply #10 on: September 17, 2004, 04:07:58 pm »

@buglerroller, are you uploading your files into the userpics folder? I looked at the photo file path and that's where they are. Try creating another folder in albums and upload into there.
Logged

buglerroller

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: ok its time to ask for help..
« Reply #11 on: September 17, 2004, 07:01:59 pm »

the thing is the directory its trying to upload to is already there.
Logged

yoshikiwei

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 68
Re: ok its time to ask for help..
« Reply #12 on: September 17, 2004, 08:00:17 pm »

From what I see....
you were recommended this: You could try changing ' The album directory' in config to gallery/albums/

and when you tried to upload, upload.php is actually looking for a folder called "gallery/albums/userpics/10099" inside your gallery folder
meaning: /home/virtual/site31/fst/var/www/html/gallery/gallery/albums/userpics/10099
and this wont work cause your gallery folder is definitely not write permitted
now this doesn't make sense

but if you insist on using gallery/albums/ in your album directory, heres a quick and dirty solution
1) first create a folder called "gallery" inside your gallery folder. ie: /home/virtual/site31/fst/var/www/html/gallery/gallery/
2) chmod this new gallery folder to 775 or 777 (Important !)
3) move the whole albums folder into this new gallery folder, so it becomes /home/virtual/site31/fst/var/www/html/gallery/gallery/albums
4) so far so good ?  ;)
5) open upload.php
search for all copies of
Code: [Select]
'./albums/edit/and change them to
Code: [Select]
$CONFIG['fullpath'].'/edit/(wondered why this was not done in coppermine relase)
6) done !

code tested and should work
just in case... back up your upload.php first
Logged

Nibbler

  • Guest
Re: ok its time to ask for help..
« Reply #13 on: September 17, 2004, 08:12:58 pm »

The issue of hardcoded album directory name has been addressed for 1.4
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.