[solved] Can't edit CSS or templates

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
jimmyE

[solved] Can't edit CSS or templates

Post by jimmyE »

Hi I just installed it and am verry impresed beter than joomla I can't edit the templates or the CSS I get 403 forbidden it might be permisions but I don't know what files to set

Any help would be nice  :)
Last edited by jimmyE on Thu Oct 04, 2007 10:50 pm, edited 1 time in total.
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Can't edit CSS or templates

Post by tsw »

probably mod_security doesnt like some of the content.

Check your server logs.
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

Thanks but I don't know what you mean??
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Can't edit CSS or templates

Post by tsw »

mod_security scans all the incoming data to the server and if it finds something that might be harmfull (like '; drop database') it will block it the query. The idea is good, but some servers set the rules so tight that you cannot send a string that has legitimate strings (like 'if you want to continue press here')

Apache / mod_security log will tell you if it was mod_security blocking (and which rule was used to block the query).

Then ask your hosting provider to loosen up the rules a bit so that you can change the content on your site.
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

OK thanks that might take a long time and maybe not hapen.

Could their be any other reason why it wont let us edit
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

We found this in a log is it what we are looking for?

[Thu Oct 04 00:51:07 2007] [error] [client 213.233.150.144] PHP Notice:  Use of undefined constant CMS_VERSION - assumed 'CMS_VERSION' in /srv/www/userweb50579/html/lib/adodb_lite/adodb.inc.php on line 2
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Can't edit CSS or templates

Post by tsw »

That is just a notice (and a known bug)

log didnt have anything about mod_security?
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

NO
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

I can access the datadase with phpMyAdmin and have edited the template and when I look at it in cms admin it is ok but when I call the page from the browser their is no change what am I missing.

UPDATE
A I changed templates in the admin and then changed back again and it worked

Don't know if I should put solved on this or not still don't know why I cant edit from admin

::)
Last edited by jimmyE on Thu Oct 04, 2007 4:29 pm, edited 1 time in total.
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

The server has relaxed the security but no difference !
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Can't edit CSS or templates

Post by Dr.CSS »

Did you check in Users & Groups > Group Permissions > admin to see if all are ticked?...
jimmyE

Re: Can't edit CSS or templates

Post by jimmyE »

;D Hi thanks man that did it after all that  :D
Last edited by jimmyE on Thu Oct 04, 2007 10:51 pm, edited 1 time in total.
Locked

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