# warning: Missing argument 1 for drupal_retrieve_form() in /home/mgparisi0/public_html/includes/form.inc on line 179.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/mgparisi0/public_html/includes/form.inc on line 218.

I am running a custom language (localization)

CommentFileSizeAuthor
#9 297104.patch1.28 KBwim leers

Comments

MGParisi’s picture

I am running JQuerry Update Dev too... And there are 2 types of CCK fields, one that comes with Categories and one that comes with 3.0!

The error occurs when I am running the 3 version.

MGParisi’s picture

Selected 3.x (not the content type) only and then un-selected the value in the categories and saved. Went back in and tried to apply (sample worked great) saved

* warning: Missing argument 1 for drupal_retrieve_form() in /home/mparisi/public_html/includes/form.inc on line 179.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/mparisi/public_html/includes/form.inc on line 218.
* warning: uasort() [function.uasort]: The argument should be an array in /home/mparisi/public_html/includes/common.inc on line 2145.

summit’s picture

Hi,

I think you have the weight problem. Did you install HS in /sites/all/modules?
As described in http://drupal.org/node/285246#comment-970324 the weight problem occurs if HS is installed in
/modules instead of in /sites/all/modules.

greetings,
Martijn

MGParisi’s picture

Ok, that fixed the issue with the content CCK select (which is what I needed the most). And I am no longer getting error messages within the interface (which is nice), but the views portion of it when selecting the base element it just goes into the wheel and works forever!

I am using FF3, and I also notice that it briefly displays that I have no java script (I needed to reload the page 3 times to read it all). I can assure you I do have java script enabled.

Second note: are you going to solve the above issue, or is this a documentation issue? It mentions to put it in your site directory, but it also mentions to put it where you normally would put it in. It should say; copy this file to "sites/all/modules".

I hope we get these problems solved, this is a leap ahead of anything available, and is an AMAZING application if we can get it to work right:)

Thanks a TON!
Mike

summit’s picture

Hi,

You did install also the views patch? Does your system looks ok under admin/logs/status?
greetings,
Martijn

MGParisi’s picture

Ok, I applied the patch and it works...

The first problem is that the installation instructions doesnt tell you to specifically install it in your sites/all/modules directory,

The second problem the document points you to a link of views that is of July 14 2007. And the document states if you installed AFTER May. There is no May 2008, which means YES I installed it after May 11th! just not of the same year!

Before I installed it to the sites directory I did not get a error message in my sites status. Therefor when I moved it I missed that. If you look carefully at the patch their is clear record of it stating after May 11th 2008, but I believe the only way to get it is through CVS (which I almost did). It would be nice if Merlin provided a Dev version for 5.X version of views (or released a new version). Dispite this a few minor tweaks in the documentation would of solved my issues!

Thank You For your help!
Mike

P.S. If you need help fixing the documentation so that the issues I had would be less likely to happen again, I would be happy to work on it.

summit’s picture

Hi Mike,

I am not the programmer of this great module, I just had the same problems as you only earlier in time :)
Great if you would ask Merlin to provide the right views dev.

And I think Wim would like documentation enhancement very much, but that is up to you and him.

Glad to be of assistence!
greetings,
Martijn

MGParisi’s picture

Ahh I thought you were a Dev... Yea I would help Win if he needs, he just has to make these two points clearer or fix them in the install:(

Mike

wim leers’s picture

Title: Warnings and Complete Failure! :( » hook_requirements() should check if the module has been installed in "modules"
Assigned: Unassigned » wim leers
Category: bug » task
Priority: Normal » Minor
StatusFileSize
new1.28 KB

1) It says

Installation
------------
1) Place this module directory in your modules folder (this will usually be
"sites/all/modules/").

I guess the "usually" bit is confusing.

As of Drupal 5, it's ****EVIL**** to install modules to "modules", but I guess not everybody knows that. I'll clarify that.

I'll have to add a hook_requirements() check.

2) Hah, good catch!

I've attached the documentation patch. I haven't committed it yet because I want to add a hook_requirements() check first.

wim leers’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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