phpMyFAQ does not display properly

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
jayson
Posts: 2
Joined: Tue Feb 27, 2007 10:53 pm
Location: St Catharines

phpMyFAQ does not display properly

Post 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.
david_de
Posts: 72
Joined: Tue Dec 13, 2005 12:09 am

Post by david_de »

The CSS is not working.
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post 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
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
jayson
Posts: 2
Joined: Tue Feb 27, 2007 10:53 pm
Location: St Catharines

Fixed it!

Post 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
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

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

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply