Page 1 of 1
[SOLVED] Admin layout messed up. CSS is not working
Posted: Sat Sep 01, 2007 11:17 am
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 ?
Re: Admin layout messed up. CSS is not working
Posted: Sat Sep 01, 2007 11:30 am
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"
Re: Admin layout messed up. CSS is not working
Posted: Sat Sep 01, 2007 11:34 am
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.
Re: Admin layout messed up. CSS is not working
Posted: Sat Sep 01, 2007 11:52 am
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.
Re: [SOLVED] Admin layout messed up. CSS is not working
Posted: Thu Sep 13, 2007 11:06 am
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
Re: [SOLVED] Admin layout messed up. CSS is not working
Posted: Wed May 14, 2008 12:28 am
by jondrew
could you tell me which files have readfile() in?
thanks
Re: [SOLVED] Admin layout messed up. CSS is not working
Posted: Wed May 14, 2008 4:41 pm
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.