Forums

WP Super Cache
Error 500 on wp-admin after activating (15 posts)

  1. codeman38
    Member
    Posted 1 year ago #

    I've been trying and trying to install wp-super-cache on my blog, but I am having no luck. Every time I try to activate the plugin, as soon as define('WP_CACHE', true); is added to wp-config, I get a 500 error (Internal Server Error) upon trying to access any page in wp-admin. This even happens with caching turned off.

    According to the server logs, the reason for this error is "Premature end of script headers".

    I've tried deactivating all other plugins, and still get an error 500. I've also tried removing the .htaccess completely, but still get an error 500.

    Any idea what could be causing this? I'm running WordPress 3.0.3 under PHP 5.2.13.

    Edit: Oh, yes, forgot to add: PHP is not running in safe mode.

  2. Donncha O Caoimh
    Member
    Posted 1 year ago #

    If you can, delete wp-content/advanced-cache.php but that's only a guess. The plugin doesn't cache anything in the dashboard.

  3. codeman38
    Member
    Posted 1 year ago #

    Deleting advanced-cache.php fixes it-- but it keeps regenerating it every time I go to the settings page, causing it to 500 again.

  4. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Disable the plugin, remove wp-content/wp-cache-config.php and reinstall the plugin again. Maybe something got corrupted somewhere.

    Anything in your PHP error log?

  5. cipals15
    Member
    Posted 1 year ago #

    What should I do if advanced-cache.php isn't there?

  6. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Loading the admin page should create that advanced-cache.php file. If it's not you might have to dig into the code in wp-cache.php and discover why it's not being written. (presuming there are no warnings on the admin page)

  7. obxbchgrl
    Member
    Posted 1 year ago #

    I am having the same issue. There is no advanced-cache.php, nor is there a wp-cache.php. I'm stumped on why they aren't showing if they should be there. Is there another location I can search for them? Or something else I need to do? I get that Error 500 thingy when I add the define('WP_CACHE', true); to my wp-config.php.

  8. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Any errors in your php error log?

  9. obxbchgrl
    Member
    Posted 1 year ago #

    I have no idea. I am unable to find the php.ini file anywhere, even using a search optin within Filezilla. Perhaps the problem is with the template I am using?

  10. php.ini is a file on the sever, and is not included in WordPress, its plugins or themes.

    Ask your webhost about where it is and IF you can edit it.

  11. obxbchgrl
    Member
    Posted 1 year ago #

    Yes. I know it is a file on the server. I have searched all the files on the server. I will email my webhost as back-up to verify it EXISTS and if it can be edited.

  12. obxbchgrl
    Member
    Posted 1 year ago #

    Okay. I am not able to access this file at all. Any changes must be made by the Host. That is why I am unable to find the file even when logging onto the server itself.

    Is there another place I need to go to serach for php error log? Or should I have my Host go in and make the necessary changes to pull the error log so I may see where the problem lies?

    Thanks.

  13. Re-reading this ... why are you looking for php.ini anyway?

    Ask your host where your account's error log is. All php errors SHOULD be dumped into that!

  14. obxbchgrl
    Member
    Posted 1 year ago #

    When reading the information on WordPress, it says that you need to add coding to php.ini to CREATE your error log. There isn't one. And yes, I verified with the Host.

  15. Donncha O Caoimh
    Member
    Posted 1 year ago #

    Your host is lying then or doesn't want you to see what errors are on your site. Just ask them to activate the php error log. Hopefully they'll do that for you.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic