ok its time to ask for help.. ok its time to ask for help..
 

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

ok its time to ask for help..

Started by buglerroller, September 17, 2004, 01:02:51 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

buglerroller

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.

Casper

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


buglerroller


Nibbler

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

buglerroller

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

buglerroller

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

Joachim Müller

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

Joachim

buglerroller

Quote from: GauGau on September 17, 2004, 07:15:47 AM
write permissions for the albums folder! CHMOD as suggested in the docs.

Joachim

nope, checked that already.

Nibbler

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.

Tranz

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

buglerroller

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

yoshikiwei

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
'./albums/edit/
and change them to
$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

Nibbler

The issue of hardcoded album directory name has been addressed for 1.4