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

XF 1.2 500 Internal Server Error for everything

Discussion in 'Troubleshooting and Problems' started by neokyle21, Oct 23, 2013.

  1. neokyle21

    neokyle21 Member

    I get a 500 internal server error for pretty much anything I do. Importing a style, deleting a style, switching to a different style, disabling or enabling an add on, uninstalling an addon, trying to rebuild caches, trying to rebuild core master data, etc ,etc. Usually if I go back and refresh it appears the style was installed,changed, or the addon was disabled.

    Right now i've got tag me, xenporta, and user rank ribbons installed, and there all disabled but xenporta. I'm on xenforo 1.2.1.
     
  2. Amaury

    Amaury Well-Known Member

    Check your server error logs and see what errors there are.
     
  3. neokyle21

    neokyle21 Member

    Not seeing any errors unfortunately.
     
  4. Amaury

    Amaury Well-Known Member

    Are you checking in the Admin CP or the server itself? You need to do the latter.
     
  5. neokyle21

    neokyle21 Member

    The admin CP. Which error log should I be checking on the server? Php?
     
  6. Amaury

    Amaury Well-Known Member

    Check that and see if it shows you anything.

    @Jeremy should be able to help you better, so I've tagged him.
     
    neokyle21 likes this.
  7. neokyle21

    neokyle21 Member

    Thanks for the help, unfortunately I cannot access my logs right now. I will post the results when I can.
     
    Amaury likes this.
  8. neokyle21

    neokyle21 Member

  9. Amaury

    Amaury Well-Known Member

    neokyle21 likes this.
  10. Jeremy

    Jeremy XenForo Moderator Staff Member

    That error is most definitely a misconfigured server and something your host will need to fix.
     
    neokyle21 likes this.
  11. Tracy Perry

    Tracy Perry Well-Known Member

    yeah, it almost looks like they upgraded the PHP without upgrading the associated modules.
     
    neokyle21 likes this.
  12. neokyle21

    neokyle21 Member

    So this is definitely the cause of my issues. I,ll open a ticket with my host. Thanks for the help guys.
     
  13. neokyle21

    neokyle21 Member

    Host said they fixed the problem and I'm not seeing anymore errors in the php log, but my issue continues. Seems like its different now, only some add ons give the 500 internal error when disabling/enabling them. Also some text has changed, instead of log out neokyle21 the logout button for the admin cp says log_out_x. I also have a yellow notice that says manual_rebuild_processes_have_been_stopped_before_completion. Clicking it gives a 500 internal error, trying to rebuild master data still gives a 500 internal error.
     
  14. Mike

    Mike XenForo Developer Staff Member

    Try adding this to then end of your library/config.php:

    Code:
    $config['rebuildMaxExecution'] = 5;
    It looks like your host has an unreasonably low script execution limit (less than 10 seconds). This change will attempt to limit the length of some processes, but other ones can't be limited. If this change fixes the issue, I'd have to recommend that you contact the host to ask them to reduce some of the restrictions -- they're basically lower than I've seen on a host before.
     
    neokyle21 likes this.
  15. neokyle21

    neokyle21 Member

    Thanks your fix worked, everything is back in perfect working order.
     

Share This Page