Tony DA SILVA Posted August 17, 2007 Posted August 17, 2007 Hello, If I edit a product, and after making some changes, I and make a preview and a update, I get this error message and nothing change. "Forbidden You don't have permission to access /admin/categories.php on this server." I alreagy have all permissions 0777 on categories.php Do someboddy know what is this problem. Thanks for the help
web-project Posted August 17, 2007 Posted August 17, 2007 try to put permission/chmod 777 or 755 instead of 0777. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
chrisptx Posted August 17, 2007 Posted August 17, 2007 Hello, If I edit a product, and after making some changes, I and make a preview and a update, I get this error message and nothing change. "Forbidden You don't have permission to access /admin/categories.php on this server." I alreagy have all permissions 0777 on categories.php Do someboddy know what is this problem. Thanks for the help Do you have the admin directory password protected on your website?
Tony DA SILVA Posted August 17, 2007 Author Posted August 17, 2007 Do you have the admin directory password protected on your website? Hi Chris, Thanks for the answer Not yet I just tried with a basic version of my shop
Tony DA SILVA Posted August 17, 2007 Author Posted August 17, 2007 Do you have the admin directory password protected on your website? Hi, I tried to set 777 the result still be the same
Tony DA SILVA Posted August 17, 2007 Author Posted August 17, 2007 try to put permission/chmod 777 or 755 instead of 0777. sorry Hi, I tried to set 777 the result still be the same
Tony DA SILVA Posted August 18, 2007 Author Posted August 18, 2007 I have the solution If in the description of a product your write SET or a word with SET inside (example set or xxxset or xxxxsetxxxx or "set") and if you edit the product, and after making some changes, you make a preview and a update, you will get this error message and nothing change. "Forbidden You don't have permission to access /admin/categories.php on this server." you have to banish (set) in the product page I would like to know if other user of oscommerce have the same problem.
silvervirtual Posted August 28, 2007 Posted August 28, 2007 Guys, I am having the same problem - I couldn't edit anything till I came across this Guess what? The last product I added before this started to happen was a "SET top box". Spooky hey? So I changed the product to STB instead and from them on I could edit a few more things but I still get.... You don't have permission to access /admin/define_mainpage.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.37 Server at www.skunkworks.com.au Port 80 On almost every type of edit I try to do. Any ideas - please email me.... [email protected]
optix.it Posted November 28, 2007 Posted November 28, 2007 I got exactly the same problem. Tried to add paypal script and now gets Forbidden You don't have permission to access /admin/categories.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.37 Server at www.maxpassion.co.za Port 80 I set CMOD in admin to 755 777 as well as admin/catagories.php Nothing changed. Im stuck. Please help!!!
germ Posted November 28, 2007 Posted November 28, 2007 If you've been doing the permission changes via FTP, try using your site's Control Panel (provided by your Webhost) instead. FTP won't work 100% of the time. If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
lanxu Posted October 5, 2008 Posted October 5, 2008 I have the solution If in the description of a product your write SET or a word with SET inside (example set or xxxset or xxxxsetxxxx or "set") and if you edit the product, and after making some changes, you make a preview and a update, you will get this error message and nothing change. "Forbidden You don't have permission to access /admin/categories.php on this server." you have to banish (set) in the product page I would like to know if other user of oscommerce have the same problem. This happens because your server have a security module enabled for Apache. It's called mod_security and can be turned off fully or partially with .htaccess file. In this case mod_security tries to prevent mysql injections and that's why you get permission denied message. More here: http://www.askapache.com/htaccess/mod_secu...ess-tricks.html It can be fully disabled by adding following lines to .htaccess (DANGEROUS): SecFilterEngine Off SecFilterScanPOST Off
ipman Posted February 15, 2009 Posted February 15, 2009 hi, Sir : I had same problem as yours at oscommerce, when I add new product, it show that " You don't have permission to access /admin/categories.php on this server. " I search , found that , you have this same problem, and then , someone post list the solution as : This happens because your server have a security module enabled for Apache. It's called mod_security and can be turned off fully or partially with .htaccess file. In this case mod_security tries to prevent mysql injections and that's why you get permission denied message. More here: http://www.askapache.com/htaccess/mod_secu...ess-tricks.html It can be fully disabled by adding following lines to .htaccess (DANGEROUS): SecFilterEngine Off SecFilterScanPOST Off http://www.oscommerce.com/forums/index.php?showtopic=273521 so, I am not expert of osC, so please someone can help us to solve this problem ~??? This happens because your server have a security module enabled for Apache. It's called mod_security and can be turned off fully or partially with .htaccess file. In this case mod_security tries to prevent mysql injections and that's why you get permission denied message. More here: http://www.askapache.com/htaccess/mod_secu...ess-tricks.html It can be fully disabled by adding following lines to .htaccess (DANGEROUS): SecFilterEngine Off SecFilterScanPOST Off
ipman Posted February 17, 2009 Posted February 17, 2009 Dear all : when I add new product at OSC, it show that " You don't have permission to access /admin/categories.php on this server. ", It happened last week, but it still allow edit those old data inside OSC, by the way, our OSC hosting at other Hosting web site, can we solve this problem by ?? brs, ~~ iPMan ~~
drofe Posted June 20, 2012 Posted June 20, 2012 I've just encountered this message when adding a new product to a shop that has otherwise been working fine for some time. The word mod_security didn't like in my case turned out to be casino. I was pleased to find an explanation and fix here.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.