Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member Zboost's Avatar
    Join Date
    Apr 2011
    Location
    Houston
    Posts
    246
    Member #
    27459
    Liked
    20 times
    Never got this before.

    HTML Code:
    Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/-----/public_html/index.php on line 14
    
    Parse error: syntax error, unexpected T_STRING in /home/-----/public_html/index.php on line 14
    Reffering to:


    PHP Code:
    //Connect and select database.
    \System\Core\DBConnect::connect("????"); 
    Any Ideas? Every static call I have says this, only when I upload to server. Different versions of PHP? I did not check yet had to leave for work. Any response would be appreciated, thanks guys.

    PS. I checked all my slashes and and stuff there is no unexpected slashes or opening and closing brackets.

  2.  

  3. #2
    Senior Member Zboost's Avatar
    Join Date
    Apr 2011
    Location
    Houston
    Posts
    246
    Member #
    27459
    Liked
    20 times
    I am just going to assume it is due to my host having 5.2 and I am using 5.3, which I believe calls using namespaces are throwing these errors. I will edit and modify when I am 100%.

    Updated: silly me! Was indeed version mismatch from local to host.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:46 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com