Page 1 of 1

version 1.8.2

Posted: Fri Sep 24, 2010 8:46 am
by padster
Hi my php tag was a UDT of a database query now kills my stylesheet. anybody else have this problem

Re: version 1.8.2

Posted: Fri Sep 24, 2010 8:49 am
by NaN
... ???

Re: version 1.8.2

Posted: Fri Sep 24, 2010 8:54 am
by padster
it used to work on version 1.7 or what ever it was but now it just kills it dead

the url is http://webdev.hull-college.ac.uk/index. ... se-finder/
its every php and mysql just kills the styleing any body got any suggestions?

Re: version 1.8.2

Posted: Fri Sep 24, 2010 9:04 am
by NaN
It is not just killing the stylesheets.
There seems to be a fatal php error that is just not displayed.
So turn on error reporting or set $config['debug'] = true in your config.php.

This error causes the CMS to stop rendering the page.
If you look in the HTML source in the borwser you'll see that the head section is missed.
This is usually the case if something that is in the body causes a fatal error or an exit.
(Because the head is processed after the body. Don't ask why. This is needed for some modules/plugins etc. that are placed in the body to be able to insert some stuff in the head section before the page is sent to the browser)

Unfortunately you gave no information about your php script.
So no one can help you.

Re: version 1.8.2

Posted: Fri Sep 24, 2010 12:48 pm
by NaN
Did you really post your DB connection here ?!?
You should change username and passwort as soon as possible now!

::)

Re: version 1.8.2

Posted: Fri Sep 24, 2010 1:49 pm
by padster
yea i am that tired from hammering at this, I am not even paying attention its firewalled but i will change it now

turns out it was a database privalleges with having the same user twice accessing different databases if that makes sense.