WebSite X5Help Center

 
Laszlo M.
Laszlo M.
User

Parse error after updating to version 17  en

Autor: Laszlo M.
Visitado 773, Followers 1, Compartido 0  

After updating to version pro 17.0.4, a page on my website returned the following error:

"Parse error: syntax error, unexpected T_FUNCTION in /home/-www/rovidaru-meteraru.hu/htdocs/rovidaru-meteraru_hu/res/x5engine.php on line 3947".

When opening the page's file in website x5, it was the only file where I couldn't change the page type, which was php, to anything else (the type dropdown menu was disabled). It only contained a product catalog component. If I copy-pasted it to another page, then the other page would return the error as well. However, if I added a new product catalog (and delete the previously copied one), then the page would work.

As of now, I could make it work by making a new html version of the page and readding the content.

Anyway, I think it is a bug, and could happen to other people, so if you know a solution, please tell me.

Thank you

Publicado en
4 RESPUESTAS - 2 úTIL
Asterios Asteriou
Asterios Asteriou
User

I get this after the update.

Parse error
: syntax error, unexpected T_FUNCTION in C:\inetpub\vhosts\monoled.gr\httpdocs\res\x5engine.php on line 2015

Leer más
Publicado en de Asterios Asteriou
Einar W.
Einar W.
User

I think this a bug too.

I have no access to the domain setup of my provider and the only way for me to get this to work right now, is to revert to older versions og websitex5. 

At least there should be a setting inside the Data management tab for using the "old" PHP scripts..

Website X5 is about making websites the easy way and this is just an irritating obstacle in the road IMHO.

Leer más
Publicado en de Einar W.
Esahc ..
Esahc ..
Moderator

Einar, it sounds like you need to contact your host if you cannot make the change to upgrade PHP though either plesk or cpanel.

Leer más
Publicado en de Esahc ..