Welcome Guest, Not a member yet? Register   Sign In
CI stops on method (solved)
#1

[eluser]Unknown[/eluser]
If CodeIgniter just stops on a method for no apparent reason. Often you can trace the code as far as:

Code:
CodeIgniter.php
include(APPPATH.'controllers/'.$RTR->fetch_directory().$RTR->fetch_class().EXT);

Note: CI checked prior to this statement and found the file but was unable to load the class/method combination and stopped.

The easy test to validate this is your problem is to rename the method CI appears to be hanging on e.g. add
Code:
_with_error
to the name then create a new method with the old name, with the following statement

Code:
exit('it works, your method is somehow corrupted');

it will execute and print the message.

After that:
Check the original method for an error including methods (functions) with the same name.




Theme © iAndrew 2016 - Forum software by © MyBB