coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: Joachim Müller on February 02, 2004, 12:27:22 AM

Title: [solved]: Albums don't exist although I can see them?
Post by: Joachim Müller on February 02, 2004, 12:27:22 AM
maybe your friend's webserver is running in safe mode and is not properly configured - try silly_safe_mode (refer to documentation how to do that). Maybe you'll need to CHMOD to 755 instead of 777 (depends on the webserver's configuration again).

GauGau
Title: I'm having this same problem.
Post by: NateWM on February 25, 2004, 05:26:53 PM
Hello, I just installed Coppermine and am having the same problem.   :(   I changed the permissions to 777 on the directories you listed, and tried adding new albums-- still the same problem.

I went to find include/config.inc.php to check if I have the Silly Safe Mode line (as per the manual), but I don't have a file named "config.inc.php" -- my file is named "config.inc.php.sample".

Any help with this would be greatly appreciated!    :roll:
Title: [solved]: Albums don't exist although I can see them?
Post by: Casper on February 25, 2004, 06:24:39 PM
The config.inc.php is created on the server when you installed, so download it from the server, edit it, then overwrite the original.

Be careful not to change anything else.

For future reference, if you change your database details etc, this is where you edit so coppermine can connect.
Title: [solved]: Albums don't exist although I can see them?
Post by: NateWM on February 25, 2004, 06:51:27 PM
Thanks-- I'm off to try that now...

Ok, I'm looking at config.inc.php, but there is no line with "define ('SILLY_SAFE_MODE',1);"

I'm going to add it now-- I assume it can go on any line, so long as it is between "<?php" and "?>"
Title: Still no dice--
Post by: NateWM on February 25, 2004, 07:06:25 PM
I added the line, "define ('SILLY_SAFE_MODE',1);" and re-uploaded that file.  I opened a new browser window, went to my page, and still have the same problem.  I even tried adding a new album to see if it would make a difference.   :cry:
Title: [solved]: Albums don't exist although I can see them?
Post by: NateWM on February 25, 2004, 07:27:37 PM
Not sure if this will help, but when I click on an album to open it, the url it tries to go to is:

http://mydomain.com/gallery/thumbnails.php?album=

thought this seems odd.  My webhost is Dreamhost, which has its PHP set up in a particluar manner (a quick overview of their PHP setup can be found at
this page (https://panel.dreamhost.com/kbase/index.cgi?area=2526).)  Interestingly, when I posted my Coppermine troubles on their discussion forum, I got a reply from another Dreamhost user who said he never had any troubles.

[/url]
Title: [solved]: Albums don't exist although I can see them?
Post by: Casper on February 25, 2004, 07:38:15 PM
The define_silly_safe_mode line needs to go at the top, on the line immediately after '<?php'.

Please read the docs.
Title: Bingo!
Post by: NateWM on February 25, 2004, 07:54:34 PM
Problem solved!

The problem disappeared as soon as I uploaded an image into the album.  In other words-- a blank album returns "non-existent album" whereas an album with at least one photo in it seems to function normally.

I'm not sure if this is typical, but at least now this problem is easily worked around.  If this is typically how Coppermine functions, then maybe a note should be added in the documentation about this.

Anyhow, thanks for your help, guys!  The next time somebody comes along with this problem, have them upload an image into the album to see if it fixes things.

 :D  :D  :D