• Resolved oldmankit

    (@oldmankit)


    I was following advice to try to make my Easy Digital Downloads shopping cart work (it has always been empty, even after adding something to cart).

    I have obviously made a huge mistake, as now when I visit my site I get an empty white screen. Fortunately, the admin dashboard is still working.

    In php.ini I have this:
    session.save_path = "/tmp"
    I commented that out and added this:
    session_save_path(realpath(dirname($_SERVER['DOCUMENT_ROOT']) . '/../session'));

    And now the white screen. I changed back to
    session.save_path = "/tmp"
    but still the white screen.

    My first problem is going to be getting rid of the white screen. Next I have to try to find a way to make the plugin work.

    I really appreciate any help.

Viewing 15 replies - 1 through 15 (of 15 total)
  • First remove each of those customizations.

    Second, try this: https://easydigitaldownloads.com/docs/edd_use_php_sessions/

    EDIT – Pippin – you are unbelievably speedy :)! LOL!

    Thread Starter oldmankit

    (@oldmankit)

    I can’t believe how fast the response was – thank you!

    I have returned php.ini into its original state, which was:
    session.save_path = "/tmp"

    But I still have this white screen.

    I would rather fix this before trying anything else (so I don’t compound the problem).

    Enable WP_DEBUG to see what the error is.

    Thread Starter oldmankit

    (@oldmankit)

    Thanks Pippin.

    Warning: include(): Failed opening 'hidden/public_html/wp-content/advanced-cache.php' for inclusion (include_path='.:/usr/php/54/usr/lib64:/usr/php/54/usr/share/pear') in /hidden/public_html/wp-settings.php on line 58

    (I have changed the root to ‘hidden’. I don’t know if posting it is a security issue or not.)

    Thread Starter oldmankit

    (@oldmankit)

    I’m quite confused, because the only thing I touched was php.ini. I didn’t touch wp-settings.php or advanced-cache.php.

    Thread Starter oldmankit

    (@oldmankit)

    It’s looking like it might be related to WP Total cache. That is installed on the network (I’m using multisite), but now it doesn’t appear in the admin dashboard for either site.

    (Edit: corrected name of plugin.)

    If you have edited php.ini reboot YOUR server or have host restart server processes.

    Thread Starter oldmankit

    (@oldmankit)

    I apologise for the multiple posts. I’ve now fully disabled WP Total cache on all sites on the network.

    To do this I renamed the plugin directories and edited wp-config.php:
    define('WP_CACHE', true);
    and changed this to:
    define('WP_CACHE', false);

    Now I do not get that error when I visit the admin screen. There are now no php errors when I visit the admin screen.

    However, all of the front-end sites on this network (e.g. oldmankit.com) are still just white screens ??

    Thread Starter oldmankit

    (@oldmankit)

    @pioneer: I just saw your message. That’s a great idea – I’ll contact my hosts to do this.

    Do you have WP Super Cache installed? If so, completely delete it.

    Thread Starter oldmankit

    (@oldmankit)

    I had WP Total Cache, but I’ve now completely removed it.

    Still no change.

    I’m on a shared host, and I’ve sent a ticket to ask them restart server processes, as @pioneer suggested.

    Did you update .htaccess after removal?

    Thread Starter oldmankit

    (@oldmankit)

    Thanks to you guys it is now fixed. (Sorry about the delay.)

    The white screen was due to mis-configuration in php. I had upgraded the php version but carried on using the old php.ini file, and there were some conflicts. Everything got fixed by generating a brand new php.ini file in my cPanel’s “php config”.

    And the original problem of nothing appearing in the cart has now also been fixed by following the instructions in Pippin’s original link.

    Three cheers to you all!

    Great to hear you have figured it out!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Configuring sessions led to white screen of death’ is closed to new replies.