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

Mouseover / overLIB javascript error
Old 09-02-2005, 06:18 AM   #1
tabone5000
Calendar User
 
tabone5000 is offline
Join Date: Aug 2005
Posts: 4
Default Mouseover / overLIB javascript error

Using version 6.2.11; just bought the license yesterday. The mouseover feature returns a javascript error of "expected a ')'" in the middle of some of the displayed events. I have the proper <?php $OL=1; require("calendar/calendar.php"); ?> after the body and <?php $CSS=1; require("calendar/calendar.php"); ?> before the end-head. (And it's enabled in the manager.) Everything else on the calendar works just fine.

When I view source of the broken page, I notice the javsacript isn't loading into the body like it should. The page in question is here: http://dev2.worldcinemaonline.com/discuss.php If you view the source, you can see on line 304, it loads:

<script type="text/JavaScript" src="/calendar/overLIB/overlib_mini.js"><!-- overLIB (c) Erik Bosrup --></script><script src="/calendar/overLIB/overlib_anchor.js"></script>

and then starts printing out our site code. Comparing this to other working calendars, there should be more code in between. (Pop-ups work just fine.) Am I missing something? Is there something I have to get modified on our server? I also found a thread which asked to go to the overLIB site, and that site works fine (as does ESPN and the demo, etc.).

Any help you can provide would be MUCH appreciated.

-Eric
 

Old 09-02-2005, 08:07 AM   #2
Andreas
Calendar User
 
Andreas is offline
Join Date: May 2004
Posts: 95
Default

I haven't an answer to your question. But I have a question to you: in your calendar you wrote not "next" oder "last" month, you wrote "August" und "October" - that's much nicer, than "next" or last". How did you make this?

Thanks for your answer.
 

Old 09-02-2005, 08:07 AM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Actually, that's how the code should be outputted... But there is something wrong with the output from the calendar... For some reason, your site seems to be stripping out the backslashes that are required for the overLib code. For example, this is the code you have for the 17th
HTML Code:
onmouseover="return overlib('&lt;table width=''100%'' border=''0'' cellpadding=''2'' cellspacing=''0'' class=&quot;popupDateTable&quot;&gt;.....
when you should have
HTML Code:
onmouseover="return overlib('&lt;table width=\'100%\' border=\'0\' cellpadding=\'2\' cellspacing=\'0\' class=&quot;popupDateTable&quot;&gt;.....
There's not much difference, but it's a big one. For some reason it outputs '' (double single quote), instead of what it should \'

Brian, know of any reason why this would occur?
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-02-2005, 08:55 AM   #4
tabone5000
Calendar User
 
tabone5000 is offline
Join Date: Aug 2005
Posts: 4
Default

Andreas - i just set the CSS for the month name as 1px, black (so it's semi-hidden) and turned off the admin navigation. i then used PHP to determine the month and year for navigating back and forth, named the graphics accordingly (so, for example, "FEBRUARY" contains "02" in the filename) and it just shows (with links) 'prev month', 'this month', and 'next month'. as you navigate through, it changes accordingly. if you can do PHP, it's not too tricky!
 

Old 09-02-2005, 09:02 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Are you outputting the calendar to a variable then performing actions on that, like to assist with creating your header?
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-02-2005, 09:09 AM   #6
tabone5000
Calendar User
 
tabone5000 is offline
Join Date: Aug 2005
Posts: 4
Default

The first few lines of code in the php file are:

<?php $CSS=1; require("calendar/calendar.php"); ?>
</head>
<body bgcolor [some php body attributes] >
<?php $OL=1; require("calendar/calendar.php"); ?>

and then, for the calendar:

<?php $TOC=1; require ("calendar/calendar.php"); ?>

The paths are correct as well. I'm not sure what you mean about the cal being a variable, but there's nothing going on with three required lines of code; the only other mods have been in the css. We are using a php 'include' for the header, yes, and it loads right after the '$OL=1' line.
 

Old 09-02-2005, 09:14 AM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I've not seen this before and there isn't any code in the calendar script that would produce this... The characters are probably being changed by a setting on the server?

I'd need access to your server to troubleshoot this. If that's possible, please open a support ticket and I'll look into it.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-05-2005, 05:29 AM   #8
tabone5000
Calendar User
 
tabone5000 is offline
Join Date: Aug 2005
Posts: 4
Default

It was, in fact, the quotes. Our admin set it up with 'magic_quotes' and it seems resolved. Thanks for the 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
IE mouseover popup runtime error crazypsp General 5 08-02-2005 10:25 PM
Reinstall to new directory causing overLib error? events won't pop-up wakalapi General Support 1 05-05-2005 11:02 AM
Overlib not working Denis General Support 5 01-10-2005 01:53 PM
Overlib 4.0 error message lbn1124 General Support 2 12-19-2004 05:53 PM
PHPTRIAD Install Error Menekali General Support 3 11-17-2003 02:36 PM



All times are GMT -4. The time now is 12:02 AM.


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 |