"your cart is empty" error on add listing checkout form

This topic contains 13 replies, has 4 voices, and was last updated by  Patrik 1 week, 4 days ago.

  • Author
    Posts
  • #3595

    Ryan Chart
    Buyer
    Post count: 12

    We have made GeoDirectory setup and everything else is working, but when users finish the add listing form, they are taken to wpi-checkout page and sometimes it shows the checkout form and sometimes it shows your cart is empty message. We are not sure why this is happening.

    We have also tried the following fix that was mentioned on other ticket but it is also not working:

    /* PHP SESSION TEMPORARY FIX */
    if ( !defined( 'GEODIR_USE_PHP_SESSIONS' ) ) {
       define( 'GEODIR_USE_PHP_SESSIONS', false );
    }
    if ( !defined( 'WPINV_USE_PHP_SESSIONS' ) ) {
       define( 'WPINV_USE_PHP_SESSIONS', false );
    }
    /* PHP SESSION TEMPORARY FIX */

    Can you please help us to fix this issue?

    #3596

    Alex Rollin
    Moderator
    Post count: 22146
    This reply has been marked as private.
    #3610

    Ryan Chart
    Buyer
    Post count: 12
    This reply has been marked as private.
    #3617

    Alex Rollin
    Moderator
    Post count: 22146
    This reply has been marked as private.
    #3618

    Patrik
    Moderator
    Post count: 1467

    Hi,

    The given SFTP details are not working and giving Authentication error. Can you please check and provide the working SFTP details? Can you try to put the following code in your config.php file and check if it resolves an issue or not?

    define('WPINV_USE_PHP_SESSIONS', false);

    Also, discuss with your hosting provider to check PHP sessions are enabled on the server and the session path is writable. You can remove the above code after hosting the provider fixes it.

    Regards,
    Patrik

    #3631

    Norlan.es Marketing Online
    Free User
    Post count: 1

    I have the same problem, the issue is solved?

    #3632

    Patrik
    Moderator
    Post count: 1467

    In the next release, we are removing the use of sessions so there will be no such issues.

    @Norlan.es Marketing Online, Kindly use the same solution to fix the issue or create a new ticket so we can assist you there.

    Regards,
    Patrik

    #3633

    Ryan Chart
    Buyer
    Post count: 12
    This reply has been marked as private.
    #3634

    Ryan Chart
    Buyer
    Post count: 12
    This reply has been marked as private.
    #3635

    Ryan Chart
    Buyer
    Post count: 12

    We have added the following constant (as suggested above in ticket response) under wp-config.php but still getting the same error “your cart is empty”.

    define('WPINV_USE_PHP_SESSIONS', false);
    #3636

    Ryan Chart
    Buyer
    Post count: 12

    Since it is an urgent matter, we went ahead and made the change you suggested but still no remedy.

    Now, it will be better you guys only do any further changes
    since you have the access and we don’t want to create any confusion with changes made by two teams.

    #3637

    Ryan Chart
    Buyer
    Post count: 12
    This reply has been marked as private.
    #3639

    Alex Rollin
    Moderator
    Post count: 22146
    This reply has been marked as private.
    #3640

    Patrik
    Moderator
    Post count: 1467

    Hi,

    I don’t see the cart is empty message now. The checkout form is displayed. Can you please check from your side after clearing the cache?

    Regards,
    Patrik

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.