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?


Messages In This Thread
Session class - by El Forum - 07-31-2012, 05:33 AM
Session class - by El Forum - 07-31-2012, 06:47 AM
Session class - by El Forum - 07-31-2012, 12:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB