Zen Cart Logo
Forums / Installing on a Linux/Unix Server / Installation Errors "Unexpected character" "syntax error"

Installation Errors "Unexpected character" "syntax error"

Views: 2,348

Results 1 to 4 of 4
6 Mar 2012, 12:02 AM
#1
thehtmlman avatar

thehtmlman

New Zenner

Join Date:
Mar 2012
Posts:
2
Plugin Contributions:
0

Installation Errors "Unexpected character" "syntax error"

I have uploaded all the files to my server

I am trying to complete the installation buy navigating to zc_install/index.php .

I get a blank page.

I check the log files and discover the fallowing errors:

[05-Mar-2012 23:22:25] PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53
[05-Mar-2012 23:22:25] PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53
[05-Mar-2012 23:22:25] PHP Parse error: syntax error, unexpected T_STRING in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53

Any idea whats going on here?

Thanks.

6 Mar 2012, 12:24 AM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: Installation Errors "Unexpected character" "syntax error"

Looks like all the errors are caused by the same problem, and that problem is a syntax, (coding), error on line 53 of the class.base.php file. Have you tried uploading the file again?

6 Mar 2012, 6:27 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Installation Errors "Unexpected character" "syntax error"

TheHTMLMan:

I have uploaded all the files to my server

I am trying to complete the installation buy navigating to zc_install/index.php .

I get a blank page.

I check the log files and discover the fallowing errors:

[05-Mar-2012 23:22:25] PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53
[05-Mar-2012 23:22:25] PHP Warning: Unexpected character in input: '' (ASCII=92) state=1 in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53
[05-Mar-2012 23:22:25] PHP Parse error: syntax error, unexpected T_STRING in /home/www/sendsafe.info/4glittereyes/store/includes/classes/class.base.php on line 53

Any idea whats going on here?

Thanks.

This error usually means you've got a stray backslash where it isn't expected.

The error is almost certainly NOT in the file specified, namely "class.base.php" (apologies to RescoCCC) but rather, it is to be found in one of the 'editable' files (config files, language files, etc).

Sadly, it isn't always easy to identify exactly which file is causing the problem - Take a good look at any files you have edited, or any input data that you have provided during the install.

Cheers
Rod

6 Mar 2012, 4:39 PM
#4
thehtmlman avatar

thehtmlman

New Zenner

Join Date:
Mar 2012
Posts:
2
Plugin Contributions:
0

Re: Installation Errors "Unexpected character" "syntax error"

thanks guys. i will tinker with it today.

i did not edit any files, i directly uploaded them.