Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Cannot go to next/previous month in FireFox, but IE is GREAT!
Old 05-21-2008, 02:24 AM   #1
javier
Calendar User
 
javier is offline
Join Date: May 2008
Posts: 2
Default Cannot go to next/previous month in FireFox, but IE is GREAT!

i've embedded the calendar into a file called url/calendar/calendar_in.php and the calendar works flawlessly in IE, but in FireFox, only the current month is displayed...and when i click on the << or >> for previous or future months, i get this error:

Fatal error: main() [function.require]: Failed opening required 'calendar.php' (include_path='.:/usr/lib/php') in /homepages/6/d202975193/htdocs/calendar_in.php on line 16

i've read numerous posts on this forum, but it's always the OPPOSITE problem, where it bombs in IE...but for me, it's FireFox that bombs....(yes, i have cleared the cache too...)

when i embeded the calendar into my webpage, i placed this line from demo.php between the <head> tags:
<?php $CSS=1; require("calendar.php"); ?>

and the rest of the code from demo.php, i put in between the <body> tags...
i think it's right since it works in IE...any idea why FireFox wont let me go to any other month???

PLEASE HELP before i pull out all my hair! Thanx in advance!

 

Old 05-21-2008, 06:09 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I don't really know what is causing this but everything on the page seems ok (except for where the $OL line is... it should be right after the <body> tag).

For some reason, when clicking on a link to "calendar_in.php" your server redirects the request to /calendar_in.php instead of staying in the same folder. What you could do is you could move the file calendar_in.php to your /htdocs/ folder and adjust the paths in your requires to be "calendar/calendar.php".

Another possible solution would be to add the $thisFile argument right before the calendar and set it to "/calendar/calendar_in.php" and that should fix your links, but I'm not too sure on how your server will handle them.

Check to make sure you don't have some kind of URL Rewriting rule enabled.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 05-21-2008, 12:44 PM   #3
javier
Calendar User
 
javier is offline
Join Date: May 2008
Posts: 2
Default

ve9gra! i tried your suggestion#2 below:

"Another possible solution would be to add the $thisFile argument right before the calendar and set it to "/calendar/calendar_in.php" and that should fix your links, but I'm not too sure on how your server will handle them."

AND IT WORKS!!! now the calendar navigates in FireFox and IE.... THANK YOU! THANK YOU! THANK YOU!

i really appreciate your prompt help!!!
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Display The Calendar Starting At The Current Month And Not The Previous Month guylevy General 6 04-04-2008 07:59 PM
Link to month in list mode Maja General Support 1 02-15-2008 06:33 PM
script is great EXCEPT luckdragon General 2 12-08-2007 10:53 PM
Getting security message when I try to go to next/previous month blnilsen General Support 3 03-19-2005 05:31 PM



All times are GMT -4. The time now is 01:47 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |