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

This topic contains 13 replies, has 4 voices, and was last updated by  Patrik 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #3595

    Ryan Chart
    Free User
    Post count: 23

    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: 27815
    This reply has been marked as private.
    #3610

    Ryan Chart
    Free User
    Post count: 23
    This reply has been marked as private.
    #3617

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

    Patrik
    Moderator
    Post count: 1971

    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: 1971

    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
    Free User
    Post count: 23
    This reply has been marked as private.
    #3634

    Ryan Chart
    Free User
    Post count: 23
    This reply has been marked as private.
    #3635

    Ryan Chart
    Free User
    Post count: 23

    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
    Free User
    Post count: 23

    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
    Free User
    Post count: 23
    This reply has been marked as private.
    #3639

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

    Patrik
    Moderator
    Post count: 1971

    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)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket