Fatal error: asset module problems
matus - June 16, 2008 - 13:02
I would need help. I am having difficulties with asset module.
I am using TinyMCE, everything looks ok but when I want to add asset the message below comes up...
Fatal error: Call to undefined function: asset_wizard_directory_options() in /home/mhd-01/www.matus.it/htdocs/mimi/sites/all/modules/asset/asset_wizard.inc on line 562
The line 562 is the '#options'
$form['parent'] = array(
'#type' => 'select',
'#title' => t('Directory'),
'#default_value' => $form_values['parent'] ? $form_values['parent'] : $_GET['dir'],
'#options' => asset_wizard_directory_options(),
'#weight' => -5,
);
thanx

Are you using the latest
Are you using the latest release of asset? (currently 5.x-1.0-beta4)
There was a bug in beta2 (http://drupal.org/node/252476). The missing function should now be defined in line 806 of the same file.
If you have updated from an earlier release, have you run update.php?
Generally, the first place to look in similar cases is the module's issues
(http://drupal.org/project/asset). Often the problem has been already reported and possibly fixed.
Thank you ,.,. I was not
Thank you ,.,. I was not using the latest version :)
report bugs in the issue queue
Hey Matus,
It's always a good idea to report bugs in the module's issue queue instead of posting a forum topic about it. This way the maintainer of the module can spot it, and fix it, much quicker.