Support » Plugin: Easy Digital Downloads » Empty cart problem with Easy Digital Downloads

  • Resolved B. Martins


    I experienced a problem with empty carts with EDD. I am on a shared hosting server. In order to bypass this problem I discovered that I had to do the following:

    1 Add the following code at the bottom of your wp-config.php file:

    define( ‘EDD_USE_PHP_SESSIONS’, false );

    2 Create your own php.ini file in cPanel
    3 Add the following code to the php.ini file and insert into the root directory (public_html) of your site:

    session_save_path(realpath(dirname($_SERVER[‘DOCUMENT_ROOT’]) . ‘/../session’));

    This worked for me and it sorted out all my empty cart problems.

    The reason I am posting this is to ask the plugin developers if this option is indeed the correct way to solve the empty cart problem. It might have other consequences that I do not know about.

    Thanks guys for your reply and also for developing this excellent plugin.

    ASR Martins

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Empty cart problem with Easy Digital Downloads’ is closed to new replies.