PHP Errors

View planned events from the WoW AddOn GroupCalendar

Moderator: Ulminia

PHP Errors

Postby blkspectre » Sun Jun 15, 2008 10:59 am

hi, didnt see this anywhere else, soooo. this is what i'm getting -


PHP Errors
addons/GroupCalendar/guild/include/calendar_functions.php
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime
Notice line 541: Undefined variable: starttime

line 541
Code: Select all
$eventdata[$row["d"]]["stime"][] = $starttime


anyone know what i need to do? thx in advance
blkspectre
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Thu Jun 12, 2008 6:37 pm

PHP Errors

Postby hades200082 » Sun Jun 15, 2008 3:31 pm

change your error reporting setting in your php.ini to not show notices in php.

Notices are non-critical.. they're not even considered errors by most devs ;)

If you don't know how to change your php.ini file or don't have access you could attempt to change the error reporting method by placing the below code in the very top of settings.php on it's own line.

Code: Select all
error_reporting(E_ALL E_NOTICE); 
hades200082
WR.net Apprentice
WR.net Apprentice
 
Posts: 31
Joined: Tue Oct 16, 2007 8:00 pm

PHP Errors

Postby PleegWat » Sun Jun 15, 2008 4:26 pm

Roster coding guidelines require it to not produce notices. These guidelines also apply to addons if they want to be certified.

Also, the above solution won't work. Roster has its own error handler, which doesn't respect the error_reporting setting.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm


Return to Group Calendar

Who is online

Users browsing this forum: No registered users and 1 guest

cron