coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: porcupinepc on August 05, 2005, 03:28:40 AM

Title: Access Forbidden **Help**
Post by: porcupinepc on August 05, 2005, 03:28:40 AM
I just installed the latest version of Coppermine. When i click Config, I get:

Forbidden
You don't have permission to access /family/photos/config.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Any idea what causes this?

Thanks

Joe
Title: Re: Access Forbidden **Help**
Post by: kegobeer on August 05, 2005, 03:51:02 AM
It might be a file permissions issue.  Check to make sure the file can be executed.  Your host may also have some sort of strange htaccess file that prevents config.php from being executed.
Title: Re: Access Forbidden **Help**
Post by: porcupinepc on August 05, 2005, 04:04:12 AM
Weird....Every button at the top works fine without error except "config" it's the only one that gives me problems.

Here's the permissions for config.php

Owner              Group            World

* read              *read             *read
*write               write              write
*execute           execute         execute

* meaning enabled

Joe
Title: Re: Access Forbidden **Help**
Post by: kegobeer on August 05, 2005, 04:19:44 AM
Compare those permissions with other php files in the directory - are they the same?  If so, your host may have that htaccess file I was talking about.  If not, change config.php's permissions to match your other php files and try again.

If that doesn't work, rename config.php to something else (like cpgsettings.php), then try yoursite.com/cpgsettings.php.  Does that work?
Title: Re: Access Forbidden **Help**
Post by: porcupinepc on August 05, 2005, 04:30:47 AM
When i change config.pho to cpgsettings and point my browser to the cpgsettings.php file, the config screen appears fine. The config button at top gives error

Joe
Title: Re: Access Forbidden **Help**
Post by: kegobeer on August 05, 2005, 05:09:47 AM
The link at the top points to config.php, that's why it doesn't work.  You have two options now: ask your host why config.php is being denied and see if they will "unblock" it, or go thru all of the Coppermine theme files (and versioncheck.php) and replace config.php with cpgsettings.php.
Title: Re: Access Forbidden **Help**
Post by: porcupinepc on August 05, 2005, 12:53:34 PM
Thats odd. The version i was using before about a year old, worked fine. Weird that it wont now

Joe
Title: Re: Access Forbidden **Help**
Post by: Tranz on August 05, 2005, 04:42:05 PM
Your webhost probably implemented the change since then.