Albums location question! Albums location question!
 

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

Main Menu

Albums location question!

Started by mslino, January 19, 2004, 07:10:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mslino

I'm running coppermine on my own web server at home. Frist I have installed the script at /home/fotosgallery directory. The directory for my albums was /home/fotosgallery/albums. Now I'm trying to change the albums directory to large hard disk labeled /albums.
My new albums location is /albums/albums. I can send the pictures to server without problem, but I can't see the pictures after I sent it. I try to create a symbolic link to new location without success.
I think that can be a problem with displayimage.php. Does anyone can help me to fix this matter?

//www.fotosgallery.com

Thanks

Marcio

Joachim Müller

moving the whole coppermine folder around shouldn't be a problem, nor renaming it, as only the relative path to the pics from the "albums" folder is stored in the database (although you'll have to go into coppermine config after moving/renaming and change the "link to ecard" settings accordingly).
The folder structure within coppermine should be left intact: if moving the albums subfolder somewhere else (outside the coppermine folder) will suceed or not greatly depends on your server config (to be honest, I never tried to do that myself).
The link you provided times out (although some headers are sent, the content of the page isn't being displayed).
I'm not sure what we could do to help you... Does the page display on localhost?

GauGau

mslino

gaugau,

My server was down for some reason but now is working again.   You can see that I sent some pictures to server but those pictures are not displayed when you load the page. Check it at //www.fotosgallery.com

If  I set the albuns directory to be inside of cpg folder the pictures are displayed well.  As you can see bellow, the pictures was uploaded successfully.

drwxrwxrwx    3 root     root         4096 Jan 19 21:46 albums
drwx------    2 root     root        16384 Jan 19 21:29 lost+found
[root@zion webfiles]# cd albums
[root@zion albums]# ls -l
total 4
drwxrwxrwx    3 root     root         4096 Jan 19 21:49 userpics
[root@zion albums]# cd userpics
[root@zion userpics]# ls -l
total 4
drwxr-xr-x    2 apache   apache       4096 Jan 19 21:49 10001
[root@zion userpics]# cd 10001
[root@zion 10001]# ls -l
total 40
-rw-rw-rw-    1 apache   apache      15304 Jan 19 21:49 bcg.png
-rw-r--r--    1 apache   apache          1 Jan 19 21:49 index.html
-rw-rw-rw-    1 apache   apache      13703 Jan 19 21:49 normal_bcg.png
-rw-rw-rw-    1 apache   apache       2777 Jan 19 21:49 thumb_bcg.png

The config file is show bellow

albums_per_page         12
album_list_cols         2
display_pic_info         0
alb_list_thumb_size         50
allowed_file_extensions         GIF/PNG/JPG/JPEG/TIF/TIFF
allowed_img_types         JPG/GIF/PNG/TIFF/JPEG
allow_private_albums         1
allow_user_registration         0
allow_duplicate_emails_addr         0
caption_in_thumbview         1
charset         language file
cookie_name         cpg11d
cookie_path         /
debug_mode         0
default_dir_mode         0755
default_file_mode         0666
default_sort_order         na
ecards_more_pic_target         http://www.fotosgallery.com
enable_smilies         1
filter_bad_words         1
forbiden_fname_char         $/\\:*?"'<>|`
fullpath         /webfiles/albums/
gallery_admin_email         mlino@comexbrazil.org
gallery_description         Compartilhe suas melhores imagens!!!
gallery_name         Fotos Gallery

You can login using ID test1 and PASS test1. Thanks for help

marcio
 :?

Joachim Müller

your server's still (or again) down for me, I'm giving up.

GauGau

mslino

Gaugau,

    I'm out of town today, but I tested to connect with my page and the server is up. Please try again and let me know if you can see the page.
//www.fotosgallery.com

Thanks

Marcio

Joachim Müller

If you don't get an answer to a posting after some days (not hours!), it's OK to reply to the thread with a line saying
Quote*bump*
, but you mustn't pm me (or, in fact, anybody else) about it (and, to make things worse, even without having a link in the pm to the thread you're referring to).

Like I said in my previous post:
Quote from: "gaugau"I'm giving up
(because I have a very low tolerance level for people running their own server). I'm already spending some hours on support every day, it's my decision not wait for your server to be up.
Maybe someone else is willing to have a look into this - good luck...

GauGau

Casper

Just a thought.  Have you changed the path in config correctly?

I see on your first post you put the new directory path as '/albums/albums'.

Is this what you changed it to in config.  It should be 'albums/albums', note no slash at the start.
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