WebSite X5Help Center

 
Laszlo M.
Laszlo M.
User

Parse error after updating to version 17  en

Autor: Laszlo M.
Visitado 743, Seguidores 1, Compartilhado 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 em
4 RESPOSTAS - 2 ÚTEIS
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

Ler mais
Publicado em 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.

Ler mais
Publicado em 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.

Ler mais
Publicado em de Esahc ..