Log file ERRORs but no URI, Controller, Model or View details |
I managed to fix this errors thanks to gadelet and RobertSF:
First error: PHP Code: ERROR - 09:33:46 --> Query error: The Database error was in ./config/routes.php. Before upgrading to CI RC3, /(:any) was used extensively. Unfortunately I changed /(:any) to the incorrect /(:+) instead of /(.+) which resulted in incorrect URI parameters being passed to the Controller and Model. Second error: PHP Code: ERROR - 12:03:59 --> Severity: Warning --> ini_set(): I amended and added the following lines to: /my/system/folder/ci3/CodeIgniter-3-0rc3/system/libraries/Session/Session.php 317 // Line: 143 - ORIGINAL SCRIPT // session_start(); // John_Betong added to try and see where the session_start() was already started if( ! isset($_SESSION) ): session_start(); log_message('error', 'Session ALREADY STARTED: ' .$this->uri->uri_string()); else: session_start(); endif; This error has not occurred since so it looks as though the error could have been cleared with fixing the first error. |
Messages In This Thread |
Log file ERRORs but no URI, Controller, Model or View details - by John_Betong - 03-20-2015, 07:34 PM
RE: Log file ERRORs but no URI, Controller, Model or View details - by RobertSF - 03-20-2015, 10:52 PM
RE: Log file ERRORs but no URI, Controller, Model or View details - by gadelat - 03-23-2015, 06:24 AM
RE: Log file ERRORs but no URI, Controller, Model or View details - by John_Betong - 03-23-2015, 10:22 PM
RE: Log file ERRORs but no URI, Controller, Model or View details - by RobertSF - 03-24-2015, 04:01 AM
RE: Log file ERRORs but no URI, Controller, Model or View details - by CroNiX - 03-24-2015, 07:59 AM
|