WebSite X5Help Center

 
David B.
David B.
User

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

Author: David B.
Visited 1434, Followers 1, Shared 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 ANSWERS - 1 CORRECT
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

Read more
Posted on the from Stefano G.