Welcome Guest, Not a member yet? Register   Sign In
Error Handling with very basic SQL query
#5

(04-21-2019, 11:08 AM)php_rocs Wrote: @aslamdoctor,

Specifically, what database error is being given?  Also, have you run your query directly in the database to make sure that it works?  Also, you may be maxing out the expected output so you may need to reset a PHP ini setting (post_max_size or memory_limit).  Just a thought.  Have you checked the CI logs?

Regarding db error, looks like my attachment was not posted in approval process. Sending here
http://i68.tinypic.com/jaw5e9.jpg

Yes I ran the query directly in db and it worked fine. I know the records it returned is Huge and that is definitely the reason why error is coming. But issue is not the error, issue is how can I catch that error in the variable instead of just throwing the big CI standard error on screen?
Reply


Messages In This Thread
RE: Error Handling with very basic SQL query - by aslamdoctor - 04-21-2019, 08:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB