I have installed the CVS version in 4.6.1 and I get this error when "Page Timer" is enabled:

Fatal error: Call to undefined function: timer_read() in D:\Application_Dev\drupalroot\drupal460\modules\devel.module on line 47
CommentFileSizeAuthor
#4 timer_read.patch552 bytesfgm

Comments

killes@www.drop.org’s picture

You need to get an older checkout of this module.

http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/de...

jsloan’s picture

That works! So 1.51 is for the current CVS Drupal? Should Devel 1.50 be placed in then 4.6 modules list?

moshe weitzman’s picture

there is no 4.6 branch of this module. thats deliberate. I only want to maintain it in HEAD, since thats where new development is focused.

fgm’s picture

Category: bug » feature
Status: Closed (works as designed) » Needs review
StatusFileSize
new552 bytes

As devel can otherwise be used against 4.6.x, I made a small patch to conditionally define timer_read in the module. This way it shouldn't clash against the definition made in the CVS versions, and still work with 4.6.x.

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

loooks good. anyone is welcome to commit this.

druvision’s picture

Tested version 1.55 of the module with the patch and it and it works OK with drupal 4.6.x.

I've found devel.module in the CVS, together with a short readme file.

Amnon

moshe weitzman’s picture

Status: Reviewed & tested by the community » Closed (fixed)