WebSite X5Help Center

 
Smile L.
Smile L.
User

Does not display star rating in the guest book  en

Автор: Smile L.
Просмотрено 2327, Подписчики 1, Размещенный 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

Размещено
7 Ответы - 2 Полезно - 1 Корректно
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

Читать больше
Размещено От Paul M.
Smile L.
Smile L.
User
Автор

Hello!

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

Many thanks!

XX

Читать больше
Размещено От Smile L.
Serg Linds
Serg Linds
User

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

Читать больше
Размещено От Serg Linds
Smile L.
Smile L.
User
Автор

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

Читать больше
Размещено От 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.

Читать больше
Размещено От 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!

Читать больше
Размещено От Claudio D.
Smile L.
Smile L.
User
Автор

Thank you all forthe answers!

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

XX

Читать больше
Размещено От Smile L.