PDA

View Full Version : {Fixed} Events Added Won't Show Up


Kr0n0s
11-20-2003, 04:38 PM
I just install the script and after I tried to add some events ... they wouldn't show up in the calendar. I checked the esdates.txt file but nothing was added. Only the sample dates already in there would show up. I did edit the config file to use flat file and checked the chmod but still no luck.

on another note, when i try to include the calendar, using the include command, even the sample dates won't show up ... only the blank calendar ....

anyone have any idea?

Brian
11-20-2003, 04:41 PM
Do you have a link to the script so I can see what's happening?

Kr0n0s
11-20-2003, 04:46 PM
here is the link for the calendar.php that i was testing

and here is the working page that i included the script.

Brian
11-20-2003, 04:55 PM
All of the calendar files, including graphics and the flat file, need to be in the same folder from where they are called. It looks like the ESCalendar files are in a folder named calendar but it's being called from another folder. When this happens, the paths to the graphics and the flat file are not going to be correct. Simply having all of the files where they are needed should fix the problem.

Kr0n0s
11-20-2003, 05:07 PM
I moved the files ... now the graphics seem to work in the main webpage ... but i still can't seem to add any event .. :(

Brian
11-20-2003, 08:34 PM
If you're using a flat file database, the online editor won't work. It's only for SQL databases. You will need to edit the esdates.txt file by hand.

Just open that file and add or delete lines as necessary. For new events the format is "startdate,enddate,description".

Note that you can not use commas in the description or it will break the script. (This is true only for flat file databases). There should be a fix for this in a future version. Also, the dates should be in a mm-dd-yyyy or yyyy-mm-dd format. It will not accept dd-mm-yyyy formatting of dates.

Let me know if this helps.

Kr0n0s
11-24-2003, 11:15 PM
I like to use flat file because of its portability ... easier to move between hosts ... but since it lack functionality ... I switched to using mysql instead ... this fix the problem and everything works like it should ..

however now I notice a little bug in my calendar that instead of display an apostrophe it display 's when you mouseover it ... for example .. instead of Today's it display Today's ... can you tell me where I can correct this?

you can even seen this bug on the demo calendar here :P .. i posted a test for Nov 12 (if no one edited it) .. ;)

Brian
11-25-2003, 12:25 AM
Originally posted by Kr0n0s@Nov 24 2003, 11:15 PM
I like to use flat file because of its portability ... easier to move between hosts ... but since it lack functionality ... I switched to using mysql instead ... this fix the problem and everything works like it  should ..

however now I notice a little bug in my calendar that instead of display an apostrophe it display 's when you mouseover it ... for example .. instead of Today's it display Today's ... can you tell me where I can correct this?

you can even seen this bug on the demo calendar here  :P .. i posted a test for Nov 12 (if no one edited it) ..  ;)
Please see this post:

http://www.esscripts.com/forum/index.php?a...t=ST&f=39&t=123 (http://www.esscripts.com/forum/index.php?act=ST&f=39&t=123)

Kr0n0s
11-25-2003, 03:58 AM
oh ... so it will be fixed by 4.2 ... :) ... can't wait ...

thanks again for the great script ... keep up the good work