Start Online Training

Get access to all our video classes and support. That's 1818 training sessions in Joomla, Drupal, WordPress, Coding and SEO.
Prices start only at only 25 USD per month

Testimonials

Testimonials OSTrainingYou are the nicest most accommodating group of people that I have ever come across. That is why I love OSTraining."

~ Corinne

 

Start a FREE 7 day trial! Get training videos and books, plus expert support:  

TOPIC: Woocommerce empty cart

Woocommerce empty cart 1 year 11 months ago #45880

  • JP
  • JP's Avatar
  • OFFLINE
  • Posts: 32
I ran couple of clean installations on woocommerce
I checked the db and it's on innodb.

but it's not showing my products in shopping carts anyone has any idea why this may be?

Thanks
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45886

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
Hi Shavindra,

Do you have a test site up where we can get a URL to see what's happening?

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45889

  • JP
  • JP's Avatar
  • OFFLINE
  • Posts: 32
Yup

ve.jago-staging.com/?post_type=product

much appreciate... I am running it all fine on my local machine under xampp
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45890

  • JP
  • JP's Avatar
  • OFFLINE
  • Posts: 32
if it's helps

Edited post to remove sensitive information. - ed

let me know when you have this info I will remove this later ob

it's Friday evenin 9pm stuck in here for a while now :-|
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45892

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
I removed the sensitive info from your post. If you need to send any thing else that we don't want the public to read, you can email to This email address is being protected from spambots. You need JavaScript enabled to view it.

Ed
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45893

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
Hi Shavindra,

This is most often associated with sessions not being set properly on the server. Are you by any chance using GoDaddy servers?

As a general note, consider also checking session.save_path directive in php.ini It must be a folder writable by the server in order for sessions to be saved.

Since you're new to the forum, I don't know your skill level yet. If you don't know how to check this let me know.

Ed
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45904

  • JP
  • JP's Avatar
  • OFFLINE
  • Posts: 32
I would not have figured that out at all!!!!

For my learning what lead you to believe this is the case?

It's on a media temple dedicated virtual (dv) server and have a plesk control panel.
I'm very much a n00b to back-end development. This is the first time I'm actually responsible for managing a server as well. I can use ftp and have very basic knowledge of using SSH.

It would be great if you can tell me what I need to do?

Being the only developer at a branding agency mean it's like stuck in a dessert island. So really appreciate your help!!!!
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45906

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
I've experienced this before, so I had to do a lot of research to fix it. That's what it was the last time I dealt with it, but we're still not sure yet.

If you can you should submit this to woocommerce tech suppport or forum as well, since somebody there may have already solved it or they have a patch for it.

I'll look into it and see if I can write you some simple steps. In the meantime it wouldn't hurt to get familiar with your php.ini file.
www.ostraining.com/blog/coding/phpini-file/

This is a joomla article but it explains how to make changes to a php.ini file.
www.ostraining.com/blog/joomla/installation-problems/

And here's how to solve the most common problem with WordPress and php.ini
www.ostraining.com/blog/wordpress/wordpr...allowed-memory-size/

Anyway, let me see what I can suggest specifically.

Ed
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45924

  • JP
  • JP's Avatar
  • OFFLINE
  • Posts: 32
Fixed it :) you are right that was the problem...

This is what I did...

Created a <?php phpinfo(); ?> to locate the php.ini file based on instructions here: www.ostraining.com/blog/coding/phpini-file/

Set the file/folder permission to be 777 rwxrwxrwx.

Using SSH logged in to server and ran the following command to restart apache
service httpd restart
Please become a member of OSTraining to reply to this post.

Woocommerce empty cart 1 year 11 months ago #45928

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • Posts: 3094
  • Thank you received: 7
You were very resourceful in getting this fixed. Congratulations. You did something many people would have been afraid to attempt. You should be proud of yourself.

For security you might want to see if it will still work with permissions 755 on that folder. That is a bit more secure than 777. Just a suggestion. Do what works.

Nice work,
Ed
Please become a member of OSTraining to reply to this post.

 

Start a FREE 7 day trial! Get training videos and books, plus expert support: