CSS in backend doesn't load
CSS in backend doesn't load
I have seen several post about this but no solution seems to way for me.
The frontend works fine but I have several problems with the backend, my main one at the moment the one I don’t seem to get solved is that the CSS of the backend doesn’t load (see attached).
It all seemed to start after I upgraded from version to 1.11.7 and upgraded to version 1.11.8, upgrading to version 1.11.9 and later 1.11.10 doesn’t seem to solve the problem. It runs on a server which has PHP 5.3
Does anyone know how I get CSS to load in the backend again, I badly need to get it working as I miss functionality now.
Thanks
Hans
The frontend works fine but I have several problems with the backend, my main one at the moment the one I don’t seem to get solved is that the CSS of the backend doesn’t load (see attached).
It all seemed to start after I upgraded from version to 1.11.7 and upgraded to version 1.11.8, upgrading to version 1.11.9 and later 1.11.10 doesn’t seem to solve the problem. It runs on a server which has PHP 5.3
Does anyone know how I get CSS to load in the backend again, I badly need to get it working as I miss functionality now.
Thanks
Hans
Re: CSS in backend doesn't load
I have seen this happen. It was because the browser was caching the CSS from the previous versions. Force your browser cache to empty then it should show properly.hansnz wrote:It all seemed to start after I upgraded
Re: CSS in backend doesn't load
That could also be the consequence of a php error. If paulbaker's suggestion doesn't fix it you may have to set CMSMS in debug mode to see if an error comes up.
Check http://docs.cmsmadesimple.org/troubleshooting/tips.
Check http://docs.cmsmadesimple.org/troubleshooting/tips.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: CSS in backend doesn't load
Thank you Paul, I tried already clearing the cache, even another browser. No luck.paulbaker wrote:I have seen this happen. It was because the browser was caching the CSS from the previous versions. Force your browser cache to empty then it should show properly.hansnz wrote:It all seemed to start after I upgraded
Re: CSS in backend doesn't load
Something very funny is happening, with debugging on everything looks fine. When I turn debugging off (false) the layout is gone again.Jo Morg wrote:That could also be the consequence of a php error. If paulbaker's suggestion doesn't fix it you may have to set CMSMS in debug mode to see if an error comes up.
Check http://docs.cmsmadesimple.org/troubleshooting/tips.
I see no errors in the debugging on.
Anybody any idea what may cause this?
Thanks
Re: CSS in backend doesn't load
Please post more info: http://docs.cmsmadesimple.org/troublesh ... nformation and as much detailed data as possible. Additionally check CMSMS admin logs if possible and see you have access to the server PHP error logs. Hidden in the HTML source may also be a hint. Without some more information there is not much we can do to help. System info is important.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: CSS in backend doesn't load
Thank you all so far,
I still struggle with this problem, I notice two errors but don’t seem able to solve it:
Request URL:http://gonatural.co.nz/admin/login.php
Request Method:GET
Status Code:500 Internal Server Error
And
Request URL:http://gonatural.co.nz/admin/loginstyle.php
Request Method:GET
Status Code:500 Internal Server Error
I get the same on sitemaps.xml according to Google.
I wonder if it has something to do with very complicated .htaccess file the webdesigner build.
To be sure I attached it, maybe you guys completely understand it and see a mistake. Note cmsms is installed in the /cms folder.
Thanks
I still struggle with this problem, I notice two errors but don’t seem able to solve it:
Request URL:http://gonatural.co.nz/admin/login.php
Request Method:GET
Status Code:500 Internal Server Error
And
Request URL:http://gonatural.co.nz/admin/loginstyle.php
Request Method:GET
Status Code:500 Internal Server Error
I get the same on sitemaps.xml according to Google.
I wonder if it has something to do with very complicated .htaccess file the webdesigner build.
To be sure I attached it, maybe you guys completely understand it and see a mistake. Note cmsms is installed in the /cms folder.
Thanks
- Attachments
-
[The extension txt has been deactivated and can no longer be displayed.]
Re: CSS in backend doesn't load
I'm curious: what happens if you change this lines?: to
Code: Select all
# CMSMS Settings
RewriteBase /cms
Code: Select all
# CMSMS Settings
# RewriteBase /cms
RewriteBase /
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: CSS in backend doesn't load
It looks like you are using the servers redirect/subdomain to get the site to use gonatural.co.nz/admin/ URL when it is in a subfolder, either take it out of the subfolder and remove the RewriteBase /cms from the htaccess or stop using whatever server redirect you have going on...
It always works best if you have CMSMS in your root if you don't want the subfolder part in your URL...
It always works best if you have CMSMS in your root if you don't want the subfolder part in your URL...
Re: CSS in backend doesn't load
I moved our website to the root folder and adjusted the htaccess.
The website is still going but still the same problem with the admin site (both error 500's)
Any more ideas?
Cheers
Hans
The website is still going but still the same problem with the admin site (both error 500's)
Any more ideas?
Cheers
Hans
Re: CSS in backend doesn't load
If you moved it and fixed the path in the htaccess I would look at the config.php to make sure it doesn't have any hard coded paths to the admin or subfolder then go to system maintenance page > Cache and content tab and hit all 3 buttons from top to bottom...
Re: CSS in backend doesn't load
Thank you DR.CSS,
I checked the config.php and I don't see a reference to the admin part, but I put my content below (stared out some details).
I pressed the three buttons "cache and content", same result.
Anybody any more ideas?
Thanks
Hans
--- config.php ---
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = '******';
$config['db_username'] = '******';
$config['db_password'] = '******';
$config['db_name'] = '******';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Pacific/Auckland';
$config['root_url'] = 'http://gonatural.co.nz';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '/';
#$config['debug'] = true;
?>
I checked the config.php and I don't see a reference to the admin part, but I put my content below (stared out some details).
I pressed the three buttons "cache and content", same result.
Anybody any more ideas?
Thanks
Hans
--- config.php ---
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = '******';
$config['db_username'] = '******';
$config['db_password'] = '******';
$config['db_name'] = '******';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'Pacific/Auckland';
$config['root_url'] = 'http://gonatural.co.nz';
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '/';
#$config['debug'] = true;
?>
Re: CSS in backend doesn't load
Not sure what the cause of your problems is, but given your situation I would probably be commenting out every line in your htaccess. (And the url_rewriting and page_extension lines in config.php). If it works, uncomment every line back in until it doesn't work. A process of elimination, in other words.
What version did you upgrade from?
What version did you upgrade from?
Re: CSS in backend doesn't load
Thank you Peter,
I renamed the .htaccess file and marked out url_rewriting and page_extension lines in config.php, but still the same error 500 to load the css (loginstyle.php) of the admin console.
I notice that a lot is nested in the login.php, in which php exactly is the loginstyle.php calles for the admin console? Maybe I should point it straight to the css file.
Thanks all so far,
Hans
I renamed the .htaccess file and marked out url_rewriting and page_extension lines in config.php, but still the same error 500 to load the css (loginstyle.php) of the admin console.
I notice that a lot is nested in the login.php, in which php exactly is the loginstyle.php calles for the admin console? Maybe I should point it straight to the css file.
Thanks all so far,
Hans
Re: CSS in backend doesn't load
What version did you upgrade from?
How did you upgrade - using FTP to upload the files?
Post your system info, as Jo Morg asked.
How did you upgrade - using FTP to upload the files?
Post your system info, as Jo Morg asked.