Downloaded and installed Stock module and Stock API.

Checked the boxes next to Stock module and Stock API and went to status report. Status report told me I had to run the database update script. I run that and get this error message:

An error occurred. http://www.example.com/update.php?id=6&op=do
Fatal error: Call to undefined function _system_update_utf8() in /home/example/public_html/modules/stock/stock.module on line 377

Went to admin/site configuration/stock settings and got this message:

* warning: Missing argument 1 for drupal_get_form() in /home/example/public_html/includes/form.inc on line 69.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in /home/example/public_html/includes/form.inc on line 366.

Please help!

Comments

MaffooClock’s picture

I can confirm this problem.

e-roula’s picture

i have the Missing argument problem too. i installed stock api and stock modules, stock api settings are working fine, but when i go to stock settings i get this error message:

* warning: Missing argument 1 for drupal_get_form() in C:\AppServ\www\stormnew\includes\form.inc on line 69.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in C:\AppServ\www\stormnew\includes\form.inc on line 366.

any idea why?? i checked the database and the tables stock and stockapi are both there but empty. is this normal?

thanks.

kbahey’s picture

Please disable then uninstall the module.

Then download the 6.x-1.x-dev version and see if it has the same problem or not.

rebaths’s picture

Yes! This worked, thank you!!! It seems like a great module, thank you!

kbahey’s picture

Version: 6.x-1.0 » 6.x-1.x-dev
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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