• I get an error message when I try to empty shopping cart.

    Warning: session_destroy() [function.session-destroy]: Trying to destroy uninitialized session

    Any idea how to fix this?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Which version of eshop, and which version of WordPress do you have?

    No-one has reported this error before, so tracking it down may take a while.

    Thread Starter mborin

    (@mborin)

    I have eshop 2.5.4

    Thread Starter mborin

    (@mborin)

    Also, when I put something in the shopping cart the shopping cart link does not appear in the side bar. When I try to update the cart I also get another error.

    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/eshop/cart.php on line 86

    Hmm, just tested this locally and things still seem to work OK.

    Open cart.php and comment out, or remove line 14 session_destroy();

    That would be a quick fix, and you may have to remember to do this on each update.

    That shouldn’t affect anything else, but I would strongly suggest a test via paypals sandbox to ensure that side works without errors.

    Just saw your other message.

    Can you re-upload all files, in case of any errors, and check again.

    However it sounds like there is a problem with session handling on your server. Might be worth asking on their support forums to see if anyone else has similar problems.

    Thread Starter mborin

    (@mborin)

    When I first installed this plugin it worked perfect. But after a few times of testing it started acting up. So I am sure the files are ok when I first uploaded. Currently the shopping cart is not being filled even though I am taken to the shopping cart url after clicking on Ad To Cart.

    Thread Starter mborin

    (@mborin)

    Here’s something strange… when I disable the plugin all the links to the shopping cart appear in the side bar. When I activate it again it seems to work. I’ll update if any more surprises come up.

    the links get hidden by the plugin.

    Strange that there was a problem that disappeared – did you perhaps install another plugin?

    Thread Starter mborin

    (@mborin)

    Problem happened again. I am upgrading to the latest version. Will let you know how it goes.

    Thread Starter mborin

    (@mborin)

    Upgraded but problem is still there. The only other issue now is that my site loads slower on each page. When I disable the plugin it’s back to loading fast.

    Thread Starter mborin

    (@mborin)

    I,m getting an error when I go to the downloads page:

    copy(/home/relogica/public_html/wp/wp-content/uploads/../eshop_downloads/.htpasswd) [function.copy]: failed to open stream: No such file or directory in /home/relogica/public_html/wp/wp-content/plugins/eshop/cart-functions.php on line 873

    Warning: copy(/home/relogica/public_html/wp/wp-content/uploads/../eshop_downloads/.htaccess) [function.copy]: failed to open stream: No such file or directory in /home/relogica/public_html/wp/wp-content/plugins/eshop/cart-functions.php on

    Thread Starter mborin

    (@mborin)

    Inside eShopBase settings I click on the link to eShop Base Products (wp-admin/options-general.php?page=eshop_base.php) I get the following error:

    Cannot load eshop_base.php.

    The last one is a mistake, which I’ve fixed for the next update.

    the files not copying, looks like a possible problem with the chmod setting of your wp-content directory.

    What other plugins do you have installed?

    Thread Starter mborin

    (@mborin)

    Ok found the problem. Plugin WassUp was causing all this.

    Looks like there may be a clash between the 2 plugins then, if I get chance I’ll look into it.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘[Plugin: eShop] Error: Warning: session_destroy()’ is closed to new replies.