Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI4 in a shared host subfolder
Post: RE: CI4 in a shared host subfolder

Thx @kenjis !! Now I understand. It worked!! ? kenjis Wrote: (06-14-2023, 03:28 PM) -- Oh, your img folder locates in wrong place. --
1,545 Views
8 Replies
06-14-2023, 03:50 PM
dimas
    Thread: CI4 in a shared host subfolder
Post: RE: CI4 in a shared host subfolder

kenjis Wrote: (06-14-2023, 01:34 AM) -- Navigate to http://dimas.cat/eventplanr/img/logo-192x192.png , you see "Can't find a route for 'get: /img/logo-192x192.png'. " -- Exact, but if you go to http:...
1,545 Views
8 Replies
06-14-2023, 02:35 AM
dimas
    Thread: CI4 in a shared host subfolder
Post: RE: CI4 in a shared host subfolder

kenjis Wrote: (06-13-2023, 07:09 PM) -- Do you want to setup the site http://dimas.cat/eventplanr/ ? or http://dimas.cat/ ? -- http://dimas.cat/eventplanr/ [hr] kenjis Wrote: (06-13-2023, 07:12 ...
1,545 Views
8 Replies
06-13-2023, 11:52 PM
dimas
  Question Thread: CI4 in a shared host subfolder
Post: CI4 in a shared host subfolder

Sorry, I suppose it's a very repeated question, but I'm locked with that problem :-( I updated my CI4 application to my hosting at http://dimas.cat - Uploaded code to public_html/esventplanr - Ch...
1,545 Views
8 Replies
06-13-2023, 06:13 PM
dimas
    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...
12,913 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...
12,913 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...
3,735 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...
3,735 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...
7,844 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?
5,725 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?
28,036 Views
5 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,782 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,518 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...
7,505 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 ...
15,664 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...
15,664 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 { ...
15,664 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...
15,664 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...
15,664 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 ...
7,505 Views
5 Replies
05-29-2015, 01:34 AM
dimas

Theme © iAndrew 2016 - Forum software by © MyBB