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

XF suddenly stopped working... Fatal error: Exception thrown without a stack frame

Discussion in 'Troubleshooting and Problems' started by RobParker, Jul 22, 2011.

  1. RobParker

    RobParker Well-Known Member

    My test install of XF was working absolutely fine earlier today and no changes have been made to it but it's now broken.

    I'm now getting either a blank screen or this error on every page: Fatal error: Exception thrown without a stack frame in Unknown on line 0

    It is open for posting by my mods so new posts would be the only difference. No one else has access to any settings/files.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Are you able to navigate directly to the ACP and check the server error logs?
     
  3. RobParker

    RobParker Well-Known Member

    It was on every page including the ACP.

    Strangely it's just come back on it's own after refreshing for 10 minutes and nothing seems out of place. No entries in the error logs, etc.

    I'd have thought it was some kind of server hiccup but none of my other sites on the server were affected.
     
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Can you run a file health check just to make sure all of the files are as expected?
     
  5. RobParker

    RobParker Well-Known Member


    1. library/XenForo/Template/Compiler/Tag/Avatar.php File does not contain expected contents.

    2. library/XenForo/Template/Compiler/Tag/Username.php File does not contain expected contents.

    3. library/XenForo/Template/Compiler/Tag/Admin/Abstract.php File does not contain expected contents.

    4. library/XenForo/Template/Helper/Admin.php File does not contain expected contents.

    5. library/XenForo/Model/Permission.php File does not contain expected contents.
     
  6. RobParker

    RobParker Well-Known Member

    Replaced them all and the Template ones are all fixed. Permission.php is still showing but that's been there since I upgraded to 1.0.4 and deleting it and reuploading doesn't make any difference.
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Try downloading the .zip file again from your customer area.

    Then upload the file from the new .zip and run the check again.
     
  8. RobParker

    RobParker Well-Known Member

    No difference.
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

    So it's still reporting the Permission.php file as erroneous?
     
  10. RobParker

    RobParker Well-Known Member

    Yep

    It has been since I upgraded though. The other "unhealthy" files were new issues which reuploading has fixed.
     
  11. Brogan

    Brogan XenForo Moderator Staff Member

    Assuming you're on 1.0.4, can you try this file?

    Can you also upload yours so I can check it against my local install?

    [File removed]
     
  12. RobParker

    RobParker Well-Known Member

    Yours gives me the same health-check warning.

    My file attached

    [File removed]
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Well that works fine for me, so it may be a problem with the hash.

    Just trying to find out where they're stored so we can check.

    Edit: Can you upload your \library\XenForo\Install\Data\FileSums.php file?
     
  14. RobParker

    RobParker Well-Known Member

    Attached

    [File removed]
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    That all looks OK too.

    Hmmm, interesting.

    Let me check a few more things.

    (P.S. I removed the uploaded files.)
     
  16. RobParker

    RobParker Well-Known Member

    If it makes any difference I'm downloading/unzipping these on a mac and uploading via Transmit. None of the other files show any problems so I doubt it's that.

    Also I think this is all probably unrelated to my initial problem but would be nice to get to the bottom of :)
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    I was just about to ask which FTP application you use.
    A few people have had problems with Transmit.

    Are you able to to try a different application, just to rule it out?
     
  18. Wuebit

    Wuebit Well-Known Member

    Can you get filezila on a mac? if so try that its the best ftp client on windows for sure.. sounds like your uploading broken files..
     
  19. RobParker

    RobParker Well-Known Member

    I don't see how that's possible, if it was broken when I uploaded it, how did it fix itself when I downloaded it for Brogan? The copy I posted here was downloaded off my server, not just copied from the zip file so it's undergone uploading/downloading.

    I think the Transmit issue is more than it follows the mac approach of not merging folders by default rather than anything being corrupted.

    I'll try Filezilla/Cyberduck but I don't think the transfer is the issue.
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Out of interest, what are the results of the file health check on your live site?

    Presumably you're using the same .zip package for both?
     

Share This Page