• I just moved a site today from a /new directory to the root directory. Following the codex for moving a site that I have used many many times before. Occasionally when going to this site now that is in the root directory we get the whole “The server encountered an internal error or misconfiguration and was unable to complete your request” on both the live site & the admin page.

    What are the best ways to troubleshoot this? Additionally they were running an older version of wordpress until right befor the move I updated it (backed up as well). So I have a feeling that a plugin is causing the issue.

    Any ideas on how to test this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    Check your log files in /var/log.

    Thread Starter verdipro

    (@verdipro)

    is var/log in my root directory? if so I do not have one.

    /var/log
    not var/log

    They refer to different locations. If you don’t have full access to your server, ask your hosts where to find the error logs.

    Thread Starter verdipro

    (@verdipro)

    i do have an error_log file in my root folder.

    [27-Aug-2012 13:39:00] PHP Fatal error: Out of memory (allocated 19660800) (tried to allocate 491520 bytes) in /wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 1282

    anyone familiar if this plugin can cause these issues?

    This is a site issue – not a plugin specific one. Try increasing the memory available to PHP.

    Thread Starter verdipro

    (@verdipro)

    ok thank you. is a memory issue something that would cause the internal server error as well or could i have 2 separate issues?

    is a memory issue something that would cause the internal server error as well

    Yes – that’s possible.

    Thread Starter verdipro

    (@verdipro)

    ok will test it out, thanks.

    Thread Starter verdipro

    (@verdipro)

    i added
    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 32M

    however after logging in to the admin we got this error:
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in /wp-admin/includes/deprecated.php on line 914

    is this the same issue or sound like something different?

    It’s still a memory issue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘What are the best steps to fix an internal server error?’ is closed to new replies.