Ok, here we go.
Installed Filemanager and Acidfree, when I go to the settings page for each module I get error messages.
http://knightsetarmis.co.uk/admin/settings/acidfree brings up:
Fatal error: Call to undefined function: form_select() in /mounted-storage/home15b/sub002/sc17453-URRL/knightsetarmis.co.uk/modules/acidfree/acidfree.module on line 276
http://knightsetarmis.co.uk/admin/settings/filemanager brings up:
Fatal error: Call to undefined function: form_textfield() in /mounted-storage/home15b/sub002/sc17453-URRL/knightsetarmis.co.uk/modules/filemanager/filemanager.module on line 530
I just had a chat with a mate who explained that the Drupal PHP Forms library has changed in 4.7. I enabled the lagacy module but they still don't work.
I took a look at Drupal Docs, these functions (form_select and form_textfield) are in 4.6 http://drupaldocs.org/api/4.6/group/form and are supposed to be in 4.7 http://drupaldocs.org/api/head/group/form". though they are not working.
I took a look at CVS legacy module http://cvs.drupal.org/viewcvs/drupal/drupal/modules/legacy.module?rev=1.8&view=log but don't know what to do.
My mate suggested asking somebody to post the most recent legacy.inc up here or getting it commited to the head or something.
I fear that I am getting a little confused.
Thanks in advance
LilNick
Comments
Do you recon it could be something to do with this?
I'm replying to my own post with further information I have found.
http://cvs.drupal.org/viewcvs/drupal/contributions/modules/filemanager/. Noting "merged in acidfree patches for forced security fixed some file not found issues.".
I found the link on http://drupal.org/node/35790 which was a discussion about form_textfield().
Just hoping that it might help someone explain what I need to do to resolve the original PHP forms issue?
LilNick
4.6 -> 4.7 module conversion v.s removal of legacy.module
Looking at the document on upgrading modules from 4.6 to 4.7 (http://drupal.org/node/22218), there are quite a few other things that need to be done to a module before it will work properly in 4.7. I don't think the retro-forms implementation in lgeacy.module can/will cover all of that.
There is also an issue posting (http://drupal.org/node/61504) that indicates that legacy is going to removed in 4.8 anyway?
Thanks for the response.
you're a gem, I can now downgrade to 4.6 before I put any more blood, sweat and tears into this project ;-)
Cheers Chris
LilNick.