quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 04:05:09
Hi Guys I've tried to upgrade a test version of one of my sites (before doing the live version) and run into a problem. The URL is http://superflex.p2net.co.uk. There is quite a bit of custom css in the site - hence the reason for the test version, but the first thing that happened was that I got: Parse error: syntax error, unexpected ''xxTot' (T_ENCAPSED_AND_WHITESPACE), expecting ']' in /home/superflex/public_html/vsadmin/inc/languagefile_en.php on line 537
I can't see any error there so I commented it out and the pages appeared to work, but I can't add anything to the cart and basically it's just not working. Clearly I've done something VERY wrong but I can't see what it is.
I've tried running the update again, and checked for ectcart.js and ectcart.css but it's just the same.
Any ideas?
Eric Lewis
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 04:12:38
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 05:31:13
Hi Andy
Yes, that's what I've got.
Eric
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 06:38:41
That seems a very random line to throw an error. As a quick test if you comment it out //$GLOBALS['xxTotYes']='Total yesterday'; Does that clear things up or does the error move to a new line? Andy Please feel free to review / rate our software
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 06:53:56
Hi Andy
If I comment out that line, the pages load (sort of) but the cart doesn't work example: http://superflex.p2net.co.uk/products.php?cat=11
This is only a test site, so I know a lot of the product images are missing, but it should be functional. I can't even access the control panel. I just get
Parse error: syntax error, unexpected end of file in /home/superflex/public_html/vsadmin/inc/languageadmin.php on line 744
Thanks
Eric
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 06:57:44
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 07:09:44
Hi Andy
It's 7.1
Eric
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 07:20:58
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 07:35:40
Hi Andy
That's all as it should be.
Eric
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 07:53:03
Hi Andy
Actually, the site seems to have refreshed and appears to be working OK with line 537 of the language file commented out.
Except the login doesn't work. I still get
Parse error: syntax error, unexpected end of file in /home/superflex/public_html/vsadmin/inc/languageadmin.php on line 744
Eric
Edited by - quantum503 on 11/14/2018 07:57:26
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 07:59:28
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/14/2018 : 08:29:50
Hi Andy
Sorry, no. The mini cart and mini login bits in the side panel work but I can't seem to add anything to the cart, and I still get the same error on the control panel login.
Eric
|
Andy
ECT Moderator
95440 Posts |
Posted - 11/14/2018 : 08:46:36
|
quantum503
Advanced Member
United Kingdom
230 Posts Pre-sales questions only (More Details...)
|
Posted - 11/15/2018 : 01:05:48
Hi Andy
There's plenty of disk space. I think that something must have got corrupted - I'll roll back and go through the update again - but it might take a while. It's just as well it wasn't the 'live' site.
Eric
|
|
|