Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Can't Send or Receive email if it's Yahoo
Post: RE: Can't Send or Receive email if it's Yahoo

I wonder if this falls under the Yahoo requirement of generated app passwords. Meaning it's not your user account password. https://help.yahoo.com/kb/generate-manage-third-party-passwords-sln15241...
940 Views
2 Replies
02-10-2022, 02:30 PM
BilltheCat
    Thread: Let's Encrypt Verification & CodeIgniter
Post: RE: Let's Encrypt Verification & CodeIgniter

I think this is probably what you're looking for.  It's talking about CakePHP, but the idea should be the same. https://stackoverflow.com/a/41391957/2844703 (https://stackoverflow.com/a/41391957/28...
832 Views
2 Replies
02-08-2022, 03:53 PM
BilltheCat
    Thread: Database Migration
Post: RE: Database Migration

Sorry I'm no help in this, but I'm really curious about the logic of having customers with their own tables. It's that scalable? What if you need to do any analytics across all of the customers?
2,003 Views
9 Replies
01-22-2022, 01:42 AM
BilltheCat
    Thread: Update using WHERE
Post: RE: Update using WHERE

sevmusic Wrote: (01-20-2022, 08:02 AM) -- Yes. All fields are in $allowedFields. Thanks for helping. I really think Ci4 update() only wants to update with a primary key. Anything outside of tha...
2,487 Views
13 Replies
01-20-2022, 08:38 AM
BilltheCat
    Thread: Call to undefined function CodeIgniter\Test\helper() for CIUnitTestCase
Post: RE: Call to undefined function CodeIgniter\Test\he...

https://codeigniter.com/user_guide/cli/cli_commands.html?highlight=call#call
2,609 Views
4 Replies
01-20-2022, 04:41 AM
BilltheCat
    Thread: Stress testing and can't track error messages
Post: RE: Stress testing and can't track error messages

Hi @"kenjis", I'm trying to make it fail in testing, so that I can add logic to account for possible real-world issues. By setting the read only permission, I'm testing if the file could not be saved...
853 Views
3 Replies
01-20-2022, 04:21 AM
BilltheCat
    Thread: is_unique issue on update
Post: RE: is_unique issue on update

The solution is in the text you quoted. The way you do that is by setting the exception field in the rule, like this: 'email' => 'is_unique[Users.email,id,{id}]
7,122 Views
17 Replies
01-20-2022, 03:00 AM
BilltheCat
    Thread: Stress testing and can't track error messages
Post: Stress testing and can't track error messages

I wrote a little avatar upload method with Cropper.js (https://fengyuanchen.github.io/cropperjs/), which works great, but I'm trying to stress test it, so I set the permissions on the original image t...
853 Views
3 Replies
01-19-2022, 03:39 PM
BilltheCat
    Thread: Is strict_types=1 still necessary?
Post: RE: Is strict_types=1 still necessary?

Declaring strict_types was never required in CI3, but it's good to have to help with obscure errors. You can still use it if you want or need to. The defined BASEPATH is no longer used in CI4.
749 Views
2 Replies
01-19-2022, 09:55 AM
BilltheCat
    Thread: variable to layout
Post: RE: variable to layout

pippuccio76 Wrote: (01-19-2022, 08:56 AM) -- The footer is used from several page of my project , i cannot set variable in every method of every controller that show the template . I need a  global v...
1,160 Views
3 Replies
01-19-2022, 09:10 AM
BilltheCat
    Thread: variable to layout
Post: RE: variable to layout

You can set the variable from your controller, and then show the variable through a footer include: app/Controllers/Cart.php PHP Code: -- -- app/Views/cart/index.php PHP Code: -- So...
1,160 Views
3 Replies
01-18-2022, 02:29 PM
BilltheCat
    Thread: Time() not same?
Post: RE: Time() not same?

Interesting, I'm getting similar results. 2022-01-17 13:57:53 2022-01-17 19:57:53 PHP Code: --
801 Views
2 Replies
01-17-2022, 01:00 PM
BilltheCat
    Thread: model validationRules for nullable fields?
Post: RE: model validationRules for nullable fields?

You could always wrap your rules in normal PHP logic... I'm not sure what rules you could apply in this case, but this might be what you're looking for: PHP Code: -- $post = $this->request->getP...
998 Views
3 Replies
01-14-2022, 02:04 PM
BilltheCat
    Thread: Error after upgrading to version 4.1.7
Post: RE: Error after upgrading to version 4.1.7

Are you sure you're on 4.1.7? I thought this was fixed in the 4.1.6 re-release.
2,214 Views
8 Replies
01-13-2022, 03:58 PM
BilltheCat
    Thread: Apply Filter to Route
Post: RE: Apply Filter to Route

Make sure that it's not in $globals, and then add the alias to public $filters: App/Config/Filters.php PHP Code: -- /** * Configures aliases for Filter classes to * make reading things nicer...
587 Views
2 Replies
01-13-2022, 03:55 PM
BilltheCat
    Thread: Session ID Regeneration
Post: RE: Session ID Regeneration

https://codeigniter.com/user_guide/libraries/sessions.html?highlight=sessionTimeToUpdate#accessing-session-metadata
485 Views
1 Replies
01-12-2022, 10:19 AM
BilltheCat
    Thread: Update using WHERE
Post: RE: Update using WHERE

From your expectation above; Code: -- UPDATE `billing_charges_2` SET activity_id = null WHERE activity_id = 8518 -- Have you tried it this way? PHP Code: -- public function set_activity_id_n...
2,487 Views
13 Replies
01-11-2022, 08:06 PM
BilltheCat
    Thread: Update codeigniter
Post: RE: Update codeigniter

Code: -- PowerShell 7.2.1 Copyright (c) Microsoft Corporation. PS D:\xampp\mysite> composer update -- Now upload everything to your server, except for that system folder.  And double check that...
2,421 Views
14 Replies
01-11-2022, 06:35 PM
BilltheCat
    Thread: Update codeigniter
Post: RE: Update codeigniter

Just delete the system folder in your root path.
2,421 Views
14 Replies
01-11-2022, 05:15 PM
BilltheCat
    Thread: Update using WHERE
Post: RE: Update using WHERE

Try running it as a SELECT instead of UPDATE and see what results you get.
2,487 Views
13 Replies
01-11-2022, 01:43 PM
BilltheCat

Theme © iAndrew 2016 - Forum software by © MyBB