How to fix this error, what causing it - Joomla! Forum - community, help and support


i have custom module, created guy, cant me now, must find causing error self

i had using module 4 weeks, not working yesterday until now, error message, looks related write permission, had make sure folder needed writeable chmod 777, module still working since 4 weeks go




warning: fopen(/home/username/public_html/cache/custom.txt) [function.fopen]: failed open stream: no such file or directory in /home/username/public_html/modules/mod_custom.php on line 75

warning: filesize() [function.filesize]: stat failed /home/username/public_html/cache/custom.txt in /home/username/public_html/modules/custom.php on line 76

warning: fread(): supplied argument not valid stream resource in /home/username/public_html/modules/mod_custom.php on line 76

warning: fclose(): supplied argument not valid stream resource in /home/username/public_html/modules/mod_custom.php on line 77





please guys, can causing it

possibly due chmod 777, if host has added suexec php modules on server, folders must no higher 755 permission wise. mind you, server 500 error when tried access folder in case.

also, check if cache/custom.txt permissions 644 or 666, 666 allow module write it, not (hopefully) else.





Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO