Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

PHP: CGI application vs Apache Module

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › PHP: CGI application vs Apache Module

  • This topic has 7 replies, 2 voices, and was last updated 14 years, 8 months ago by Richins.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • October 19, 2010 at 6:50 pm #2063
    Richins
    Member

    I’m using the eStore plugin for digital downloads. It works great when I run PHP as an Apache module. But I would prefer to use CGI application, because with the Apache module other functions quit working. With CGI, eStore gives me an error message upon checkout (empty cart). Any suggestions on how I can tweak my server settings so this works with CGI application?

    October 20, 2010 at 12:09 am #25602
    amin007
    Participant

    I am not a big fan of CGI but lets try to do some tweaks on the plugin first :)

    Can you please tell me what payment gateway you are using?

    October 20, 2010 at 12:40 pm #25603
    Richins
    Member

    PayPal

    October 21, 2010 at 12:53 am #25604
    amin007
    Participant

    Lets try two small tweaks to see if we get any positive result.

    Open the “eStore_payment_submission.php” file and look for the following big of code:

    // Lets clear the cart
    reset_eStore_cart();

    // submit the payment!
    $myPaypal->submitPayment2(WP_ESTORE_CLICK_HERE);

    Once you find it replace it with the following:

    // submit the payment!
    $myPaypal->submitPayment2(WP_ESTORE_CLICK_HERE);
    // Lets clear the cart
    reset_eStore_cart();

    Now give it a test run and see if you get the same issue.

    If the above doesn’t do anything then try the following:

    Get rid of the following lines from the piece of code that we are tweaking:

    // Lets clear the cart
    reset_eStore_cart();

    Let me know what result you get.

    October 21, 2010 at 3:53 pm #25605
    Richins
    Member

    Hmmm. That didn’t seem to do anything. I noticed that in CGI it will only let me have one item in the cart at a time, so maybe the problem is not with checkout.

    October 22, 2010 at 12:27 am #25606
    amin007
    Participant

    I see.. thanks for mentioning that. It indicates you have a PHP session issue. Please do this test mentioned on this post (How To Find Out If You Are Having a PHP Session Issue):

    PHP Session not Working Correctly

    Let me know your result.

    October 25, 2010 at 1:44 pm #25607
    Richins
    Member

    yeah…failed the test.

    October 25, 2010 at 2:06 pm #25608
    Richins
    Member

    I think I’ll just use Apache module. I don’t know what’s wrong with my php settings in CGI.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ