[SOLVED] Admin layout messed up. CSS is not working

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
rodeto
Power Poster
Power Poster
Posts: 410
Joined: Thu May 04, 2006 9:12 am

[SOLVED] Admin layout messed up. CSS is not working

Post by rodeto »

For some reason the layout in CSS is all messed up. All of a sudden the style sheets do not load. And this happens in pretty much all of my sites that I made with CMSMS.
Check out for example http://www.vienalis.nl/admin/login.php or http://www.sensana.eu/admin/login.php All the sites itself can be viewed normally but the admin section is totally screwed up without the stylesheets.

Anyone have any solutions or knwos what the problem is ?
Last edited by rodeto on Sat Sep 01, 2007 11:53 am, edited 1 time in total.
________________________________
Je gaat het pas zien als je het doorhebt.
tobik
Translator
Translator
Posts: 149
Joined: Thu Aug 16, 2007 6:18 pm

Re: Admin layout messed up. CSS is not working

Post by tobik »

Dein loginstyle.php spuckt das hier aus:
Warning:  readfile() has been disabled for security reasons in /home/vienalis/public_html/admin/loginstyle.php on line 5
Edit: sorry for german post. It means: "Your loginstyle.php spit out this"
Last edited by tobik on Sat Sep 01, 2007 7:30 pm, edited 1 time in total.
rodeto
Power Poster
Power Poster
Posts: 410
Joined: Thu May 04, 2006 9:12 am

Re: Admin layout messed up. CSS is not working

Post by rodeto »

Mmm, thanks.
No idea where this comes from since I made no changes myself. I'll better get in touch with my host and see if there has been any changes made in PHP settings or somthing like that.
________________________________
Je gaat het pas zien als je het doorhebt.
rodeto
Power Poster
Power Poster
Posts: 410
Joined: Thu May 04, 2006 9:12 am

Re: Admin layout messed up. CSS is not working

Post by rodeto »

Seems that my host made some changes to increase the safety on the server. Turned out it got too safe. He changed it back and it's all working now again.
________________________________
Je gaat het pas zien als je het doorhebt.
SideshowBob
Forum Members
Forum Members
Posts: 80
Joined: Thu Sep 13, 2007 10:50 am

Re: [SOLVED] Admin layout messed up. CSS is not working

Post by SideshowBob »

It seems readfile() is disabled by a number of hosts, one workaround is to replace readfile( with echo file_get_contents(

Readfile() is used in a few different files so be sure to replace them all.

HTH,
Bob
jondrew
Forum Members
Forum Members
Posts: 23
Joined: Thu Apr 03, 2008 9:59 am

Re: [SOLVED] Admin layout messed up. CSS is not working

Post by jondrew »

could you tell me which files have readfile() in?

thanks
Pierre M.

Re: [SOLVED] Admin layout messed up. CSS is not working

Post by Pierre M. »

jondrew wrote: could you tell me which files have readfile() in?
Just extract the CMSms package then use your OS search tools to locate inside it the files containing this string.

Pierre M.
Post Reply

Return to “CMSMS Core”