1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Parse error: syntax error, unexpected T_OBJECT_OPERATOR

Discussion in 'Installation, Upgrade, and Import Support' started by onthefly, Oct 21, 2010.

  1. onthefly

    onthefly Active Member

    I having problems after uploading new files to server for upgrade, any ideas?

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /nfs/c07/h02/mnt/*****/domains/flytyingbug.com/html/install/index.php on line 8
     
  2. Floris

    Floris Guest

    You loading it while it's still uploading?
     
  3. onthefly

    onthefly Active Member

    All files are uploaded, then try install, then get error
     
  4. Floris

    Floris Guest

    And you're sure you've overwritten the existing files, and didn't resume/skip any?
    What OS are you on, which PHP version?
     
  5. Mike

    Mike XenForo Developer Staff Member

    I'd recommend reuploading the install/index.php file in particular, ensuring that it's overwritten. To be safe, I'd reupload everything.
     
  6. onthefly

    onthefly Active Member

    Yes, OS and PHP are all current, as I purchased a new server just for this software are finding out my other one wouldn't work! This is a upgrade, not a new install and I have already had the xenforo working ! No skipped files, perfect upload through filezila!
     
  7. onthefly

    onthefly Active Member

    From the original install, I installed it in the root folder if that means anything?
     
  8. onthefly

    onthefly Active Member

    I uploaded the entire install folder, same error.
     
  9. onthefly

    onthefly Active Member

    Nope, i re uploaded all files again, same thing!
     
  10. onthefly

    onthefly Active Member

    this is line 8,

    XenForo_Autoloader::getInstance()->setupAutoloader($rootPath . '/library');
     
  11. Blandt

    Blandt Well-Known Member

    would you link us to the site :)
     
  12. onthefly

    onthefly Active Member

  13. Mike

    Mike XenForo Developer Staff Member

    I don't think that file even changed between beta 1 and 2 - and the line in question is identical to one in index.php in the root directory.

    What are the entire contents of install/index.php?
     
  14. Mike

    Mike XenForo Developer Staff Member

    What's the PHP version as well?
     
  15. onthefly

    onthefly Active Member

    It seems to be fixed, upgrading right now, I'll keep you posted. :rolleyes: For some reason the PHP version was switched form 5 to 4 durring the upgrade is that possible? Weired? Anyway thanks for the support guys! :)
     
  16. onthefly

    onthefly Active Member

    I that possible? I dont know why that site was put back to PHP4 when it was in PHP5 from the get go?
     
  17. Blandt

    Blandt Well-Known Member

    if Apache loaded the older php.ini then it is possible
     
    onthefly likes this.

Share This Page