• 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.

Viewing 14 replies - 1 through 14 (of 14 total)
  • If you can, delete wp-content/advanced-cache.php but that’s only a guess. The plugin doesn’t cache anything in the dashboard.

    Thread Starter codeman38

    (@codeman38)

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

    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?

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

    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)

    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.

    Any errors in your php error log?

    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?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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.

    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.

    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.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    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!

    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.

    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.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: WP Super Cache] Error 500 on wp-admin after activating’ is closed to new replies.