[solved] Permission to editcss.php

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
zeroslotm

[solved] Permission to editcss.php

Post by zeroslotm »

Hi guys!
I'm new to CMS Made Simple and I've been looking for the solution to my problem everywhere... I'm trying to modify CSS of the theme that I'm using (andreas01) and when I try to save the changes that I've made in CSS (in Layout -> Stylesheets), I get the following error:
Forbidden
You don't have permission to access /admin/editcss.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
It's interesting that I can edit template (Layout - Templates - Edit template) and save it, but cannot save the modifications that have been made to CSS. Both files (editcss.php and edittemplate.php) have the same permissions.

Where is the problem?

Thank you very much !
Last edited by zeroslotm on Wed May 09, 2007 1:03 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Permission to editcss.php

Post by tsw »

check that you have permission to that file (755 for example)

and check server logs.

and check if you have mod_security enabled, mod_security has a bad habit of disallowing some changes..
zeroslotm

Re: Permission to editcss.php

Post by zeroslotm »

Well, I've tried the 755 and it still doesn't work.

As for mod_security, I must ask my web host because I don't have the direct access to server. I have one question...where is the CSS file of the template located on the server (normally you would find it smth like /cms_system/templates/template_name/css or something)? I've looked almost everywhere and I didn't find it.

Thanx
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Permission to editcss.php

Post by tsw »

css is saved in the database like everything else.

if you have access to server logs you should be able to see if mod_security is to blame here
zeroslotm

Re: Permission to editcss.php

Post by zeroslotm »

Thanks !!! I've modified the template directly through phpMyAdmin ;)
Locked

Return to “Layout and Design (CSS & HTML)”