v 1.20 2004/10/25 11:52:43 (both CVS and DRUPAL-4-5)
Module causes problems for the admin/modules display -- with spam.module present, using empty and freshly created tables from the current spam.mysql, and regardless using the comment.module from Drupal-CVS or the patched version for batch operations, the list of modules will not display (ie some non-syntax PHP error). If I move modules/spam out of the directory or rename spam.module to spam.module.bak, the modules page will display.
(this is a fresh install adding the module to Drupal CVS; spam.module is not enabled and has not been configured).
Also, if I delete PHP code from spam.module from spam_menu to theme_spam_link, the modules page will display (doesn't narrow it down much, I know, but at least it shows the module fails while trying to build it's menu). If I only delete down to the spam_custom_* functions, I get the first few lines of the module but nothing else.
If I snip those admin menu functions all out, I can then select the module, but admin/modules still does not display, although I can reach /admin/spam and admin/settings/spam -- it is only the admin/modules page that will not display.
Other Contrib modules, all from CVS head: chatbox, devel, event, htmlarea, inactive_user, moblog, privatemsg, textile, trackback, weather, weblink
PHP Version 4.3.8
display_errors 1
register_globals 0
track_vars 1
Comments
Comment #1
garym@teledyn.com commentedCuriously, on my production site where the older module had been installed, the module page loads just fine; I'm downgrading this to a minor status until someone else complains.
Comment #2
jeremy commentedI'm unable to duplicate this. Here is what I've done to try and duplicate it:
1. fresh installation of Drupal 4.5.0
2. fresh installation of 4.5 version of spam module
3. enabled spam module, no problems
4. enabled ALL core modules, no problems
Thus, I see no conflicts with core modules.
Moving on, I next took the latest CVS versions and installed/enabled the following modules (one at a time), going on to look at their settings page and make changes:
chatbox
devel
event
htmlarea
inactive_user
moblog (** does not appear to be converted to 4.5 **)
privatemsg
textile
trackback
weather
weblink
Now in addition to all core modules being enabled, all the above modules are enabled too. Still, no problems. The only problem I see is with moblog, which doesn't have a description on the modules page, and show an error if you try to go to the moblog settings page.
Then I went to the blocks page and enabled _all_ blocks. Still no problems.
Thus, I do not believe the problem you're experiencing is anything to do with the spam module. If you have made any customizations to your site, please double check that they are not causing the problem. Also, I would recommend moving moblog out, as the current CVS version is not 4.5 ready.
Switching from bug report to support request.
Comment #3
jeremy commentedBTW: For completness I just replaced the latest 4.5 version of the spam module with version 1.20 noted in your bug report. Same configuration, everything enabled. Still no problems...
Comment #4
garym@teledyn.com commentedI think this may have been just a config error somewhere in my dev install. I'm closing the ticket.