Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: What's the CI4 big change?
Post: RE: What's the CI4 big change?

ciadmin Wrote: (01-31-2019, 10:51 AM) -- Namespaced everything, with controllers, routing, models & views on steroids compared to CI3. Easier to build on, without the bloat of other popular framewor...
6,751 Views
15 Replies
01-31-2019, 10:57 AM
dimas
  Question Thread: What's the CI4 big change?
Post: What's the CI4 big change?

Hi, I'm a CI developer for some years now. Where can I find the motivation of making a "new" CI 4? I mean, what's the big change from previous version? Architecture change? New feature? What we nee...
6,751 Views
15 Replies
01-31-2019, 10:30 AM
dimas
    Thread: MySQL 8 error on subselect parenthesis
Post: RE: MySQL 8 error on subselect parenthesis

I use the query builder functionality, I simplified the example but the query is more complex and use ->select(), ->where(), ... If there's no other way I won't use the query builder but it's helps me...
1,764 Views
3 Replies
12-19-2018, 05:26 AM
dimas
    Thread: MySQL 8 error on subselect parenthesis
Post: MySQL 8 error on subselect parenthesis

Hi, I upgraded the database from MySQL 5.7 to 8.0 and now we have some query generated by CI query builder that can't be executed. For example: Code: -- $this->db->from("(SELECT col1 FROM tabl...
1,764 Views
3 Replies
12-19-2018, 04:49 AM
dimas
    Thread: Session errors after updating do 3.1.9
Post: RE: Session errors after updating do 3.1.9

I'm having the same error messages in the log since last CI version: Severity: Warning --> session_start(): Failed to decode session object. Session has been destroyed (...)/system/libraries/Session/S...
4,724 Views
8 Replies
09-10-2018, 04:33 AM
dimas
    Thread: Running Stored Procedures...
Post: RE: Running Stored Procedures...

Is it possible to simulate next_result() with pdo driver?
3,968 Views
3 Replies
03-21-2017, 04:26 AM
dimas
    Thread: Commands out of sync
Post: RE: Commands out of sync

Is it possible to simulate the next_result() function with pdo driver?
23,342 Views
0 Replies
03-21-2017, 04:24 AM
dimas
    Thread: Get query results as their native data type?
Post: Get query results as their native data type?

Hi, I've a MySQL 5.6 database with an PHP7/Codeigniter3.1 app querying it. When I do a query and get the results with $query->get()->result_array() the array values are all strings and in the datab...
2,006 Views
1 Replies
02-16-2017, 07:31 AM
dimas
    Thread: sqlsrv/pdo massive update fails
Post: sqlsrv/pdo massive update fails

Hi, I'm using CI 3.0.5 with a SQL Server 2008 database and the sqlsrv driver. When I try to execute from a CI model some write query affecting many rows to a specific table it doesn't do nothing. ...
1,126 Views
0 Replies
03-14-2016, 05:47 AM
dimas
    Thread: Problems with sqlsrv DB driver and CI 3
Post: RE: Problems with sqlsrv DB driver and CI 3

For people getting the same errors with subselects in the form() method you can bypass the escaping with parenthesis. Not working example: PHP Code: -- $this->db->from("(SELECT field, max(field...
5,084 Views
5 Replies
06-02-2015, 04:14 AM
dimas
    Thread: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
Post: RE: CI2 to CI3: Call to a member function helper()...

mwhitney Wrote: (06-01-2015, 09:02 AM) -- However, if you were using that file as a controller somewhere else on your site, you probably already broke it by removing the base constructor. -- You are ...
11,213 Views
9 Replies
06-02-2015, 12:39 AM
dimas
    Thread: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
Post: RE: CI2 to CI3: Call to a member function helper()...

mwhitney Wrote: (06-01-2015, 08:52 AM) -- A class extending CI_Controller can't load another class which also extends CI_Controller. You will probably need to replace the second controller with a lib...
11,213 Views
9 Replies
06-01-2015, 08:57 AM
dimas
    Thread: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
Post: RE: CI2 to CI3: Call to a member function helper()...

:idea: I tried to overwrite the CI_Controller construct method inside the Plan_Events class with an empty constructor and now it works! PHP Code: -- class Plan_Events extends CI_Controller { ...
11,213 Views
9 Replies
06-01-2015, 08:56 AM
dimas
    Thread: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
Post: RE: CI2 to CI3: Call to a member function helper()...

Thx, that solved the previous error but now I've a new one: Code: -- Unable to locate the specified class: Session.php -- If I comment the new Plan_Events() line the error is gone, so the problem s...
11,213 Views
9 Replies
06-01-2015, 08:47 AM
dimas
  Sad Thread: CI2 to CI3: Call to a member function helper() on a non-object in ...Session.php
Post: CI2 to CI3: Call to a member function helper() on ...

While migrating from CI 2 to CI 3 I stucked with this error: Code: -- Call to a member function helper() on a non-object in \system\libraries\Session.php -- The complete Call Stack: Code: -- # T...
11,213 Views
9 Replies
05-29-2015, 03:55 AM
dimas
    Thread: Problems with sqlsrv DB driver and CI 3
Post: RE: Problems with sqlsrv DB driver and CI 3

Thx mwhitney and gadelat. I think that it must appear an advice in the upgrade guide (http://www.codeigniter.com/userguide3/installation/upgrade_300.html). If I had known this would happen I would ...
5,084 Views
5 Replies
05-29-2015, 01:34 AM
dimas
    Thread: Problems with sqlsrv DB driver and CI 3
Post: RE: Problems with sqlsrv DB driver and CI 3

gadelat Wrote: (05-28-2015, 11:08 AM) -- disable escaping or don't use QB for complex queries Related: http://forum.codeigniter.com/thread-61730.html (http://forum.codeigniter.com/thread-61730.html)...
5,084 Views
5 Replies
05-28-2015, 12:22 PM
dimas
    Thread: Problems with sqlsrv DB driver and CI 3
Post: Problems with sqlsrv DB driver and CI 3

Hi, I'm migrating my web app from CI 2.x to CI 3.0. My app uses the 'sqlsrv' driver. When I try to open my web app I get database errors, for example: Code: -- Error Number: 42000/102 [Microsoft]...
5,084 Views
5 Replies
05-28-2015, 03:45 AM
dimas

Theme © iAndrew 2016 - Forum software by © MyBB