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

digitalfrontiersmedia’s picture

I 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.

Garrett Albright’s picture

Oops. Noted. Thanks.

Garrett Albright’s picture

Status: Active » Fixed

All 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.

digitalfrontiersmedia’s picture

No problem. Glad to help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Garrett Albright’s picture

By 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.

digitalfrontiersmedia’s picture

Will do. Thanks for update!