Borked RC7 install, can't add any modules, (RESOLVED)

Any questions regarding enabling/disabling various modules should be asked here.

Borked RC7 install, can't add any modules, (RESOLVED)

Postby ChrisRut » Tue Jan 26, 2010 12:58 pm

At some point I borked my RC7 install, and now I can no longer add any modules (MOTD, Office_Links, Punch_Board), or I get the following error message:
Warning: Invalid argument supplied for foreach() in /var/www/timeclockdev/timeclock2/phptimeclock-2.0.0rc7/admin/application/add.php on line 294

See also screenshot: Image
The line of code in question in the foreach() is:
Code: Select all
foreach ($display_pages as $page) {
        $nested_call = START_NESTED_CALL.'output_spaces';
        $nested_call .= PARAMETER_LIST_ITEM.'3';
        $nested_call .= END_NESTED_CALL;
        output_input_field($nested_call.'On  ', 'hidden', 'display_pages[]', $page, true);
        output_break_line();
    }

When I click next I get the following:
Argument option_descriptions has an incorrect number of items.

See also screenshot: Image

This happens when trying to add ANY of the following applications, even if I am using ALL DEFAULT SETTINGS.
I am going to try and recreate the error using a fresh install so that I can give instructions on how to recreate.
-Chris
Last edited by JohnMS on Tue Apr 13, 2010 6:24 pm, edited 1 time in total.
Reason: Fixed in 2.0.0
ChrisRut
 
Posts: 8
Joined: Tue Jan 26, 2010 12:46 pm

Re: Borked RC7 install, can't add any modules

Postby JohnMS » Tue Jan 26, 2010 3:40 pm

Warning: Invalid argument supplied for foreach() in /var/www/timeclockdev/timeclock2/phptimeclock-2.0.0rc7/admin/application/add.php on line 294


Resolved in r994 and r995
"Injustice is happening now; suffering is happening now. We have choices to
make now. To insist on absolute certainty before starting to apply ethics
to life decisions is a way of choosing to be amoral." - Richard Stallman
JohnMS
 
Posts: 160
Joined: Tue Jan 05, 2010 12:28 am
Location: Sioux Falls, SD

Re: Borked RC7 install, can't add any modules

Postby JohnMS » Tue Jan 26, 2010 3:42 pm

Argument option_descriptions has an incorrect number of items.
See also screenshot: Image

This happens when trying to add ANY of the following applications, even if I am using ALL DEFAULT SETTINGS.
I am going to try and recreate the error using a fresh install so that I can give instructions on how to recreate.
-Chris


This was likely occurring because the pages was not being passed to the next page.
"Injustice is happening now; suffering is happening now. We have choices to
make now. To insist on absolute certainty before starting to apply ethics
to life decisions is a way of choosing to be amoral." - Richard Stallman
JohnMS
 
Posts: 160
Joined: Tue Jan 05, 2010 12:28 am
Location: Sioux Falls, SD

Re: Borked RC7 install, can't add any modules

Postby ChrisRut » Tue Jan 26, 2010 3:45 pm

Thanks John,
Looks like I'll be patiently awaiting RC8 :P
ChrisRut
 
Posts: 8
Joined: Tue Jan 26, 2010 12:46 pm

Re: Borked RC7 install, can't add any modules

Postby josephnexus » Fri Feb 05, 2010 1:12 pm

ChrisRut wrote:Thanks John,
Looks like I'll be patiently awaiting RC8 :P


This has been released. Did it fix the issue for you?
josephnexus
Site Admin
 
Posts: 53
Joined: Sun Jan 03, 2010 9:43 am

Re: Borked RC7 install, can't add any modules

Postby JohnMS » Sun Feb 07, 2010 9:00 pm

Did it? :?:
"Injustice is happening now; suffering is happening now. We have choices to
make now. To insist on absolute certainty before starting to apply ethics
to life decisions is a way of choosing to be amoral." - Richard Stallman
JohnMS
 
Posts: 160
Joined: Tue Jan 05, 2010 12:28 am
Location: Sioux Falls, SD


Return to Modules

Who is online

Users browsing this forum: No registered users and 1 guest

cron