I've been unable to get the devel module to work at all. It throws a series of error messages (nicely formatted, thanks to xdebug). Mostly the errors are undefined indices:

Notice: Undefined index: 3 in modules/user.module on line 333
Notice: Undefined index: in /includes/common.inc on line 506

On the admin page, I get the two submit buttons, and the text "Array" before them.

... and on and on, pretty much on every line that does a database request. I'm running Drupal 4.64, and have grabbed the latest devel.module. It seems like it would be enormously useful, but no luck yet.

Any help appreciated, thanks.

Comments

dufresnem’s picture

I'm having the same problem with version 4.6.5. Which version of MySQL are you using? I'm using 5.1.1 which is not supported by Drupal (I had to do a number of fixes in order to get it to work - I think MySQL version 5.0+ is less forgiving than the previous versions.)

I suspect it's the version of MySQL that cause the problems.

smichel’s picture

I don't think MySQL has anything to do with it. I'm using 4.1.14. I am using PHP 5.05, which is a more likely culprit I think.

dufresnem’s picture

I tried with PHP 4.4.1 and got same problems -- no luck!

Anonymous’s picture

Version: 7.x-1.x-dev » 4.6.x-1.x-dev
Category: bug » support
Priority: Critical » Normal

Is there anything further on this issue? I've searched here and google, but the trail seems to stop here. I've seen devel working on drupal 4.6, on this very machine. but not now: I get a couple of screens full of index Undefined errors. This is a clean install of Drupal 4.6.6, php4.4.2, mysql4.0 (on windowsXP). The problem is isolated to devel. I install it and drupal pukes, I uninstall it and all is well again. Sorry I cant troubleshoot futher - I dont know php well enough to know what the issue might be.

moshe weitzman’s picture

Status: Active » Closed (works as designed)

your php error handling is set to show notices. if you change that, these should go away. devel disables drupal native error handling which is what hides these notices.