By stevec4 on Thursday, 26 July 2018
Replies 16
Likes 0
Views 1K
Votes 0
Just noticed this after updating to version .47, but it could have been happening before the update.
All the events in my latest events module seem to have an end date 1 day before the actual event end day posted

as an example this event is on AUG 03

Aug 03 - Aug 02 - KABC-DEFG


This event is Aug 04 - Aug 05

Aug 04 - Aug 04 - KABC-MYEH-WADD


this event spans AUG 03 - AUG 08

Aug 03 - Aug 07 - 18G6-16 S/J/B


this is the string I am using and the server is set to New York

${eventDate(%h %d)} - ${endDate(%h %d)} - ${title}



PHP Version : 7.1.7
MySQL Version : 5.5.5-10.2.12-MariaDB-log
Server Information : Linux 2.6.32-896.16.1.lve1.4.49.el6.x86_64 #1 SMP Fri Jan 5 05:15:23 EST 2018 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 4000
Club code set? : Yes
User Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
Joomla : 3.8.10
component_com_jevents : 3.4.47
component_com_jce : 2.6.31
module_mod_jevents_cal : 3.4.47
module_mod_jevents_custom : 3.4.47
module_mod_jevents_filter : 3.4.47
module_mod_jevents_latest : 3.4.47
module_mod_jevents_legend : 3.4.47
module_mod_jevents_switchview : 3.4.47
layout_JEventsFlatplusLayout : 3.4.15
layout_JEventsRuthinLayout : 3.4.9
layout_extplus : 3.4.0
layout_iconic : 3.5.3
layout_jeventsextpluslayout : 3.4.4
layout_jeventsflatpluslayout : 3.4.7
layout_smartphone : 3.0.11
plugin_content_jevents : 3.4.47
plugin_finder_jevents : 3.4.47
plugin_installer_jeventsinstaller : 3.4.47 (not enabled)
plugin_jevents_jevcustomfields : 3.5.8
plugin_jevents_jevusers : 3.4.3
plugin_search_eventsearch : 3.4.47
plugin_system_gwejson : 3.4.44
Can you please check your servers timezone?

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony
The server is set correctly, I have tried changing it to UTC and back to New York without any changes.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Tony
I down graded back to version .46 and it solved the date issue the correct dates are displayed now.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Steve,

The problem with that is we haven't found the problem. Can you try upgrading again and checking if the module is set to measure time from now?

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Tony
The module is set to measure time from now. I double check the server settings. (even called the host to check server location)
they are set to New York and the server is in the same timezone.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Steve,

Can you create a test site so we can check this out?

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure Tony will do that later today and send you access info.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry Tony, been a bit busy with work so I haven't had a chance to do this yet.
Installed ver.47 on my local host today, though it may not be related I get the following error when trying to save an event.


call to member function viewDetalLink() on null


line 955 in admin\com_jevents\controllers\icalevent.php


Get a similar error in the admin side trying to save same event

PROBLEMS_SAVING_EVENT_DETAIL



Joomla 3.8.11 Jevents ver.47 PHP 7.28

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
view detail link can only be accessed if the event saved, it sounds like something isn't right with your system as if the event failed to save it should output back.

If you try php 7.1 does it work?
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Will switch php versions and let you know.
Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Tony
It doesn't seem to be a php issue, I rolled back to 7.0 and get the same error, then even I tried using an older Joomla install (3.6.5) and have the same message. The problem now is if I try rolling back Jevents to ver .46 the error remains so I am kind of at a loss.

I will try to make a clone on my live server this weekend and see if we can figure out the issue.
Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Please do then I can debug it. That error doesn't make much sense!
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Tony
I have setup a clone of my live site. See Site Details for log in in. I have Joomla 3.8.11 and Jevents 3.4.47 installed you can see the latest events on the front page with the dates messed up.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for that, I've found the issue and I am checking with geraint for the reason behind a change.

It will be fixed in the next release.

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Do you think the problem has anything to do with what I am seeing on my local host install it has become un usable once you try to add event with the viewDetaillink null error.

Steve
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
No, it's because Geraint forced a europe timezone onto the module when adding a new feature. It is fixed here:

https://github.com/JEvents/JEvents/pull/437/files

Many thanks
Tony
·
6 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post