- Posts: 241
- Thank you received: 5
Time for "product available" changes after save
- cberry1971
-
Topic Author
- Offline
-- Joomla version -- : 3.3.6
-- Browser(s) name and version -- : chrome / safari
Hi guys,
Strange bug which I can't work out as it only happens on some products and not others..
awesomescreenshot.com/0ce3uz6s94
I have tried to clear the cache on the browser and another browser... same thing.
Then i tried on another product and not a problem.
Do you know what could be causing this? Many thanks.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I just tested it on my end and it worked fine :
- Active the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that we can see if it display an error message which will help us to understand from what your issue is coming.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
I have PMd you the login info if you don't mind, have a look.
Thanks.
Please Log in or Create an account to join the conversation.
This is a problem with the time zone setting of your Joomla configuration. Please make sure that it is configure properly.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
I still can't figure out this issue. It also happens with user's date of birth. In the database the user in the screenshot below shows a date of 1985-07-30, but it displays as 1985-07-29 on the backend...
awesomescreenshot.com/0913vkw768
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
I believe that's it is due to timezone used in hikashop ,Please ask hikashop which timezone they are using ?
please go to : www.staging1.wodrocket.com/ajax/cnn.php ,you will notice that the time is not the same because in first it is using default timezone and in the second we are using date_default_timezone_set('America/Los_Angeles');
the time can be different from time of hikashop of 2014 Wodapalooza Winter Classic (Individuals) and that due to the cache .
Please Log in or Create an account to join the conversation.
We don't have timezone settings in HikaShop, we use the Joomla one, so please check your Joomla timezone settings.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
Just checking in to see if you have had any progress with this ticket as it continues to concern us.
Our developer and hosting company have both concluded that it is a comonent specific bug.
Any help would be really appreciated and thank you for all the hard work. Other than this, I love the component.
Please Log in or Create an account to join the conversation.
In Joomla 3 ; when we display a date, we directly call the Joomla JHTML date.
So it means that it is Joomla which display the date based on the given timestamp.
For the save, the calendar is the official Joomla calendar and we convert the date into a timestamp.
During this conversion (the function hikashop_getTime), the Joomla configuration is read in order to get the time offset.
So you might have one hour of difference between your Joomla time offset configuration and the PHP time offset (given by " date('Z') " ).
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
To create the issue,
go here: www.wodrocket.com/
Credentials removed
1. components > hikashop > products > individual events
2. find (cmd-f) wodapalooza...
3. select "2014 Wodapalooza Winter classic (individuals)"
4. have a look at the timestamp on the field "product available until" awesomescreenshot.com/0513yvtga7
5. click save and see it revert back 1 hour
awesomescreenshot.com/0c23ywy859
awesomescreenshot.com/0a13ywyp4b
If you do the same steps above for "test event" the issue will not happen.
Please Log in or Create an account to join the conversation.
I unpublished the plugin "HikaShop Mass Action products" and I'm not able to reproduce the issue anymore.
Can you please confirm ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
I don't recall if we turned it on for another reason.
Thanks.
Please Log in or Create an account to join the conversation.
- cberry1971
-
Topic Author
- Offline
- Posts: 241
- Thank you received: 5
here it is published: awesomescreenshot.com/0b53zg9f9e (unpublishing does not change the bug)
Please Log in or Create an account to join the conversation.
That plugin is needed only when you create mass actions for the product data, which you didn't. So you don't need it and can leave it disabled.
As Jerome, I've done a test with the product you're talking about but I'm not able to reproduce the problem anymore on your website backend:
screencast-o-matic.com/watch/c2liDReZid
Please Log in or Create an account to join the conversation.