Page 1 of 1

[solved] Can't edit CSS or templates

Posted: Thu Oct 04, 2007 10:03 am
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  :)

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 10:22 am
by tsw
probably mod_security doesnt like some of the content.

Check your server logs.

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 10:32 am
by jimmyE
Thanks but I don't know what you mean??

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 10:45 am
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.

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 11:03 am
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

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 11:14 am
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

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 2:59 pm
by tsw
That is just a notice (and a known bug)

log didnt have anything about mod_security?

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 3:20 pm
by jimmyE
NO

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 4:23 pm
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

::)

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 5:18 pm
by jimmyE
The server has relaxed the security but no difference !

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 8:55 pm
by Dr.CSS
Did you check in Users & Groups > Group Permissions > admin to see if all are ticked?...

Re: Can't edit CSS or templates

Posted: Thu Oct 04, 2007 10:49 pm
by jimmyE
;D Hi thanks man that did it after all that  :D