Error when updating

With this addon you'll be able to view planned events from GuildEventManager or GroupCalendar

Moderator: PoloDude

Error when updating

Postby Ohlo » Mon Jun 11, 2007 10:02 pm

I searched the topics and could not find this, sorry if it is a duplicate.

When I update I am getting:

Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/bbf/public_html/roster/addons/EventCalendar/functions.php on line 123

Warning: Invalid argument supplied for foreach() in /home/bbf/public_html/roster/addons/EventCalendar/functions.php on line 123


Help?
Last edited by Ohlo on Mon Jun 11, 2007 10:03 pm, edited 1 time in total.
Image
User avatar
Ohlo
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Nov 28, 2006 8:59 am
Location: Knoxville, TN

Error when updating

Postby PoloDude » Tue Jun 12, 2007 7:33 pm

What you using, GEM or GRPCalendar?
[url=http://eu.wowarmory.com/character-sheet.xml?r=Emerald+Dream&n=Calaglin]Calaglin @ Emerald Dream [EU]
User avatar
PoloDude
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 134
Joined: Tue Jul 04, 2006 3:17 pm
Location: Belgium - Gent

Error when updating

Postby Ohlo » Tue Jun 12, 2007 7:52 pm

Calendar
Image
User avatar
Ohlo
WR.net Apprentice
WR.net Apprentice
 
Posts: 50
Joined: Tue Nov 28, 2006 8:59 am
Location: Knoxville, TN

Error when updating

Postby PoloDude » Tue Jun 12, 2007 9:11 pm

A fellow addon dev is using grpcalendar too and is having no issues :?
Have you tried using a new lua file? (deleting or renaming the old one)?
[url=http://eu.wowarmory.com/character-sheet.xml?r=Emerald+Dream&n=Calaglin]Calaglin @ Emerald Dream [EU]
User avatar
PoloDude
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 134
Joined: Tue Jul 04, 2006 3:17 pm
Location: Belgium - Gent

Error when updating

Postby Jabouty » Thu Jul 26, 2007 7:28 am

That problem comes from the conf.php file not being edited prior to uploading. For GroupCalendar users this addon is not usable OOB. Open your EventCalendar's Conf.php file and on line 7 change
Code: Select all
   $addon_conf['EventCalendar']['UpdateMode'] = 'GEM';
to read
Code: Select all
   $addon_conf['EventCalendar']['UpdateMode'] = 'GroupCalendar';
. This will allow the files to properly parse your .lua file, and will kill the errors given.

Good luck
Image
User avatar
Jabouty
WR.net Apprentice
WR.net Apprentice
 
Posts: 60
Joined: Thu Dec 28, 2006 6:22 pm

Re: Error when updating

Postby driller » Wed Jun 18, 2008 10:24 pm

Jabouty wrote:That problem comes from the conf.php file not being edited prior to uploading. For GroupCalendar users this addon is not usable OOB. Open your EventCalendar's Conf.php file and on line 7 change
Code: Select all
   $addon_conf['EventCalendar']['UpdateMode'] = 'GEM';
to read
Code: Select all
   $addon_conf['EventCalendar']['UpdateMode'] = 'GroupCalendar';
. This will allow the files to properly parse your .lua file, and will kill the errors given.

Good luck


great thx for works a treak now.
User avatar
driller
WR.net Apprentice
WR.net Apprentice
 
Posts: 21
Joined: Wed Sep 26, 2007 5:14 pm


Return to Event Calendar

Who is online

Users browsing this forum: No registered users and 0 guests

cron