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

PHP Errors
Old 02-03-2005, 04:57 PM   #1
anthony
Calendar User
 
anthony is offline
Join Date: Feb 2005
Posts: 11
Default PHP Errors

Hi Brian,

Thanks for getting back to me so quickly about the XHTML 1.1 question. I have another question for you. When I load a page on the district site that has a calendar on it, I get the following errors in /var/log/httpd/error_log (we're running Apache on an OS X server):

Quote:
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: keyError in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: noOld in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: showDateS in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: showDateE in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: zofL in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: listEvents in /Library/WebServer/Documents/calendar/functions/listings.php on line 1
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: CSS in /Library/WebServer/Documents/calendar/showCalendar.php on line 74
[Thu Feb 3 14:40:18 2005] [error] PHP Notice: Undefined variable: OL in /Library/WebServer/Documents/calendar/showCalendar.php on line 74
Is this a problem with my coding? or is it something to do with ECS? Here's what my code looks like:

Code:
<?php
	include ("district_css.php");
	topstuff1a(); 
	
	// calendar stuff
	$OL=1; $CSS=1; 
	require ("calendar/showcalendar.php"); ?>
	// end calendar stuff
I'm using PHP to pull code like a server-side include, so the topstuff1a() method fills in the code up to the <head> tag. Thanks for your help!

Anthony
 

Old 02-03-2005, 05:01 PM   #2
anthony
Calendar User
 
anthony is offline
Join Date: Feb 2005
Posts: 11
Default

Never mind, I found a post where you commented on this same problem. Sorry about that. If something is still wrong after applying your fix, I'll post. Otherwise, sorry for the thread creation.

Edit: I'm still getting the following errors after applying your fix.

Code:
[Thu Feb  3 15:07:59 2005] [error] PHP Notice:  Undefined index:  showTheme in /Library/WebServer/Documents/calendar/showcalendar.php on line 31
[Thu Feb  3 15:07:59 2005] [error] PHP Notice:  Undefined variable:  PCSS in /Library/WebServer/Documents/calendar/showcalendar.php on line 41
[Thu Feb  3 15:07:59 2005] [error] PHP Notice:  Undefined variable:  LIST in /Library/WebServer/Documents/calendar/showcalendar.php on line 69
Thanks,
Anthony

Last edited by anthony; 02-03-2005 at 05:12 PM.
 

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

As you can see, all those are notices... which most of the time can be ignored... I'm assuming the fix you're referring to is the error_level(0) fix? (unsure of syntax, memory failing me)

You could ultimately change the setting right in your php.ini... set it so that
Code:
error_reporting = E_ALL & ~E_NOTICE
and that should remove all notices from all scripts.
 
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
undefined function: html_entity_decode() using php prior to version 4.3 jperry1 General Support 4 07-19-2005 12:23 PM
What if my host refuses PHP loadable extensions (ioncube)? gmckenzi General Support 4 09-02-2004 04:52 PM
Adding the calander to a existing php page cyberchick General Support 7 01-28-2004 04:11 AM
{Fixed} Problem adding an event ucb General Support 23 11-19-2003 06:31 PM



All times are GMT -4. The time now is 08:04 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 |