Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Editing an event causes the date to change

9 years 11 months ago
  • Meagan's Avatar
    Topic Author
  • Meagan
  • Offline
  • Fresh Boarder
  • Posts: 75
  • Thank you received: 8
Licenses:
JomSocial Active

ISSUE SUMMARY: When editing an existing event the date of the event will change to one day earlier. The user is not changing the date, it is changed by the system somehow when the event gets edited.


STEPS TO REPLICATE:
1 Create an event with date of June 20, 2015
2 Save the event
3 click on the event in the event list
4 Click on Edit in the options menu
5 The date of the event will now show as June 19, 2015
RESULT The system has changed the date of the event
EXPECTED RESULT That the system doesn't arbitrarily change data
BROWSER All browsers/OSs

9 years 11 months ago
Licenses:

Hi Meagan,

I cant access administrator page, the login detail is not valid that provided at site info. please edit your first post at this topic. and update the credentials information at site info form.

first I need you try this.
copy events.forms.php from [joomla site root]/components/com_community/templates/jomsocial/layouts/ to [joomla site root]/templates/[frontend template]/html/com_community/layouts/

and at line 167

<?php echo $startDate->format('Y-m-d'); ?>
changing the code to
<?php echo date('Y-m-d',date(strtotime("+1 day", strtotime($startDate)))); ?>

line 213
<?php echo $endDate->format('Y-m-d'); ?>
changing the code to
<?php echo date('Y-m-d',date(strtotime("+1 day", strtotime($endDate)))); ?>

FYI, same issue with:
www.jomsocial.com/forum/technical-issues...mpting-to-edit#99350

Regards

9 years 11 months ago
  • Meagan's Avatar
    Topic Author
  • Meagan
  • Offline
  • Fresh Boarder
  • Posts: 75
  • Thank you received: 8
Licenses:
JomSocial Active

Hello Albertus,

I have updated the administrator info in the first post. I'm concerned that the fix you are providing in only a hack to force the date to increment by one when opening the edit window. Shouldn't we really be trying to figure out why the date is being changed?

9 years 11 months ago
Licenses:

Hi Meagan,

this issue only happen at your end, at my end I cant replicate this issue, at event 00 Money Saving Challenge:





your site still using old version 3.2.1.6, the code changes must follow this:
www.jomsocial.com/forum/technical-issues...mpting-to-edit#99350

this is not bug, but there is something wrong with your browser. It would be great if you try jomsocial 4.0.7

Regards

Attachments:
9 years 11 months ago
  • Meagan's Avatar
    Topic Author
  • Meagan
  • Offline
  • Fresh Boarder
  • Posts: 75
  • Thank you received: 8
Licenses:
JomSocial Active

Hello Albertus,

This is not related to my browser. We have numerous members using different OSs and different browsers who all report the same problem. You have other customers on your forum who have reported the same problem. Maybe because the event you tried to edit has a start date in the past caused the problem to not show. Please create a new test event, close it and then try to edit it.

Also, We cannot move to Jomsocial 4.x because we are using the ijoomer app and they have not updated it for jomsocial 4.x yet.

The following user(s) said Thank You: Gregory O'Connor
9 years 11 months ago
Licenses:

Hi Meagan,

please using this solution:
www.jomsocial.com/forum/technical-issues...mpting-to-edit#99350

FYI: I still cant replicate this issue at my end. here the video as a prove
www.screencast.com/t/BoxCCXySBvSI

Regards

9 years 11 months ago
  • Meagan's Avatar
    Topic Author
  • Meagan
  • Offline
  • Fresh Boarder
  • Posts: 75
  • Thank you received: 8
Licenses:
JomSocial Active

Hello Albertus,

I see from your screencast that you are not experiencing the problem. Could it be related to your time zone being different from ours and all of our members? As I mentioned it is all of our members who are experiencing this problem.

If we implement that fix and someone who isn't experiencing the problem tries to edit an event, then their event date will be wrong.

9 years 11 months ago
Licenses:

Hi Meagan,

jomsocial doesnt have time zone calculation. and the site always follow joomla timezone configuration.
please compare it with the "real" data at community_events table (database), the dates same like the correct one or not?

or maybe there is a addons at your browser that related with timezone.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW