I am trying to install Take Control module. The Take Control module itself is installing without any error but when I proceeded to install the File Browser submodule it gives me the following error.

Notice: Undefined index: file in take_control_menu_build_first_item() (line 43 of C:\Program Files\Zend\Apache2\htdocs\drupal-7.8\sites\all\modules\take_control\includes\common.inc).
Notice: Undefined index: file in take_control_menu_build_first_item() (line 50 of C:\Program Files\Zend\Apache2\htdocs\drupal-7.8\sites\all\modules\take_control\includes\common.inc).

I did not experience the same problem when installing the Quick Permissions module though.

Comments

atojimenez’s picture

Title: Take Control not Installing on Drupal 7.8 » Take Control not Installing on Drupal 7.8 on a Windows XP box

Regarding this issue, I used ExtJs version 3.4.0.

Jean Gionet’s picture

it also doesn't work on a ubuntu server.. getting the same errors.

Notice: Undefined index: file in take_control_menu_build_first_item() (line 43 of /var/webs/master/sites/all/modules/take_control/includes/common.inc).
Notice: Undefined index: file in take_control_menu_build_first_item() (line 50 of /var/webs/master/sites/all/modules/take_control/includes/common.inc).

If I go to this module's admin section I get:

Warning: Parameter 1 to take_control_fb_settings_form() expected to be a reference, value given in drupal_retrieve_form() (line 773 of /var/webs/master/includes/form.inc).

berti2k’s picture

Hi,
same problem here on Linux Mint 11, Drupal 7.9 if i open the configuration dialog:

Warning: Parameter 1 to take_control_fb_settings_form() expected to be a reference, value given in drupal_retrieve_form() (line 785 of /var/www/drupal/includes/form.inc).

If i enable the Quick permissions Module:

    Notice: Undefined index: file in take_control_menu_build_first_item() (line 43 of /var/www/drupal/sites/all/modules/take_control/includes/common.inc).
    Notice: Undefined index: file in take_control_menu_build_first_item() (line 50 of /var/www/drupal/sites/all/modules/take_control/includes/common.inc).
bhowell09’s picture

I'm having the same issue with an IIS install with Drupal 7.9:

Error messageWarning: Parameter 1 to take_control_fb_settings_form() expected to be a reference, value given in drupal_retrieve_form() (line 785 of ...\includes\form.inc).

grahamshepherd’s picture

I get the same problem, including #4, Drupal 7.9 on linux. It's not simply an installation issue, the error messages are a frequent bleat on the admin pages. (Otherwise a great module, thanks.)

jorditerns’s picture

Title: Take Control not Installing on Drupal 7.8 on a Windows XP box » Take Control not Installing on Drupal 7.9 on Linux
Priority: Normal » Major

I am trying to install Take Control module. The Take Control module itself is installing without any error but when I proceeded to install the File Browser submodule it gives me the following error.

Notice: Undefined index: file in take_control_menu_build_first_item() (line 43 of C:\Program Files\Zend\Apache2\htdocs\drupal-7.8\sites\all\modules\take_control\includes\common.inc).
Notice: Undefined index: file in take_control_menu_build_first_item() (line 50 of C:\Program Files\Zend\Apache2\htdocs\drupal-7.8\sites\all\modules\take_control\includes\common.inc).

I tried to use ExtJs version 3.4.0. and 3.1.0

michaelrajchandra’s picture

I too am facing the same problem...

jeff.maes’s picture

Status: Active » Needs review
StatusFileSize
new542 bytes

I has nothing to do with ExtJs, it's an error of PHP 5.3.
I've made a small patch for this one.

Oleksandr.Masovets’s picture

StatusFileSize
new1 KB

Here is the patch which will fix initial issue.

Oleksandr.Masovets’s picture

StatusFileSize
new1 KB

Sorry, forgot to remove one more line.
Here is correct patch.

hyperidler’s picture

OS openSuse 11.2
Drupal 7.10

Krasnyj,
I downloaded your patch from #10 directly to my linux system. When I tried patching common.inc (patch common.inc take_control_common.inc_.patch) I received the following error:

patching file common.inc
patch: malformed patch at line 28:

I am not too familiar with the patch command and its file format so I was hoping you had some insight.

Oleksandr.Masovets’s picture

@hyperidler
Here is an article how to work with patches http://drupal.org/node/707484
I think it will help you. Cheers.

mfby2k’s picture

the patching gives this error

D:\Programing\drupal\Drupal Module Patcher\bin>patch < take_control_common.inc_0.patch --binary
patching file common.inc
Hunk #1 FAILED at 40.
patch: **** malformed patch at line 28:

Oleksandr.Masovets’s picture

@mfby2k
I think you need to add an empty string in the end of the file. Hope it will help.

borngunners’s picture

I am having the same issue as #13. I have added the empty string, but I still have the same problem. Please help.
Thanks

r_honey’s picture

Assigned: Unassigned » r_honey
Status: Needs review » Fixed

Okay guys, all issues from this thread have been fixed...

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.