I installed the wishlist module as prescribed and when I click on the SETTINGS/WISHLIST link (http://localhost/drupal/?q=admin/settings/wishlist) I receive the following error:
Fatal error: Call to undefined function form_textarea() in C:\wamp\www\drupal\modules\wishlist\wishlist.module on line 401
I'm a drupal newbie, however, I received a similar error with the SimpleAccess module (Fatal error: Call to undefined function form_submit() in C:\wamp\www\drupal\modules\simple_access\simple_access.module on line 304) and am suspecting that perhaps I've either A) messed up my drupal install somehow or B) have a larger WAMP configuration issue and that this error is not specific to the WishList module.
I have searched the drupal site to no avail and have no idea what direction to go with this error. Any suggestions would be greatly appreciated. Thanks
Comments
Comment #1
scott.mclewin commentedThere has been a major overhaul of the forms subsystem in Drupal for version 4.7, and functions such as form_textarea no longer exist. Each module maintainer has a bit more work this time around to get their modules to migrate from 4.6 to 4.7. To the best of my knowledge I've correctly done that work for the wishlist module.
After reading your report I double checked that I had properly done the 4.7 branch in CVS and that both HEAD and DRUPAL-4-7 in CVS contained the 4.7 version of the wishlist module. They do.
I suspect that you have accdientally blended Drupal 4.6 modules with the Drupal 4.7 beta installation. I recommend that you double check the filenames of the tar.gz files you downloaded for core Drupal and the contributed modules to make sure that the version numbers match.
You describe yourself as new to Drupal. I recommend sticking with 4.6 until 4.7 is through the beta cycle. Many modules have yet to be reworked for version 4.7, and the Drupal core itself on 4.7 is bound to have pre-release issues. For somebody who is learning Drupal these errors may be confounding - you won't know whether the error is the result of a mistake you made or from a bug in the code.
If you find that your versions are indeed in sync and you continue to see this error with the wishlist module please reopen this issue. From the information you provided and what I've look into, this support request is closed.