Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Code: -- A PHP Error was encountered Severity: Notice Message: Array to string conversion Filename: core/MY_Controller.php Line Number: 24 Backtrace: File: /home/codmol/public_htm...
16,169 Views
16 Replies
08-18-2016, 03:26 PM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Even more errors! Code: -- A PHP Error was encountered Severity: Runtime Notice Message: Declaration of Admin_Controller::render() should be compatible with MY_Controller::render($the_view = ...
16,169 Views
16 Replies
08-16-2016, 12:52 PM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Wouter60 Wrote: (08-16-2016, 10:46 AM) -- In your controller, you are calling the render method like this: PHP Code: -- $this->render('admin/docs/existing_view', $data); -- Where the second par...
16,169 Views
16 Replies
08-16-2016, 11:11 AM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

pdthinh Wrote: (08-16-2016, 12:02 AM) -- Please show full content of docs/existing_view.php -- Code: -- -- ^ this is existing view. I tried result_array and got the $query undefined error.
16,169 Views
16 Replies
08-16-2016, 02:45 AM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

Wouter60 Wrote: (08-14-2016, 10:41 AM) -- The error seems to be in your MY_Controller file, which is most likely in your application/core folder. Please check what it does at line 24. -- Code: --...
16,169 Views
16 Replies
08-15-2016, 12:56 PM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: RE: Array To String error / undefined $query

InsiteFX Wrote: (08-14-2016, 03:31 PM) -- Your return your query as an object not an associated array change $query->result() to $query->result_array() -- Did so, got this error. Code: -- A...
16,169 Views
16 Replies
08-15-2016, 12:39 PM
CodinMoldovanu
    Thread: Array To String error / undefined $query
Post: Array To String error / undefined $query

I'm learning CodeIgniter 3 and have come to a halt because of a (probably) stupid thing I did. Could you help me in identifying the issue in my code? I'm trying to display some rows of data from a da...
16,169 Views
16 Replies
08-14-2016, 06:58 AM
CodinMoldovanu

Theme © iAndrew 2016 - Forum software by © MyBB