No permission to acces categories No permission to acces categories
 

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]

Main Menu

No permission to acces categories

Started by mtbnico, September 28, 2006, 01:50:40 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mtbnico

Helo,
I'm new to this forum and installed a few days ago coppermine 1.4.9

Here's the link.
http://www.mtbnico.be/fotoalbum

What I would like to do is

Make 2 categories

Categorie A
Categorie B

dees have then some subcategories (if this is possible) with albums in it.
Something like this.

MtbNico (catA)
-> Marathons (subcat)
   -> Dolomiti Superbike (album)
   -> Spessart Bike Marathon (album)
-> XC (subcat)
   -> 3h Duo XC Xoffraix (album)


I don't know if this is possible, maybe without the subcat's...
But when I wan't to edit the categorie "User Galleries"  (change cat name and discription) and press "edit/crieer" I get following message...



Forbidden
You don't have permission to access /fotoalbum/catmgr.php on this server.

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

Nibbler

Check if your host is using mod_security. If so they need to adjust the rules.

mtbnico

and where can I find if my host is using mod_security Nibble?

Should I find it in one of the directory's?

Sami

‍I don't answer to PM with support question
Please post your issue to related board

mtbnico

There not answering for the moment and I really want to move on.
Is there another way to create categories?

Or what dus Nibbler mean by
"If so they need to adjust the rules."


Grtz Nico

Nibbler

Some hosts have mod_security set to block requests that contain linux commands for security reasons. Since `cat` is a linux command it can be blocked by some hosts. This obviously interferes with the valid operation of a category manager. See http://forum.coppermine-gallery.net/index.php?topic=15741.0 for a workaround.

mtbnico

I got an answer from my host and I do have mod_security on my server.

I looked at the topic that you suggested.

But, I don't really understand what I have to do.

I changed the catmgr.php into something else. (if that is wat the topic suggest)
but when I click on categories in my album it says that the catmgt.php is gone...

Can you perhaps explain (step by step  ;D ) what I have to do.

Many thx Nico

Joachim Müller

Quote from: mtbnico on October 02, 2006, 10:18:07 PM
I changed the catmgr.php into something else. (if that is wat the topic suggest)
but when I click on categories in my album it says that the catmgt.php is gone...
That was to be expected. When changing a file name, you will of course either have to change the navigation to reflect the name change or you will have to access the changed file name manually (address bar of the browser).
However, the thread Nibbler refered to did not suggest to just change the file name (e.g. from catmgr.php to foobar.php), so you should undo your changes and ask your webhost for support instead: make them re-consider their hardening patch.