WebSite X5Help Center

 
David B.
David B.
User

Comment Management displays HTML & does not allow user entry...  en

Autor: David B.
Visited 1737, Followers 1, Udostępniony 0  

I created a Comments and Ratings object on myContat page...

When I publish the site the object displays some code:

setCommentsPerPage(3); $gb->setTitle('Contact Eric'); $gb->loadXML(pathCombine(array($imSettings['general']['public_folder'], 'EricSalinComments'))); $gb->showSummary(false); $newMessage = $gb->checkNewMessages(false, '***', 'guestbook', $imSettings['general']['url'] . 'admin/guestbook.php?id=x5gb63'); $gb->showForm(false, false, false, '***', 'guestbook', $imSettings['general']['url'] . 'admin/guestbook.php?id=x5gb63'); $gb->showComments(false, 'asc', false); ?>

... and does not allow any user input.

How can I fix this?

Posted on the
1 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Incomedia
Stefano G.
Incomedia

Hi David,

by checking this code very rapidly I can safely say that your hosting most probably doesn't feature an active PHP version.

This particular type of code is needed to operate Objects such as the comments and rating one.

In order to fix this, you should either check your hosting space for a place where you can activate it manually, or contact your hosting provider's support directly.

Keep me updated on the situation

Thank you

Stefano

Czytaj więcej
Posted on the from Stefano G.