Knowledgebase
Users Not Able To Create Accounts / No Products Added To Shopping Cart
Posted by Mark Popnfresh on 01 December 2011 04:21 PM

Sessions:

Most of the issues we have found in this area have to do with your site not having the ability to use 'sessions', or some other wordpress plugin is preventing the sessions from being created.

The first thing I would try is to disable all other wordpress plugins, test the function of the store, then re-enable each plugin and keep testing the store. If this does not help, then try the following:

1) Check if your server's PHP config is set to allow sessions.
2) Check to make sure the session save path has been configured correctly. This is just a matter of adding a line similar to the following in the php.ini file:
session.save_path = /tmp
It is best to contact your hosting provider so they can do this for you. All you have to do is request them to fix the PHP session issue on your server and they should know what to do.

More information on sessions can be found here:

http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly

 

 

Database Access:

Another cause of this issue is that the 'database user' that WPOnlineStore creates does not have full access/permissions to the database. Most, but not all, hosting companies allow full access by default, but if the store does not have full access, it cannot write or create accounts.

To see what user name WPOnlineStore is using, look at the bottom of
 /wp-online-store/admin/includes/configure.php
and you will see something like this:

define('DB_SERVER', 'localhost');
define('DB_SERVER_USERNAME', 'databaseusername');
define('DB_SERVER_PASSWORD', 'dbpassword');
define('DB_DATABASE', 'databasename');

Use 'MySQLDatabases' in your websites control panel (or equivalent) to verify/change the database user to have full access permissions.

(6 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Help Desk Software by Kayako Fusion