Closed (fixed)
Project:
Import HTML
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Dec 2006 at 03:43 UTC
Updated:
30 Jan 2007 at 10:49 UTC
Fatal error: Call to undefined function mkdirs() in /var/www/robin.eff.org/drupal/modules/import_html/import_html.module on line 1280
i thought maybe this was just a typo, so i changed it to mkdir, and got this error:
warning: mkdir(): File exists in /var/www/robin.eff.org/drupal/modules/import_html/import_html.module on line 1280.
ideas?
VERY excited to see CCK support!!!! :) :)
Comments
Comment #1
dman commentedNot a typo.
mkdirs() is the recursive version of mkdir()
It should be found in file-routines.inc, which is included all the time.
It's not theoretically possible for import_html.module to run without that function being declared.
My only guess is that your include paths are not as expected, or the library directory is not available. You did get the coders_php_library contents down again this time, right?
I'll modify the 'include's to 'require'. This will therefore raise an error at first runtime, not just let this misconfiguration go.
... although I suspect this was there so it would not barf on very first run.
I'd need to test on another new distro to be sure, so just try
on your version.
Comment #2
elly commentedHm. I got the most recent dev snapshot from nov 13, then downloaded straight from CVS the two files that it looked like you had changed for cck support (import_html.module and walkthrough.htm tho the latter isn't mission critical), since it didn't look like there was a snapshot tar since you'd made the CCK changes. I've just downloaded file-routines.inc & xml-transform.inc straight from CVS to be sure, but I'm still getting the error.
Comment #3
dman commentedI was trying a fresh checkout on a fresh site today. Unable to replicate any problem. (PHP5, but still that's not significant)
Comment #4
dman commented