Zen Cart Logo
Forums / General Questions / Parse error: syntax error, unexpected T_VARIABLE

Parse error: syntax error, unexpected T_VARIABLE

Locked

Views: 3,406

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
19 Aug 2006, 8:48 AM
#1
harlyman avatar

harlyman

Zen Follower

Join Date:
Jan 2004
Posts:
100
Plugin Contributions:
1

Parse error: syntax error, unexpected T_VARIABLE

after security upgrade i got this error on my webshop:

Parse error: syntax error, unexpected T_VARIABLE in /home/1/s/user/includes/application_top.php on line 76

not sure why i got it but have removed all changes in that file but its still there.

19 Aug 2006, 8:58 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Parse error: syntax error, unexpected T_VARIABLE

You've made some errors earlier in the file.

Perhaps you might grab the original version from the master Zen Cart ZIP file?

Also, do not edit the file directly on the server. Use a code-editing program on your PC, as mentioned at the bottom of the patch notice.