Welcome Guest, Not a member yet? Register   Sign In
Error with the Codeigniter/Commom.php file

[eluser]Matt Crowson[/eluser]
I've been getting this error on all of my pages. After the error, my content appears in good condition lower on the page.

Quote:A PHP Error was encountered

Severity: Warning

Message: fclose(): supplied argument is not a valid stream resource

Filename: codeigniter/Common.php

Line Number: 54

I've replaced the file, looked at it and can find nothing that would give me the error. With that I still get the error and have found no reference to this error anywhere else online. Any thoughts?

Matt Crowson

Check your config.php log settings and your log directory permissions, is_really_writable() is used by CI logging. Also read the comment in Common.php line 35

[eluser]Matt Crowson[/eluser]
I am on a windows server with GoDaddy so that very well could be the problem. When I run the site locally there are no issues with it. I'm not sure if I can get the server changed from Windows to Linux so is there a fix I can do with CI?

Theme © iAndrew 2016 - Forum software by © MyBB