Session Redirect Issue (maybe) |
[eluser]christeso[/eluser]
Hello, All of a sudden my app stopped working. I get a white screen 500 error and no error log is produced. To isolate the issue I created a simple test controller and view. I am able to call this view without error after clearing cookies. If I then refresh the page I get the 500 error again. I am autoloading the following: $autoload['libraries'] = array('database', 'session', 'cart'); $autoload['helper'] = array('image_helper','url','string_helper'); image_helper contains the following: Code: function image_thumb($image_path, $image_name, $height, $width) If I remove the session autoload I can refresh to my hearts content. I am locally testing using MAMP pro. Any thoughts? Thanks, Chris
[eluser]christeso[/eluser]
update: I increased error reporting threshold to 2 and found the following debug: DEBUG - 2011-01-05 16:42:37 --> Config Class Initialized DEBUG - 2011-01-05 16:42:37 --> Hooks Class Initialized DEBUG - 2011-01-05 16:42:37 --> URI Class Initialized DEBUG - 2011-01-05 16:42:37 --> Router Class Initialized DEBUG - 2011-01-05 16:42:37 --> Output Class Initialized DEBUG - 2011-01-05 16:42:37 --> Input Class Initialized DEBUG - 2011-01-05 16:42:37 --> Global POST and COOKIE data sanitized DEBUG - 2011-01-05 16:42:37 --> Language Class Initialized DEBUG - 2011-01-05 16:42:37 --> Loader Class Initialized DEBUG - 2011-01-05 16:42:37 --> Helper loaded: image_helper DEBUG - 2011-01-05 16:42:37 --> Helper loaded: url_helper DEBUG - 2011-01-05 16:42:37 --> Helper loaded: string_helper DEBUG - 2011-01-05 16:42:37 --> Database Driver Class Initialized DEBUG - 2011-01-05 16:42:37 --> Session Class Initialized DEBUG - 2011-01-05 16:42:37 --> Encrypt Class Initialized So, looks to be failing at Encrypt?
[eluser]christeso[/eluser]
Successful debug log before refreshing: DEBUG - 2011-01-05 16:46:19 --> Config Class Initialized DEBUG - 2011-01-05 16:46:19 --> Hooks Class Initialized DEBUG - 2011-01-05 16:46:19 --> URI Class Initialized DEBUG - 2011-01-05 16:46:19 --> Router Class Initialized DEBUG - 2011-01-05 16:46:19 --> Output Class Initialized DEBUG - 2011-01-05 16:46:19 --> Input Class Initialized DEBUG - 2011-01-05 16:46:19 --> Global POST and COOKIE data sanitized DEBUG - 2011-01-05 16:46:19 --> Language Class Initialized DEBUG - 2011-01-05 16:46:19 --> Loader Class Initialized DEBUG - 2011-01-05 16:46:19 --> Helper loaded: image_helper DEBUG - 2011-01-05 16:46:19 --> Helper loaded: url_helper DEBUG - 2011-01-05 16:46:19 --> Helper loaded: string_helper DEBUG - 2011-01-05 16:46:19 --> Database Driver Class Initialized DEBUG - 2011-01-05 16:46:19 --> Session Class Initialized DEBUG - 2011-01-05 16:46:19 --> Encrypt Class Initialized DEBUG - 2011-01-05 16:46:19 --> A session cookie was not found. DEBUG - 2011-01-05 16:46:19 --> Session garbage collection performed. DEBUG - 2011-01-05 16:46:19 --> Session routines successfully run DEBUG - 2011-01-05 16:46:19 --> Session class already loaded. Second attempt ignored. DEBUG - 2011-01-05 16:46:19 --> Cart Class Initialized DEBUG - 2011-01-05 16:46:19 --> Controller Class Initialized DEBUG - 2011-01-05 16:46:19 --> File loaded: socialView.php DEBUG - 2011-01-05 16:46:19 --> Final output sent to browser DEBUG - 2011-01-05 16:46:19 --> Total execution time: 0.0251
[eluser]christeso[/eluser]
Solved! By following this thread : http://ellislab.com/forums/viewthread/67566/ and installing http://codeigniter.com/wiki/Dariusz_Debo...ion_Class/ |
Welcome Guest, Not a member yet? Register Sign In |