septor / dateplus

e107v2: Advanced Date Display Plugin
1 stars 1 forks source link

Event dates do not save #1

Open Norwayman opened 8 years ago

Norwayman commented 8 years ago

I use Firefox 42.0 and E107 v2. And I use WampServer64. In Create Userdays I write in an Event Name and select a date on the calendar and hit CREATE. The the Event Name appear in the manage userdays, but no Event Date shows up in that list. The I go to edit the Event and I chose another date and hit UPDATE and it says no changes were made so therefore nothing is saved.

Here are two screenshots: eventdates_not_saved nothingupdatedsonothingsaved

septor commented 8 years ago

Is there any content when you check in phpMyAdmin? Can you manually type in the date and have it work?

Can you turn on debugging and see if any errors are thrown?

Norwayman commented 8 years ago

Forgive me that I am not too much into phpMyAdmin. I am not sure where I have to look. In UserDays there is nothing. Event_name and Event_date contains nothing.

You mean I should turn on debugging in where? E107? Firefox? or phpMyAdmin? Again sorry for my ignorance.

Which is the format for entering a date manually without using the calendar?

How does the plugin know which month I picked? See screen shot:

howcanyouknowwhichmonth

septor commented 8 years ago
  1. Go into your userdays database and take a screenshot for me. There should be at least data inside event_name.
  2. Grab the files from the repo here and check out the calendar page (you can just get _class.php and calendar.php if you don't want everything) and see if the userday shows up. It might just not be showing up correctly in the admin area for some reason.
  3. You should be able to use the e107 Debugger addon if you have error reporting turned on in your PHP set up.
  4. The format depends on what you've set in your e107 preferences I believe. I just instantiated the datepicker with default settings.
Norwayman commented 8 years ago

Look. I downloaded all the files from the recent repo. I uninstalled the dateplus plugin and all the files. I reinstalled the dateplus plugin and now it shows the dates when the events were created. BUT....when I try to create my own event it still doesn't give me/save the date...just the name like the one on the bottom of this screenshot.

newinstallwiththelatestfilesfromrepo

And here from PhpMyAdmin:

myphpadmin

Norwayman commented 8 years ago

And look what happened when I changed my date format to 05-12-2015. I typed in the Event Name and then typed in 05-12-2015. And in the list it says it is 05 of November.

strangedate

septor commented 8 years ago

Interesting. I'll do some debugging and see if I can reproduce this.

septor commented 8 years ago

I cannot reproduce this issue. I'm using the latest files from the repo, here's what I've tried:

I do not know how to fix this issue for you since I can't get it to reproduce on my end.

septor commented 8 years ago

I just tested this on another computer, using Chrome instead of Firefox and I have the same results.

Nothing is faulty on my end. I'm not sure what's going on.

Norwayman commented 8 years ago

Thanks Patrick. I do not know what is going on either. Just passing it on to you. I do not know if it has anything to do with me using WampServer or not. I will monitor it for a while and get back to you if all of a sudden everything is OK.

Norwayman commented 8 years ago

Back again :) Here is something strange. I changed the date format in preferences to this: Thursday, December, 10, 2015 And I typed it in exactly this way and it now turns out correct on the column for event dates :)

Now, did you try to change your date format to 10-12-2015 ? try it and see if you get the same error as me please. (This is where it gave me 10 Nov 2015)

here is my proof : correctdate

septor commented 8 years ago

I'll check into that when I get home. I'm on my work Wifi right now and it won't let me connect to my VPS for some reason!

septor commented 8 years ago

Changed the format to 9-12-2015 and it worked just fine again.

Edited an existing userday, worked fine. Added a new userday, worked fine. Edited the newly added userday, worked fine.

Not really sure what's up. It could be your server configuration, but I don't know why.

Norwayman commented 8 years ago

Very strange I must say. Thank you very much for trying. I will see how I get on.

  1. des. 2015 07:45 skrev "Patrick Weaver" notifications@github.com:

Changed the format to 9-12-2015 and it worked just fine again.

Edited an existing userday, worked fine. Added a new userday, worked fine. Edited the newly added userday, worked fine.

Not really sure what's up. It could be your server configuration, but I don't know why.

— Reply to this email directly or view it on GitHub https://github.com/septor/dateplus/issues/1#issuecomment-163239947.