I just upgraded from 4.6.3 to HEAD cvs, and it's generally gone smoothly. However, several setting pages do not work, as they give errors such as "Fatal error: Call to undefined function: form_checkbox()" or "Fatal error: Call to undefined function: form_radio()". I checked to make sure that legacy.inc is in the includes director, and it is.

What's up?

Thanks,
Aaron

Culture Fix Web Identity & Design
Digital Folk Art (my blog)

Comments

kiev1.org’s picture

use new function
drupal_get_form

goncalo.dumas’s picture

I’m no php programmer, but I cought the idea that this function (form_checkbox()) no longer functions on the CVS version of Drupal, is that right?

Is it simple to replace this function? There is a module I use in version 4.6.3 (taxonomy_hide) that won’t function on 4.7… I gess it all about the user’s interface functions that are not recognised by 4.7.

;o)

sangamreddi’s picture

HI,

I got the same error, when i upgrade to latest Drupal Head.

In common.inc around line 1346 i found all the inc's are be called but legacy.inc isn't called there. So i added it manually

require_once './includes/legacy.inc';

It solved upto some extent, however, Tinymce module isn't working.

I know this is not the right way, someone will help.

Sunny
www.gleez.com

kiev1.org’s picture

this unfortunately does not help for FckEditor

sangamreddi’s picture

kiev1.org’s picture

Help to find FckEditor for 4.7 Drupal? In CVS it only for Nov 9?