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: Access Forbidden **Help**  (Read 6385 times)

0 Members and 1 Guest are viewing this topic.

porcupinepc

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • http://www.porcupinepc.com/forums
Access Forbidden **Help**
« 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Access Forbidden **Help**
« Reply #1 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

porcupinepc

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • http://www.porcupinepc.com/forums
Re: Access Forbidden **Help**
« Reply #2 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Access Forbidden **Help**
« Reply #3 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?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

porcupinepc

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • http://www.porcupinepc.com/forums
Re: Access Forbidden **Help**
« Reply #4 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Access Forbidden **Help**
« Reply #5 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

porcupinepc

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
    • http://www.porcupinepc.com/forums
Re: Access Forbidden **Help**
« Reply #6 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Access Forbidden **Help**
« Reply #7 on: August 05, 2005, 04:42:05 pm »

Your webhost probably implemented the change since then.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 19 queries.