• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Development Server Error - Where is the error

#1
[eluser]Unknown[/eluser]
Greetings,

I am testing few features before I start migrating my site to codeigniter. Now the main problem am facing is that am not able to know where the error is happening in my controller code. All I get is server error in chrome and then I know I have to go in controller and start messing around until things work again (and they do sometimes). Where/How can I get to know which line throwing error?


Thanks,

#2
[eluser]TWP Marketing[/eluser]
Look at your server error log and your php logs.
You may need to edit your php.ini file to activate php error reporting.
In Codeigniter:
Set the error reporting threshold higher in your application/config/config.php
You must have php error reporting turned on in php.ini for this to take effect

#3
[eluser]Unknown[/eluser]
Done that already...works greatly! Thank you Big Grin


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.