Welcome Guest, Not a member yet? Register   Sign In
Session class
#1

[eluser]Craig Ward[/eluser]
In the Session class there is an '_unserialize' function which has the following line:

$data = @unserialize(strip_slashes($data));

I recently made an error in calling a helper file 'string_helper' which is obviously a system helper filename. I know this was my fault but it made my local development machine throw a 500 error but with no details about what was happening. It turns out that by using the same filename 'string_helper' the Session Class couldn't find the 'strip_slashes' function.

I know this was completely my fault but it was hard to track down with no error information. How come there was no error information, even in Development mode?
#2

[eluser]johnpeace[/eluser]
Did you check the logs for errors?
#3

[eluser]Craig Ward[/eluser]
I checked the Apache error log and nothing was thrown, codeigniter logs were not written.




Theme © iAndrew 2016 - Forum software by © MyBB