Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Shield validation question
Post: RE: Shield validation question

chronic Wrote: (08-16-2022, 12:48 AM) -- kenjis Wrote: (08-15-2022, 02:57 PM) -- Thank you. I got the cause. redirect()->withInput() saves validation errors in the Session. And the check of ...
8,345 Views
14 Replies
03-23-2024, 04:47 AM
RedWd
    Thread: How to Run Migration via PHP Code?
Post: How to Run Migration via PHP Code?

Hi, i already use migration via cli, now i want to run php spark migrate --all via php controller. How can i do this? Thank you
161 Views
1 Replies
03-21-2024, 08:43 AM
RedWd
    Thread: Migrate from Myth/Auth to Shield
Post: RE: Migrate from Myth/Auth to Shield

InsiteFX Wrote: (03-02-2024, 10:50 PM) -- First off from looking at both Migration files it will not be easy, Shield breaks apart Myth Auth's Users into smaller tables etc. Best to export your da...
439 Views
4 Replies
03-09-2024, 03:37 AM
RedWd
    Thread: Migrate from Myth/Auth to Shield
Post: Migrate from Myth/Auth to Shield

Any suggestions about Migrate from Myth/Auth to Shield ?
439 Views
4 Replies
03-02-2024, 06:30 AM
RedWd
    Thread: Ci4 how to check if section exist with renderSection
Post: Ci4 how to check if section exist with renderSecti...

i need something like this: PHP Code: -- if ( isset ( $this->renderSection('content')) { $this->renderSection('content'); }else{ $this->renderSection('default'); } How can i check if section ...
442 Views
2 Replies
08-05-2023, 02:37 AM
RedWd
    Thread: Codeigniter4 Imap Read Email
Post: RE: Codeigniter4 Imap Read Email

superior Wrote: (02-28-2023, 05:10 AM) -- PHP has functions to do this, try looking voor imap_ functions -- yeah, i know. I ask about ci4
1,304 Views
3 Replies
03-02-2023, 04:17 AM
RedWd
    Thread: Codeigniter4 Imap Read Email
Post: Codeigniter4 Imap Read Email

Hi everyone, is it possible to read email with ci4 ?
1,304 Views
3 Replies
02-28-2023, 05:02 AM
RedWd
    Thread: Transactions with Model
Post: SOLVED Transactions with Model

I found a solution. The code below: Code: -- $UserModel->db->transStart(); $UserModel->save($user); $ProfileModel->save($profile); $UserModel->db->transComplete(); -- Turn into: ...
2,921 Views
8 Replies
11-27-2022, 01:37 AM
RedWd
    Thread: Transactions with Model
Post: RE: Transactions with Model

kenjis Wrote: (11-23-2022, 10:40 PM) -- Your sample code should work. What's wrong exactly? -- Transaction will not consider validation rules failure as a fail query so if we put a data that didn'...
2,921 Views
8 Replies
11-24-2022, 02:57 AM
RedWd
    Thread: Transactions with Model
Post: RE: Transactions with Model

....Meh Try to make the question in a different way: can you please post an example of transactions using Model object ? thanks
2,921 Views
8 Replies
11-23-2022, 06:29 PM
RedWd
    Thread: Transactions with Model
Post: Transactions with Model

Hi, everyone knows how to use transaction, right? Code: --
2,921 Views
8 Replies
11-19-2022, 07:43 AM
RedWd
    Thread: Where is the Best Place for Cron Methods ?
Post: RE: Where is the Best Place for Cron Methods ?

Kerry Watson Wrote: (02-04-2022, 05:20 AM) -- Individual user cron files are kept in /var/spool/cron, and system services and applications usually keep their cron job files in /etc/cron. -- Ok, you...
4,537 Views
5 Replies
11-19-2022, 07:37 AM
RedWd
    Thread: Where is the Best Place for Cron Methods ?
Post: Where is the Best Place for Cron Methods ?

Hi, i've a cron controller that calls its own methods. Pretty common. Now : these methods calls others methods like clean old entry from others coltroller/model processes. These others methods: not r...
4,537 Views
5 Replies
02-03-2022, 02:07 AM
RedWd
    Thread: Error cloning Entities
Post: Error cloning Entities

Maybe i found a bug or maybe i made mistake. When i try to clone an entities model dont save unless i fill attributes manually BUT if i make d() i see attributes filled correctly. This is the code: ...
731 Views
0 Replies
02-01-2022, 08:56 AM
RedWd
    Thread: Custom chaining in codeigniter4 model
Post: Custom chaining in codeigniter4 model

Hi everyone, like suggested in title i would like to do somethings like this: PHP Code: -- $UserModel->Where('age','18')->WithCompanyInfo()->findAll(); -- so, in my UserModel i must create this met...
2,004 Views
0 Replies
12-11-2021, 05:41 AM
RedWd

Theme © iAndrew 2016 - Forum software by © MyBB