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 denied for admin.php  (Read 5302 times)

0 Members and 1 Guest are viewing this topic.

Tessie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Access denied for admin.php
« on: August 14, 2006, 04:46:42 am »

Yes, I know this has been asked before, but no one seems to have the same problem: Yes...I searched through the topics, and tried the stuff, like changing the permissions, but that didn't work.  I can get to my Config page just fine; it's only when I click "save new configuration" that I get this message.:

Forbidden
You don't have permission to access /gallery/admin.php on this server.

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


I've used Coppermine before without this problem....so what's up with this?  I'm using 1.4.2, if that matters.
« Last Edit: August 16, 2006, 07:33:49 am by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Access denied for admin.php
« Reply #1 on: August 14, 2006, 04:58:10 am »

Try renaming admin.php to something else... your webhost might have some prohibition.

Upgrade to 1.4.8, which has several security fixes since your version.
Logged

Tessie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Access denied for admin.php
« Reply #2 on: August 14, 2006, 05:06:14 am »

I renamed it, but in which files would I have to change the name?  I looked around, but there's entirely too many to go through all of them.

And if I access it directly from the brower, replacing admin with the renamed file, it still gives me the same error message.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Access denied for admin.php
« Reply #3 on: August 14, 2006, 07:32:26 am »

Did you upgrade as Thu suggested?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Access denied for admin.php
« Reply #4 on: August 14, 2006, 07:38:11 am »

post a link to your gallery....

could be a some security setting by your webhost:
http://forum.coppermine-gallery.net/index.php?topic=32372.msg151032#msg151032
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Tessie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Access denied for admin.php
« Reply #5 on: August 15, 2006, 04:16:20 am »

The link to my gallery is here.

And I tried updating to 1.4.8 by overwriting the other files, but I'm not sure that worked  :-\  How am I supposed to know it changed? (Probably didn't...)
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Access denied for admin.php
« Reply #6 on: August 15, 2006, 05:24:44 am »

As Thu (TranzNDance) suggested :
Try to rename admin.php to something else (foobar.php) and then manualy brwose it and push the save new configuration button
if renaming didn't work for you then ask your web host about security mod and pattern matching
« Last Edit: August 15, 2006, 06:04:36 am by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Tessie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Access denied for admin.php
« Reply #7 on: August 15, 2006, 06:02:27 am »

I did try the rename thing; didn't work

But before I ask my host: I'm not sure if anyone would know, but I have a reseller, and the domain that the gallery is hosted on is one I set up from my WebHost Manager - perhaps I'd have to set some sort of permissions on my CPanel from there?  Could that be it?  --- should probably just ask my host this, but...maybe I'm missing something...
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Access denied for admin.php
« Reply #8 on: August 15, 2006, 07:05:58 am »

You said you had Coppermine working before without a problem. Is it with this gallery? If so, maybe your host changed something?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Access denied for admin.php
« Reply #9 on: August 15, 2006, 07:34:56 am »

You haven't upgraded, you're still running cpg1.4.2. Make sure that your FTP app is set up to actually overwrite existing files.
Logged

Tessie

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Access denied for admin.php
« Reply #10 on: August 16, 2006, 03:39:35 am »

Edited to say that everything is fine now; my host disabled some sort of security issue....

Alright, it should be upgraded now.  I just deleted the old gallery and installed a new one.

I've used my host before to host a Coppermine gallery, but it wasn't this exact same gallery, nor the same site, so they may have changed something.  I've asked my host now if they knew what was wrong.

Thanks.
« Last Edit: August 16, 2006, 05:40:34 am by Tessie »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Access denied for admin.php
« Reply #11 on: August 19, 2006, 07:00:20 am »

In the future, please reply to the thread instead of editing the post if there's an update. If people read your last message, they're not going to know that there's an update.
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.