Page 1 of 1

Calendar not working

PostPosted: Wed Nov 07, 2007 9:39 am
Author: Gabzor
Your phpBB Version: 2.0.22
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL: [url]http://[/url]

PHP Version:
MySQL Version:


What was done before the problem appeared?
Nothing


What was done to try to solve the problem?
Nothing



De.scription and Message

Hi, I have a problem with the calendar.

I want to create an event using a topic, but the event doesnt show up in the calendar. If I set the event to repeat on days, it repeats every days, if i set on weeks, every weeks... But if I don't want it to be repeated and to be shown only the day of the event, it doesnt show up. Also, if I set a topic to be posted at a certain date, it still gets posted right now >.<

I don't know what's wrong, I've changed nothing to the code :S

Re: Calendar not working

PostPosted: Thu Feb 21, 2008 6:04 am
Author: fbrmcf
Guess i have the same here ... all events end up with a Jan 1st, 1970 date.

This is after an upgrade from 1.4.0 with Garage Mod to 1.4.1 + phpBB 2.0.22 also with Garage Mod + phpBB 2.0.23

PostPosted: Thu Feb 21, 2008 4:01 pm
Author: sanji
I guess you both are using the French translation of IM1.4.1, correct?

If so, there is a problem with a java.script file in the language pack : language/lang_francais/calendar.js should contain information in English as they are used by the server. If that file is completely translated, it will not work properly and you will get exactly what you observe : dates put to 1970 and erratic behaviors.

Try to copy that file from the lang_english folder to the lang_francais. Some limited parts of the form will be in English, but it should work.

sanji

Re: Calendar not working

PostPosted: Thu Feb 21, 2008 11:57 pm
Author: fbrmcf
Just copied the calendar.js from english to french ... works way better thanks <img>

I still have two strange behavior :
_ if i edit a message to change the date, first click on the calendar has undefined date (requires to click on "Today") and i need to edit the end date if there's one or it'll be lost ... not a big problem on my site, i'm the only one allowed to play with it.
_ if i edit a message without changing the date, just its body, the date(s) is(are) lost (had this same problem on 1.4.0 thought)

I can do with both of them ... i'm the only one allowed to play with calendar on my site.

PostPosted: Fri Feb 22, 2008 2:08 am
Author: sanji
Same problem on my site, but it is working fine on a fresh 1.4.1 install.

I guess there must be a problem with the French language. I will try to have a look at that when I have some time...

sanji

PostPosted: Fri Mar 07, 2008 3:08 am
Author: fbrmcf
Problem seems to be related to lang_main.php ... but haven't figured were exactly now.