Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
On CVS HEAD current as of 10/19/2005, and link to an archive page yeilds a blank page. Also, I have a custom favicon.ico and the deaul drupal favicon appears instead (in case this aids in debugging).
The "Calendar to browse archives" block appears just fine, but clicking on anything in the calendar just results in the aforementioned blank page.
The blank page consists of:
{html><body></body></html>
(Note: first < changed to { to avoid suspicious content filter.)
No error messages appear.
Comment | File | Size | Author |
---|---|---|---|
#4 | legacy_form_get_error.patch | 7.72 KB | gtcaz |
Comments
Comment #1
gtcaz CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: gtcaz commentedHere's a patch that replaces all the functions.
Comment #5
robertgarrigos CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: gtcaz commentedRobert -- thanks for your help on this. At least we have things narrowed down.
Comment #9
gtcaz CreditAttribution: 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 CreditAttribution: gtcaz commentedhttp://drupal.org/node/35069