Closed (fixed)
Project:
Links Package
Version:
master
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jan 2006 at 19:53 UTC
Updated:
4 Feb 2006 at 20:01 UTC
Hi folks,
Got this error in the links module:
Fatal error: Call to undefined function: form_select() in /var/www/wlp_play/modules/links/links.module on line 246
Looks like this file should be in the source:
http://drupaldocs.org/api/head/file/includes/legacy.inc/source
But that file doesn't exist.
Seems to be here also:
http://drupaldocs.org/api/head/function/form_select
Just doesn't seem to be in the cvs.
What's up?
Mike
Comments
Comment #1
eaton commentedAre you using the latest CVS version? This should be fixed in the latest version.
Comment #2
mgiffordWas the cvs version.. Might be a 2-3 days old now mind you..
I did get it fixed with the legacy.inc file but had to change this line.
return theme('form_element', $title, '
'. $select .'
', $description, 'edit-'. $name, $required); // , _form_get_error($name));
I didn't find the legacy.inc file in the includes directory mind you.
Ok, just updated the links directory from the cvs and it is working now.. Should have tried that earlier.
Mike
Comment #3
syscrusher commentedGreetings!
The current CVS version has no more calls to form_select. The links administration panel in links.module is still not converted to 4.7 API; that is a known TODO item and is being addressed.
Syscrusher
Comment #4
syscrusher commentedComment #5
(not verified) commented