PDA

View Full Version : Running Calendar from a different file


travis
05-03-2006, 02:12 PM
I am installing the calendar to a website and running it from calendar.php instead of index.php. I simply copy the contents of the /index.php file into calendar.php. The calendar will run just fine from calendar.php, but when I do so, and click on the event button, I get the following error:

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/trumanma/public_html/calendar/calendar/demo.php:6) in /home/trumanma/public_html/calendar/calendar/events/index.php on line 261

Warning: Cannot modify header information - headers already sent by (output started at /home/trumanma/public_html/calendar/calendar/demo.php:6) in /home/trumanma/public_html/calendar/calendar/events/index.php on line 262



It's apparent that ... /events/index.php is not a text file, so where could I find out how to get rid of this warning?

Travis var ol_width=200; var ol_delay=100; var ol_fgcolor="#FFFFFF"; var ol_bgcolor="#AAAAAA"; var ol_offsetx=10; var ol_offsety=10; var ol_border=1; var ol_sticky=1; var ol_vauto=1;

Brian
05-03-2006, 05:37 PM
The calendar.php file can not be modified. It contains very important code integral to the calendar application. Please restore this file and log into the Setup Manager.

ve9gra
05-03-2006, 08:24 PM
There is no need for you to modify any files from the package what-so-ever. If you want to run the calendar from a different file, just follow the instructions in the Online Documentation (http://docs.easyphpcalendar.com/) to properly integrate the calendar into your own pages.