Page 1 of 1

phpMyFAQ does not display properly

Posted: Tue Feb 27, 2007 11:04 pm
by jayson
I am setting up a FAQ for Brock University in Canada @ http://www.brocku.ca/brockfaqs and well you can have a look, it does not look right at all.

I am looking at the page source and it seems like it has added extra characters that render the page useless, here is a snippet...

<div class="\"centerpadding\"">
<div id="\"main\"" class="\"main-content\"">
<div id="\"news\"">
<h2>
phpMyFAQ News
<a target="\"_blank\"" href="\"feed/news/rss.php\"">
<img width="28" height="16" alt="\"RSS\"" src="\"images/rss.png\""/>
</a>
</h2>
No news is good news.
<p align="\"center\"">There are 0 records online</p>


I have also checked the system requirements and they all check out.

The best idea I have right now is that the index.tpl is causing errors, maybe the Webserver is having problems with the xhtml, i dont know.

I am running Apache under redhat.

Thanks guys,
I am really stuck on this one.

Posted: Wed Feb 28, 2007 12:49 am
by david_de
The CSS is not working.

Posted: Wed Feb 28, 2007 8:21 am
by Thorsten
Hi,

the template looks good: http://www.brocku.ca/brockfaqs/template/index.tpl

But why do you have backslashes everywhere??? It's destroying the layout. Can you show me your phpinfo()?

bye
Thorsten

Fixed it!

Posted: Wed Feb 28, 2007 8:28 pm
by jayson
Thorsten wrote:Hi,

the template looks good: http://www.brocku.ca/brockfaqs/template/index.tpl

But why do you have backslashes everywhere??? It's destroying the layout. Can you show me your phpinfo()?

bye
Thorsten

So I figured it out..

What was happening was all the quotes have been escaped, even the quotes in html tags.

I disabled magic_quotes_runtime and now its looking like it should.

Thanks

Posted: Wed Feb 28, 2007 8:31 pm
by Thorsten
Hi,

okay.... I try to write a fix to avoid this.

bye
Thorsten