Gave it a shot, no luck.
I'm noticing it's happening with all the settings options too, but just the
first breadcrumbs, not the submit or confirm oneses.


On Thu, Apr 16, 2009 at 1:08 PM, Greg Schmidt <[email protected]> wrote:

>  Can you try adding
> $this->leagues = array();
> after "global $dbh;" in the __construct function in classes/slot.inc and
> see if that fixes this?
>
> Since we're running this inside Zikula, it traps and discards all warnings
> (unless you set it to show all warnings, in which case nothing works...), so
> I can't effectively test this myself.
>
> Greg.
>
>  ------------------------------
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Todd McDonald
> *Sent:* Wednesday, April 15, 2009 9:46 PM
>
> *To:* Development discussion for the Leaguerunner league management system
> *Subject:* Re: [Leaguerunner] GameSlot Handler has no menu?
>
> I'm running with the latest SVN.
> When I select 'new gameslot' for a specific field, I'm taken to the
> calendar selction.  I get two warnings there:
> -array_merge() 
> [function.array-merge<http://sudburyultimate.com/leaguerunner/function.array-merge>]:
> Argument #2 is not an array comes from  --  $crumbs = array_merge($crumbs,
> $breadcrumbs);
> so $breadcrumbs is not being updated properly.
> -implode() 
> [function.implode<http://sudburyultimate.com/leaguerunner/function.implode>]:
> Invalid arguments passed  -- function theme_links from theme.inc
>
> I can select a date and create the game slot.
> I can review the game slot.
> Once I submit the gameslot I get a repeat of:
> *Warning*: array_key_exists() 
> [function.array-key-exists<http://sudburyultimate.com/leaguerunner/function.array-key-exists>]:
> The second argument should be either an array or an object in *
> /leaguerunner/classes/slot.inc* on line *31
> *I get this for each week I repeat the gameslot.
>
> I'm catching up with PHP, hopefully I'll have it down pretty soon.
> Thanks for all the help :)
> Cheers,
> Todd
>
>
>
> On Wed, Apr 15, 2009 at 4:40 PM, Greg Schmidt <[email protected]> wrote:
>
>>  Are you using the Feb snapshot?  If so, you should definitely upgrade to
>> the current SVN version.  There should probably be a new snapshot taken
>> soon, as we've now resolved most if not all of the known issues with the PDO
>> conversion.  I think that would really help out those that are trying to get
>> it going for the first time.  Maybe we'd call that version 2.7, and expect a
>> version 2.8 later in the spring when OCUA has completed all the changes Dave
>> has recently posted about?
>>
>> In the version I'm running here, it adds the timeslots and then redirects
>> back to the field view page, which is probably why there is no menu code in
>> there.
>>
>> Greg.
>>
>>  ------------------------------
>>  *From:* [email protected] [mailto:[email protected]]
>> *On Behalf Of *Todd McDonald
>> *Sent:* Wednesday, April 15, 2009 4:28 PM
>> *To:* Development discussion for the Leaguerunner league management
>> system
>> *Subject:* Re: [Leaguerunner] GameSlot Handler has no menu?
>>
>>   Thanks Greg,
>> I found that bit in the admin side, but once in the "new gameslot"
>> section, the breadcrumbs craps out with a warning, and the menu doesn't draw
>> properly.  I checked the GameSlot Handler code and there isn't actually any
>> menu render code. The code is there to add gameslots, and they are
>> populating the database.  Once 'submit' is hit for the new gameslot, the
>> page goes nuts with a bunch of bad parse errors, but the database still gets
>> timeslots.
>>
>> Luckily we're only expecting 4 timeslots a week right now, so it won't be
>> such a big issue.
>> I'll take a look at some of the SQL code in the svn trunk too.
>>
>>
>> On Wed, Apr 15, 2009 at 4:15 PM, Greg Schmidt <[email protected]> wrote:
>>
>>>  Select the field you want from the fields list, and you'll get a "new
>>> gameslot" menu item under the field name.  I know it's tedious using this to
>>> set up all slots for all fields in a big league, not sure how OCUA (or even
>>> TUC) admins deal with this at the beginning of the spring.  OCUA may have a
>>> script for it (I haven't looked at the external scripts much, as they're not
>>> documented anywhere); I think our guy does some magic with Excel and exports
>>> raw SQL queries that he executes with phpMyAdmin.
>>>
>>> Greg.
>>>
>>
>> Todd McDonald
>> Webmaster - Member At Large - Sudbury Ultimate Club
>> http://www.sudburyultimate.com
>>
>> _______________________________________________
>> Leaguerunner mailing list
>> [email protected]
>> http://www.dmo.ca/cgi-bin/mailman/listinfo/leaguerunner
>>
>>
>
>
> --
> Todd McDonald
> Webmaster - Member At Large - Sudbury Ultimate Club
> http://www.sudburyultimate.com
>
> _______________________________________________
> Leaguerunner mailing list
> [email protected]
> http://www.dmo.ca/cgi-bin/mailman/listinfo/leaguerunner
>
>


-- 
Todd McDonald
Webmaster - Member At Large - Sudbury Ultimate Club
http://www.sudburyultimate.com
_______________________________________________
Leaguerunner mailing list
[email protected]
http://www.dmo.ca/cgi-bin/mailman/listinfo/leaguerunner

Reply via email to