Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default 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.

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default 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?

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

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

    Quote Originally Posted by TheHTMLMan View Post
    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

  4. #4
    Join Date
    Mar 2012
    Posts
    2
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  2. Error on first page "Unexpected character in input"
    By daz59 in forum General Questions
    Replies: 1
    Last Post: 22 Jul 2009, 05:06 PM
  3. Parse error syntax error unexpected "?"
    By dblack in forum General Questions
    Replies: 1
    Last Post: 25 Feb 2009, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR