Closed (fixed)
Project:
Hacked!
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2011 at 02:02 UTC
Updated:
8 Apr 2011 at 21:31 UTC
Hello
it seems like there was a mix of code between 7.x and 6.x because the 6.x-2.0-beta3 is using drupal_static() which is a D7 function.
Module not working
Federico
Comments
Comment #1
steven jones commentedDoh! Sorry about that. New release coming...
Comment #2
adamdicarlo commentedLooks like there's still some D7 code in 6.x-2.0-beta4:
Fatal error: Call to undefined function file_prepare_directory() in /home/.../.../drupal/sites/all/modules/hacked/includes/hacked_project.inc on line 352
Comment #3
steven jones commentedSorry guys, I'm going to write some simpletests, which should help with these silly issues that crop up because I'm not testing correctly.
Comment #4
steven jones commentedI botched the beta4 release, beta5 should have the fix in it.
Comment #5
adamdicarlo commentedI still wasn't able to get the report to generate with 6.x-2.0-beta6 so I just used beta1. It looked to me like whatever was in place of the file_prepare_directory() just wasn't creating the directory. I didn't save the output but I can try it again if you like.
Comment #6
steven jones commented@adamdicarlo Yeah, just noticed this too, and fixed it in git.