Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Send mail from CI4, same configuration as CI3 doesn't work
Post: RE: Send mail from CI4, same configuration as CI3 ...

kenjis Wrote: (03-23-2023, 04:13 AM) -- @"serialkiller" Your CI3 config does not have smtp_crypto, but CI4 config has SMTPCrypto = 'ssl'. These configs are not the same. -- kenjis, you are always ...
113 Views
7 Replies
03-23-2023, 04:28 AM
serialkiller
    Thread: Send mail from CI4, same configuration as CI3 doesn't work
Post: RE: Send mail from CI4, same configuration as CI3 ...

captain-sensible Wrote: (03-22-2023, 11:49 AM) -- if you have a google email account you can try using that .  eg        smtp.gmail.com The "username" will be your google email address, and you ca...
113 Views
7 Replies
03-23-2023, 12:46 AM
serialkiller
    Thread: Send mail from CI4, same configuration as CI3 doesn't work
Post: RE: Send mail from CI4, same configuration as CI3 ...

JustJohnQ Wrote: (03-22-2023, 09:32 AM) -- Check the following posts: https://forum.codeigniter.com/showthread.php?tid=84766&pid=402758 https://forum.codeigniter.com/showthread.php?tid=81507&pid=39...
113 Views
7 Replies
03-22-2023, 10:45 AM
serialkiller
    Thread: Send mail from CI4, same configuration as CI3 doesn't work
Post: Send mail from CI4, same configuration as CI3 does...

I have an application in Codeigniter 3 that I'm converting to Codeigniter 4, I have a problem that I can't solve by sending mail in Codeigniter 3, in the config/email.php file I have this configurati...
113 Views
7 Replies
03-22-2023, 06:32 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: RE: Model basic CRUD methods and other queries on ...

kenjis Wrote: (02-22-2023, 05:16 AM) -- There is no data to update" means the model thinks there is no data to update. If you read the stacktrace and the model code, you can find why there is no dat...
261 Views
11 Replies
02-22-2023, 07:43 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: RE: Model basic CRUD methods and other queries on ...

kenjis Wrote: (02-22-2023, 03:06 AM) -- When you use  table('table_name'), you are using a new Query Builder instance directly. You are not using the Model. -- Yes, I know this, this is the proble...
261 Views
11 Replies
02-22-2023, 03:27 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: RE: Model basic CRUD methods and other queries on ...

kenjis Wrote: (02-22-2023, 02:55 AM) -- See the Note in https://forum.codeigniter.com/showthread.php?tid=86809&pid=406955#pid406955 -- ok, thanks, I didn't read. Back to the main problem, earlie...
261 Views
11 Replies
02-22-2023, 03:00 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: RE: Model basic CRUD methods and other queries on ...

kenjis Wrote: (02-22-2023, 02:47 AM) -- serialkiller Wrote: (02-22-2023, 02:15 AM) -- Another question, in the documentation in the "Upgrading From a Previous Version" section, there is no mention o...
261 Views
11 Replies
02-22-2023, 02:51 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: RE: Model basic CRUD methods and other queries on ...

kenjis Wrote: (02-21-2023, 10:22 PM) -- Quote: -- To help protect against Mass Assignment Attacks, the Model class requires that you list all of the field names that can be changed during inserts a...
261 Views
11 Replies
02-22-2023, 02:15 AM
serialkiller
    Thread: Model basic CRUD methods and other queries on other tables using $this->db->table()
Post: Model basic CRUD methods and other queries on othe...

I'm having what looks to me like a bug. I have a model configured like this: PHP Code: -- protected $table         = 'sottoeventi'; protected $primaryKey    = 'id'; protected $returnType    =...
261 Views
11 Replies
02-21-2023, 10:52 AM
serialkiller
    Thread: CI4 list_fields
Post: RE: CI4 list_fields

As unsaid, found getFieldNames()
158 Views
1 Replies
01-31-2023, 03:11 AM
serialkiller
    Thread: CI4 list_fields
Post: CI4 list_fields

What is the CI4 version of the "list_fields" function, I can't find it
158 Views
1 Replies
01-31-2023, 01:30 AM
serialkiller
    Thread: $this->request variable type error using strpos
Post: $this->request variable type error using strpos

After upgrading to version 4.3.0 VsCode gives me a type error PHP Code: -- if (0 === strpos($this->request->getGet('todo'), 'modifica_')) -- VsCode (intelephense), gives me an error in $this->re...
146 Views
0 Replies
01-11-2023, 09:13 AM
serialkiller
    Thread: Upgrade from 4.2.10 to 4.2.12
Post: RE: Upgrade from 4.2.10 to 4.2.12

kenjis Wrote: (01-10-2023, 04:24 AM) -- Did you copy vendor/codeigniter4/framework/composer.json to composer.json in your project root ? vendor/codeigniter4/framework/composer.json is composer.json ...
280 Views
5 Replies
01-10-2023, 04:32 AM
serialkiller
    Thread: Upgrade from 4.2.10 to 4.2.12
Post: RE: Upgrade from 4.2.10 to 4.2.12

kenjis Wrote: (01-09-2023, 05:07 PM) -- serialkiller Wrote: (01-09-2023, 10:08 AM) -- I ran a second composer update, from nothing works here anymore -- What did you get exactly? What do you me...
280 Views
5 Replies
01-10-2023, 02:57 AM
serialkiller
    Thread: Upgrade from 4.2.10 to 4.2.12
Post: Upgrade from 4.2.10 to 4.2.12

I ran the update with composer and everything went fine, then I went to see the various files that need to be updated, and I updated them, having also updated the composer.json file, I ran a second co...
280 Views
5 Replies
01-09-2023, 10:08 AM
serialkiller
    Thread: Additional custom log file
Post: Additional custom log file

Is it possible to have a customized log file in addition to the default one? I have to log all the actions performed in the API calls, I would need to have a dedicated daily log file, so that it does...
306 Views
1 Replies
12-06-2022, 06:50 AM
serialkiller
    Thread: CURLRequest Class Failed to parse json string
Post: RE: CURLRequest Class Failed to parse json string

I'm still here, i tried to put PHP Code: -- dd() -- and also PHP Code: -- dd(); exit; -- before line 41 where the error is reported, but I don't see anything. I set the value of CI_DEB...
735 Views
7 Replies
11-28-2022, 09:04 AM
serialkiller
    Thread: Before filters with main page redirect when I call a controller with ajax
Post: RE: Before filters with main page redirect when I ...

ozornick Wrote: (11-24-2022, 11:37 AM) -- Do you want an unauthorized user to be redirected to the main page when requesting Ajax? then you need to determine that the request is from XHR and return ...
559 Views
6 Replies
11-25-2022, 01:56 AM
serialkiller
    Thread: Before filters with main page redirect when I call a controller with ajax
Post: RE: Before filters with main page redirect when I ...

My filter PHP Code: -- namespace App\Filters; use CodeIgniter\Filters\FilterInterface; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; class Is_logged implem...
559 Views
6 Replies
11-24-2022, 07:04 AM
serialkiller

Theme © iAndrew 2016 - Forum software by © MyBB