WebSite X5Help Center

 
Smile L.
Smile L.
User

Does not display star rating in the guest book  en

Autor: Smile L.
Visited 2326, Followers 1, Udostępniony 0  

Hello!

After exportingthe projecttodiskand viewit in the browserinsteadof the starsevaluationof the guest bookscriptis displayed:

setCommentsPerPage(10); $gb->setTitle('Contacts'); $gb->loadXML(pathCombine(array($imSettings['general']['public_folder'], ''))); $gb->showRating(); ?>

It had something to dowith the fact that the extensionof the generated filepageforcephpis set?

Many thanks!

XX

Posted on the
7 ODPOWIEDZI - 2 USEFUL - 1 PRAWIDłOWA ODPOWIEDź
Paul M.
Paul M.
Moderator

Hello Smile,

PHP is designed to run on the server.  If you wish to view dynamic pages like the Guestbook on your own computer then you will need to install PHP on your computer in a WAMP or LAMP configuration:

https://en.wikipedia.org/wiki/List_of_Apache–MySQL–PHP_packages

Kind regards,

Paul

Czytaj więcej
Posted on the from Paul M.
Smile L.
Smile L.
User
Autor

Hello!

When you preview the site in the program guestbook is displayed correctly in the form of stars assessment. Why?

Many thanks!

XX

Czytaj więcej
Posted on the from Smile L.
Serg Linds
Serg Linds
User

Site code generated for preview only for PREWIEV it is not production code.

Czytaj więcej
Posted on the from Serg Linds
Smile L.
Smile L.
User
Autor

Thank you. So after placing the website on the server code will be displayed in the right form? Right?

Czytaj więcej
Posted on the from Smile L.
Serg Linds
Serg Linds
User

Yes. If you export site to disk and upload this manually on server.

If you take preview code and upload this will displayed but not work.

Czytaj więcej
Posted on the from Serg Linds
Incomedia
Claudio D.
Incomedia

Hello Smile,

If after uploading the website the guestbook should not appear verify to have PHP support on the webhosting and verify the guestbook settings.

Many thanks!

Czytaj więcej
Posted on the from Claudio D.
Smile L.
Smile L.
User
Autor

Thank you all forthe answers!

Best wishes for the holidays and for prosperity throughout the coming year!

XX

Czytaj więcej
Posted on the from Smile L.