WebSite X5Help Center

 
David B.
David B.
User

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

Autore: David B.
Visite 1733, Followers 1, Condiviso 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?

Postato il
1 RISPOSTE - 1 CORRETTO
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

Leggi di più
Postato il da Stefano G.