Closed (fixed)
Project:
Zenophile
Version:
6.x-1.1-beta5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2009 at 16:45 UTC
Updated:
6 Nov 2009 at 15:26 UTC
I can't get the module to function on one of my sites. I've used a previous version before without issue. I get this error message right after submitting the form:
Fatal error: Call to undefined function: file_put_contents() in .../zenophile.module on line 427
Comments
Comment #1
digitalfrontiersmediaI think this is caused because I'm running php4.4.7 and I think file_put_contents() is a php5+ function. If so, this requirement should probably be listed in Zenophile's pre-req's/README or something. If it's listed somewhere, I did not see it and it should probably be placed in a more prominent place.
Comment #2
Garrett Albright commentedOops. Noted. Thanks.
Comment #3
Garrett Albright commentedAll right, I've added a line in the .info file which should prevent those on PHP 4 from enabling the module and thus triggering the error. Thanks for bringing attention to this.
Comment #4
digitalfrontiersmediaNo problem. Glad to help.
Comment #6
Garrett Albright commentedBy the way, you may have better luck using the Zenophile 2.0 branch on PHP 4. I made a semi-conscious effort to keep it compatible with PHP 4. If you're still interested in using Zenophile, please give it a try.
Comment #7
digitalfrontiersmediaWill do. Thanks for update!