Does not display star rating in the guest book
Author: Smile L.
Visited 2280,
Followers 1,
Shared 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
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
Author
Hello!
When you preview the site in the program guestbook is displayed correctly in the form of stars assessment. Why?
Many thanks!
XX
Site code generated for preview only for PREWIEV it is not production code.
Author
Thank you. So after placing the website on the server code will be displayed in the right form? Right?
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.
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!
Author
Thank you all forthe answers!
Best wishes for the holidays and for prosperity throughout the coming year!
XX