Welcome Guest, Not a member yet? Register   Sign In
[solved] Magic __destruct - Win vs. Mac
#4

[eluser]PhilTem[/eluser]
Thanks for your replies, CroNiX, unfortunately they didn't help at all. I checked all file-permissions, checked all defined constants in index.php. Everything is as it should be.
I also downloaded a clean CI 2.1.1 and let it run with no problems and when I run my current project with the Message-library in autoload.php, it doesn't work. However, removing it from autoload.php or commenting the __destruct()-method will result in no errors.

For me it seems like a strange behavior of the __destruct()-method in combination with the session's library.
The error mentioned above which states it cannot include the file 'error_php.php' is probably because the CI super-object is already (partially) destroyed and therefore the constants and paths don't exist anymore resulting in the error.

I guess, there seems to be some spot I really don't get for fixing the problem.

Would there be a solution to obviate the __destruct()-method completely, because I can't see any at the moment.


Messages In This Thread
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 08:53 AM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 12:45 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 12:47 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 01:24 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 03:58 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-19-2012, 07:30 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-20-2012, 07:37 PM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-22-2012, 06:23 AM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-22-2012, 08:45 AM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-22-2012, 09:50 AM
[solved] Magic __destruct - Win vs. Mac - by El Forum - 06-22-2012, 10:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB