[Skip to main content](#vessel-content)

#   Sporadic add to cart pre and post post Login

##

- **[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")**
- [![teleactive's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5632-teleactive "View teleactive's Profile") Topic Author
- [ Offline](/forum/user/5632-teleactive)

Less More

- Posts: 53
- Thank you received: 0
-
-

13 years 6 days ago -  13 years 6 days ago [\#133692](#133692) by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")  *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#133692 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")* was created by *[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")*

I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping button then it seems to work, sometimes.

These are the site owner observations

[ colligomarine.com](http://colligomarine.com)

Hikashop 2.2.2
PHP Built On Linux typhoon.websitewelcome.com 3.2.49 #2 SMP Mon Aug 5 14:12:45 CDT 2013 x86_64
Database Version 5.5.30-30.2
Database Collation utf8_unicode_ci
PHP Version 5.3.27
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.0.2 Stable [ Ember ] 08-November-2012 14:00 GMT
Joomla! Platform Version Joomla Platform 12.2.0 Stable [ Neil Armstrong ] 21-September-2012 00:00 GMT
User Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1

Last edit: 13 years 6 days ago by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 6 days ago [\#133697](#133697) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#133697 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

Hi,
That's maybe coming from a cache issue, can you disable the Joomla cache, and clear it ? You'll also have to disable it in the joomla config, and unpublish the cache plugin. Also can you clear your browser's cache or try it with another browser ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")**
- [![teleactive's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5632-teleactive "View teleactive's Profile") Topic Author
- [ Offline](/forum/user/5632-teleactive)

Less More

- Posts: 53
- Thank you received: 0
-
-

13 years 5 days ago [\#133738](#133738) by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")  Replied by *[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#133738 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

These are the settings in Global Configuration &gt; System

Cache Settings
Cache *
OFF - Caching disabled
Cache Handler
File
Cache Time * 15minutes

Session Settings Session Lifetime *

Session Handler * Database

These are the Config.php setting.

public $caching = '0';
public $cache_handler = 'file';
public $cachetime = '15';

System Cache plug in is already disabled.

Switching browsers is not what the client wants to hear. Please give me more info to pass along to the client because I don't know why it's being erratic for him.

i purged the cache. How often should the cache have to be purged?

Thanks,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

13 years 3 days ago [\#133940](#133940) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#133940 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

Hi,

We're not asking that the user change his browser for good. We're asking basically if it helps when trying with another browser...
Based on what I can see on your website, there is definitely something caching the pages of your website. It could also come from a setting of your template, or it could also come from your hosting company or a CDN provider for your website/web server.
Please check all that.

You should not have to purge cache if the cache is deactivated.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")**
- [![teleactive's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5632-teleactive "View teleactive's Profile") Topic Author
- [ Offline](/forum/user/5632-teleactive)

Less More

- Posts: 53
- Thank you received: 0
-
-

13 years 2 days ago -  13 years 1 day ago [\#134176](#134176) by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")  Replied by *[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134176 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

I checked with hosting company HostGator. They assured me there is no caching on the server level.

The client is getting very upset with products showing up from previous customers in a new cart, registration giving errors and putting in random names in the billing address after account activation.

See attachment.

Do you need log in access to check for template or modules that may not be compatible with Hikashop code?

The site in now not able to create new accounts.

Last edit: 13 years 1 day ago by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile"). Reason: Additional issue with same site unresolved

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

13 years 22 hours ago [\#134358](#134358) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134358 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

Hi,

I checked your wbesite backend with the account that you provided and I can see that you configured a session lifetime of 15 minutes in the joomla configuration. That's probably why you're getting disconnected from your website frequently. Unfortunately, HikaShop has not control on that, it's a joomla setting. Simply increase the session lifetime to something more reasonable like a few hours and your users won't find themselves disconnected all the time.

I the tests I did on your frontend, I wasn't disconnected when adding a product to the cart as long as I stayed under that limit.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")**
- [![teleactive's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5632-teleactive "View teleactive's Profile") Topic Author
- [ Offline](/forum/user/5632-teleactive)

Less More

- Posts: 53
- Thank you received: 0
-
-

13 years 2 hours ago [\#134457](#134457) by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")  Replied by *[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134457 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

I changed the session lifetime to 120 minutes.

MESSAGE
Your Account has been successfully activated.

I did a test and the issue that the client does not like is that a random users name appears on the second address of the billing address with a radio button.

do you have a way to correct this so it's blank and **only has the data entered by the user for new account activation**?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 11 months ago [\#134474](#134474) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134474 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

I don't understand your question. The system only display the address of the user. If the name in the address is like that, it means that the address has been entered for that user like that.
Can you provide some screenshots of the problem maybe ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")**
- [![teleactive's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/5632-teleactive "View teleactive's Profile") Topic Author
- [ Offline](/forum/user/5632-teleactive)

Less More

- Posts: 53
- Thank you received: 0
-
-

12 years 11 months ago [\#134487](#134487) by [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")  Replied by *[teleactive](/forum/user/5632-teleactive "View teleactive's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134487 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

Please note the second address was not entered by the user. it randomly appears and must be manually deleted.

The client does not want other users random name and address to appear.

see attachment

- [ ![hbde9858.png](/forum/attachment/14022) ](/forum/attachment/14022 "hbde9858.png") [ ](/forum/attachment/14022?download=1 "hbde9858.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

12 years 11 months ago [\#134494](#134494) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Sporadic add to cart pre and post post Login](/forum/27-checkout/863830-sporadic-add-to-cart-pre-and-post-post-login#134494 "I log in, see my cart, then I go to add more parts and it logs me out! If I hit products when looking at the cart then the log in screen comes back like I logged out. If I hit the continue shopping...")*

Addresses do not randomly appear in other user accounts. If it displays, it means that it was added to that user.
Such situation where an address is assigned to a user which didn't entered it usually happen because you messed up at some point with the data in the database.
For example, suppose that I have 100 users in the hikashop_user table and 100 addresses in the hikashop_address and that each address is associated to one of the users.
Now I want to clear my list of users and empty the table hikashop_user but I forget to also empty the hikashop_address table.
So when a new user registers, he will be assigned a new user_id which will start again from 1, and thus, he will be assigned the address of the previous user with the user_id 1 since I didn't empty the hikashop_address table at that time.

Unfortunately there is nothing we can do in the code of HikaShop to avoid that.
All I can recommend is to be really careful about that during maintenance/debug/data transfers in order to avoid such problems.

In your case, I would recommend to set the AUTO_INCREMENT value of the hikashop_user table to a greater value than all the address_user_id values in the hikashop_address table (you can do that with a mysql query in phpmyadmin). That way, your new users will have ids that were not previously used by users which were deleted and thus they won't get the addresses of old users assigned to them by error.

The following user(s) said Thank You: [teleactive](/forum/user/5632-teleactive "View teleactive's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2NoZWNrb3V0Lzg2MzgzMC1zcG9yYWRpYy1hZGQtdG8tY2FydC1wcmUtYW5kLXBvc3QtcG9zdC1sb2dpbj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.069 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
