Live Helper Chat support forum.. Forum is locked. New place for questions - Github Discussions

You are not logged in.

Announcement

#1 2013-08-16 13:51:27

Robert Ackert
Member
Registered: 2013-08-16
Posts: 6

PHP Parse error: syntax error, unexpected white space

Hello everyone,

I love livehelperchat. But here is the problem. At the end of the day and I am done with lhc. I got to log off. Sometimes before in the mid day. I will get this error in my apache error log and the login screen goes white.

[Fri Aug 16 00:35:36 2013] [error] [client 209.203.150.10] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/admin/domains/chewbarka.net/public_html/live/cache/cacheconfig/templateCache-.cache on line 580, referer: https://www.chewbarka.net/index.php?main_page=product_info&cPath=18&products_id=49&zenid=61oqk0b744akn292diocnfbls7

Any ideas?





https://groups.google.com/forum/#!topic … rvGJw1I--Q

Offline

#2 2013-08-16 14:08:37

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: PHP Parse error: syntax error, unexpected white space

Hi,

Can you update to recent version or just replace https://github.com/remdex/livehelperchat/blob/master/lhc_web/lib/core/lhtpl/tpl.php this file in your installation. It happens on concurrence requests i think. I have in my plans just update cache storage mechanism to avoid this.


2013/8/16 Robert Ackert <ackert...***.com>

Offline

#3 2013-08-16 15:21:40

Robert Ackert
Member
Registered: 2013-08-16
Posts: 6

Re: PHP Parse error: syntax error, unexpected white space

I did that. I am still running into the problem. I am getting this aswell.

[Fri Aug 16 08:40:02 2013] [error] [client 108.34.165.52] PHP Warning:  Cannot use a scalar value as an array in /home/admin/domains/chewbarka.net/public_html/live/lib/core/lhcore/lhmodule.php on line 195, referer: https://www.chewbarka.net/index.php?main_page=index&cPath=5
[Fri Aug 16 08:40:02 2013] [error] [client 108.34.165.52] PHP Parse error:  syntax error, unexpected T_ENCAPSED_AND_WHITESPACE in /home/admin/domains/chewbarka.net/public_html/live/cache/cacheconfig/templateCache-.cache on line 580, referer: https://www.chewbarka.net/index.php?main_page=index&cPath=5

Offline

#4 2013-08-16 15:27:46

Robert Ackert
Member
Registered: 2013-08-16
Posts: 6

Re: PHP Parse error: syntax error, unexpected white space

I can delete everything and reinstall it that usually fixes it temporarily. But then after a few hours. My error log wont stop.

On Friday, August 16, 2013 7:51:27 AM UTC-4, Robert Ackert wrote:

Offline

#5 2013-08-16 17:11:41

Robert Ackert
Member
Registered: 2013-08-16
Posts: 6

Re: PHP Parse error: syntax error, unexpected white space

Do you have any ideas? I really dont want to switch to a different livehelperchat.

Offline

#6 2013-08-16 18:19:23

Remigijus Kiminas
Administrator
From: Lithuania
Registered: 2012-09-23
Posts: 3,661
Website

Re: PHP Parse error: syntax error, unexpected white space

Hi,

Can you skype me my nick is remdex, i try to help you like actually never happened to me and my suggestion was just from theorically part. As temporary fix you can in settings.ini.php file disable template compile and cache smile


2013/8/16 Robert Ackert <ackert...***.com>

Offline

Board footer