View Full Version : {Fixed} Problem adding an event
Hi!
Thank you for this nice script (especially v4.0)!
I installed the calendar on my server with no problems. But if I try to assign an event to a date it is always linked to the following day. In addition there's no description in the popup window.
Here's the URL to the calendar:
http://web573.server20.glai.de/calendar/calendar.php
Can somebody help me, please?!
Thank you!
Brian
11-13-2003, 10:48 PM
What is your GMT and what GMT is your web server in?
I'm in GMT+1 but I don't know the GMT of the server. I've uploaded a php time script (http://web573.server20.glai.de/time.php) and that shows GMT+17... Ehm, so that could be the problem.
I changed the offsettime in escal.php to +17 but the problem is still there.
Any ideas?
Thanks!
Brian
11-14-2003, 10:13 AM
Did you have this same issue with version 3?
I didn't use the version 3 so I can't tell you. Sorry.
I'll try the script on a second server to see if the error only occured on my server.
Brian
11-14-2003, 02:01 PM
If the problem persists on another server, I'll send you a copy of version 3 to try as well.
I'm having the same problem as ucb. I am also on GMT+1 and using DST. The current day is marked correct, only assigning a date is a day late. I didn't use version 3 either. Setting offsettime does not change a thing, only current day changes. I'm using php version 4.3.4, Win2000 met IIS 5, MySql 4.0.16.
When I start Calender I also have the following messages although I have set register_globals = On in php.ini:
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: mo in C:\Inetpub\wwwroot\Calendar\escal.php on line 119
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: yr in C:\Inetpub\wwwroot\Calendar\escal.php on line 120
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant startDate - assumed 'startDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 177
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: es in C:\Inetpub\wwwroot\Calendar\escal.php on line 177
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant endDate - assumed 'endDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 178
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: ee in C:\Inetpub\wwwroot\Calendar\escal.php on line 178
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant description - assumed 'description' in C:\Inetpub\wwwroot\Calendar\escal.php on line 179
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: eTitle in C:\Inetpub\wwwroot\Calendar\escal.php on line 179
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant startDate - assumed 'startDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 177
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant endDate - assumed 'endDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 178
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant description - assumed 'description' in C:\Inetpub\wwwroot\Calendar\escal.php on line 179
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant startDate - assumed 'startDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 177
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant endDate - assumed 'endDate' in C:\Inetpub\wwwroot\Calendar\escal.php on line 178
[17-Nov-2003 20:49:52] PHP Notice: Use of undefined constant description - assumed 'description' in C:\Inetpub\wwwroot\Calendar\escal.php on line 179
[17-Nov-2003 20:49:52] PHP Notice: Undefined variable: et in C:\Inetpub\wwwroot\Calendar\escal.php on line 219
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12373 in C:\Inetpub\wwwroot\Calendar\escal.php on line 223
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12373 in C:\Inetpub\wwwroot\Calendar\escal.php on line 232
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12376 in C:\Inetpub\wwwroot\Calendar\escal.php on line 234
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12374 in C:\Inetpub\wwwroot\Calendar\escal.php on line 239
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12375 in C:\Inetpub\wwwroot\Calendar\escal.php on line 239
[17-Nov-2003 20:49:52] PHP Notice: Undefined offset: 12368 in C:\Inetpub\wwwroot\Calendar\escal.php on line 219
etc...
I hope you can help us,
thanks, Akke
Brian
11-17-2003, 04:27 PM
I would really need to have access to your server so I can figure out what's going on.
PM me if you want to set something up.
geert
11-17-2003, 04:32 PM
Oups,
We have the same problem: new user with fresh script 4.0
Using WinXP, MySQL 3.23.49, phpMyAdmin 2.2.3 ,
No problems during installation, but: indeed we have the same problem as Akke and ucb:The current day is marked correct, only assigning a date is a day late.
We also have a problem with 'multiple events': When a calendar is made wiht the same activity for some days (ex. seminar waterpurification), it is not possible to add a second activity for one day within these activity (ex. speaking at seminar), although this activity seems to be saved correctly in the MySQL. Only the popup 'multiple vents' with only one activity is shown? See for this example:
http://edugo.openminds.be/kalender/calendar.php
As being a school, we really should want this nice script get at work.
Thanks in advance, can papa bring us home :) please
Geert
Same here, 'now' date is shown correctly, and planned items are shifted one day ahead.
I've also e-mailed this problem to them, hopefully i can start using it seriously...
Seems also the DATE formatting is incorrect...
When filling in an event, i need to use the formatting:
11/17/2003 till 11/18/2003 which is frustrating for european date-layout!
Another strange thing (not warning the user it goes wrong...!?)
Filling it in like 17/11/2003 till 18/11/2003
Results in:
Start Date: 05/11/2004 End Date: 06/11/2004
Cudo's to him making it freely available!
Brian
11-17-2003, 07:42 PM
Originally posted by JCD@Nov 17 2003, 06:35 PM
Same here, 'now' date is shown correctly, and planned items are shifted one day ahead.
I've also e-mailed this problem to them, hopefully i can start using it seriously...
Seems also the DATE formatting is incorrect...
When filling in an event, i need to use the formatting:
11/17/2003 till 11/18/2003 which is frustrating for european date-layout!
Another strange thing (not warning the user it goes wrong...!?)
Filling it in like 17/11/2003 till 18/11/2003
Results in:
Start Date: 05/11/2004 End Date: 06/11/2004
I don't like to kick like this, but the problem really isn't adressed by the maker of this script.
Cudo's to him making it freely available!
A simple solution for the dd-mm-yyyy style is to enter dates in the format: 17 november 2003. Unfortuantely PHP doesn't understand the dd-mm-yyyy natively.
An option would be to have dates chosen by clicking on drop-down menus? Would this be benefitial to anyone?
Brian
11-17-2003, 08:55 PM
Anyone wishing to use the dd-mm-yyyy date format, please try this link:
http://calendar.esscripts.com/escalAE2.php
drsuave
11-18-2003, 01:31 AM
I have to same sort of problem.
Offline: The events go in to the Db ok and are highlighted ok. BUT there is no information when i click on them!!!
Online: The dates are saved to the DB ok. BUT the highlighted days are incorrect (a day ahead)!!!! therefore no info is being displayed when it is clicked upon!!
you can look at this problem on http://www.argles.net/events.php
Any thoughts
PS i am in the UK and dont think this is a time problem.
drsuave
11-18-2003, 01:34 AM
Sorry forgot an example:
online:
New Wave present EZ-rollers @ Bar Eivissa is saved in the Db as 2003-11-18
and is displayed as such. But no clickable info!
PS otherwise great script!!!
drsuave
11-18-2003, 01:39 AM
sorry again - this one is a day forward!
Why does that 4.1 script accepts/displays uses the date-format correctly?
Start Date: 17-01-2004
End Date: 17-01-2004
(the event length shows two '1'-es)
The pulldown's are great! That was my primary wish for a new feature.
How can i test the 4.1 version for you???
some other suggestions:
http://calendar.esscripts.com/escalAE.php?event=edit
The space under the table is missing, so the "© 2003 Easily Simple Calendar 4.1" is directly under the table.
The navigation under the calender could be better changed to:
<< current >>
<< today >>
Not all text is 'arial', for example when adding the events... confirmation 'Event Added.' is still default font.
Would be better looking if all used text is arial, or verdana!
Maybe thereis a easy way for implementing a technique to display six months in one page.
By changing/adding an extra value in the config.php?
Brian
11-18-2003, 09:17 AM
To fix the marking and event view problems, I need someone who is having the problem to PM me so I can see how the script is executing on their server.
Brian
11-18-2003, 09:19 AM
Originally posted by JCD@Nov 18 2003, 04:37 AM
some other suggestions:
http://calendar.esscripts.com/escalAE.php?event=edit
The space under the table is missing, so the "© 2003 Easily Simple Calendar 4.1" is directly under the table.
The navigation under the calender could be better changed to:
<< current >>
<< today >>
Not all text is 'arial', for example when adding the events... confirmation 'Event Added.' is still default font.
Would be better looking if all used text is arial, or verdana!
Maybe thereis a easy way for implementing a technique to display six months in one page.
By changing/adding an extra value in the config.php?
Thanks. Cosmetic issues will be fixed in a future release.
The navigation arrows below the calendar are not part of the actual calendar script. The code to make those arrows along with the implementation are just an example of what can be done with the calendar script. Feel free to modify them for your own use.
Brian
11-18-2003, 09:21 AM
Originally posted by JCD@Nov 18 2003, 03:56 AM
(the event length shows two '1'-es)
I don't see what you are referring to. Can you post an example?
About the 'two 1'es', maybe i've looked wrong, the pulldown showed a "one" and in the dropdownlist too... so with a quick look it almost looks like the pulldownlist used two 1'es... sorry ;)
Please e-mail me the 4.1 version, so i can try out this one. Hopefully that one will work, so i can start using it.
Brian
11-18-2003, 06:02 PM
A possible solution to the incorrect day marking may have been found. If you are interested in testing the correct escal.php file, please PM me with the email address you want the script sent to.
Please only test the script if you will provide feedback.
I installed the calendar on my server with no problems. But if I try to assign an event to a date it is always linked to the following day. In addition there's no description in the popup window.
I`ve got the same problem. GMT + 1 too.
http://www.knoedlkneter.de/Scripte/Calenda...ar/calendar.php (http://www.knoedlkneter.de/Scripte/Calendar/calendar.php)
I'm currently testing with PaPa, he found a bug after i used his latest modification.
I can tell you all, this bug is seriously gonna get squished ;) Expect it this week
to be up and running for GMT+1 users! :lol:
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.