Hi,
I have installed Community builder to interact with another plugin (Joomdle) that exports user Data onto another website upon registration in Joomla.
I have added the CB login module onto my site homepage, and removed the default Joomla login form module.
I am experiencing an issue when logging out of the site. When any user logs out more than once in the same session taken to the following page:
/index.php/cb-logout/logout
An SQL database error is then displayed on the page as below, the rest of the page is blank:
Duplicate entry '' for key 'PRIMARY' SQL=INSERT INTO `jos_session` (`session_id`, `client_id`, `guest`, `time`, `userid`, `username`) VALUES ('', 0, 1, '0', 0, '')
The issue resolves itself once I disable the CB plugin and re-enable the default login form.
I have done some investigation into this and can see that the 'Jos_session' table in the Joomla database appears to not be cleared down properly after the first logout, Leaving a row with a blank session ID. I have attached the contents of Jos_session after login for the first time and after the second time for comparison.
I am running
Joomla 3.3.6 stable
CB 2.0.4
PHP 5.4.34
MYSQL 5.1
If you need anything else to help troubleshoot let me know.
Can you advise on how I can resolve this issue? Thanks.