Closed (duplicate)
Project:
Drupal core
Version:
x.y.z
Component:
archive.module
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2005 at 23:55 UTC
Updated:
24 Oct 2005 at 18:53 UTC
Jump to comment: Most recent file
Comments
Comment #1
gtcaz commentedSorry for the typos--"and link to an archive page" should be "any link to an archive page," and "deaul drupal favicon" should be "default drupal favicon."
Comment #2
robertgarrigos commentedThis is the php error message:
Fatal error: Call to undefined function _form_get_error() in /Library/WebServer/Documents/drupal-head/drupal/includes/legacy.inc on line 422
The '_form_get_error()' function calls in that file, legacy.inc, seems to be wrong. The right one is 'form_get_error()'. Thus by changing all those function calls the problem should be fixed. However, I don't know if this is just a mistake or something made on purpose because of the new form API Drupal developers are talking about these days in Amsterdam.
Comment #3
gtcaz commentedGood find--I just saw that. I also see the same error on lines 212 and 187 in addition to 422. Will make your change and see what happens.
Comment #4
gtcaz commentedHere's a patch that replaces all the functions.
Comment #5
robertgarrigos commentedChanging status to 'patch (code needs review)' so any of the core developers can check also whether this is something related to the new forms API or not. In any case, they need to know there is a patch to review and commit if it's ok.
Comment #6
gtcaz commentedIntersting that this improved the date widget for the codemonkeyx archive.module but, upon replacing the core archive.module I get the following error:
This seems to be the same problem as this bug report.
Comment #7
robertgarrigos commentedyup. I just realized it is the same error. We'll need to wait until new form API is applied to the cvs modules.
Comment #8
gtcaz commentedRobert -- thanks for your help on this. At least we have things narrowed down.
Comment #9
gtcaz commentedAny updates on this? Would like to use archives and the codemonkeyx archive.module has a one-off for months and days error under HEAD.
Comment #10
gtcaz commentedhttp://drupal.org/node/35069