Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: v4.4.4 download not working, v4.1.1 does work
Post: RE: v4.4.4 download not working, v4.1.1 does work

So, totally my fault. The third parameter was being made into lower case, which then failed on the if statement for comparison returning nothing on the else statement.
208 Views
2 Replies
01-30-2024, 12:53 PM
Kaosweaver
    Thread: v4.4.4 download not working, v4.1.1 does work
Post: v4.4.4 download not working, v4.1.1 does work

Code: -- public function file_view($year, $employee_number, $file_type) {         if ($employee_number != 0) {             $wellnessModel = new \App\Models\WellnessAttestationModel();       ...
208 Views
2 Replies
01-30-2024, 07:47 AM
Kaosweaver
    Thread: changing the table name with a variable
Post: RE: changing the table name with a variable

The base model has a function setTable, we use that to set the table to a different one.
731 Views
5 Replies
12-19-2023, 12:56 PM
Kaosweaver
    Thread: How to setup a single route with optional argument
Post: RE: How to setup a single route with optional argu...

bgeneto Wrote: (12-15-2023, 05:22 AM) -- kenjis Wrote: (12-14-2023, 04:47 PM) -- I have re-read the user guide and this description and the current behavior still do not match. It is natural that th...
1,283 Views
15 Replies
12-19-2023, 12:51 PM
Kaosweaver
    Thread: Change in SQLSRV builder database name prefixes from v4.1 to v4.4
Post: RE: Change in SQLSRV builder database name prefixe...

kenjis Wrote: (12-11-2023, 05:11 PM) -- That is a bug fix, and your usage does not seem to be assumed.  So it seems better to extend the DB classes. See https://forum.codeigniter.com/thread-78294-p...
320 Views
4 Replies
12-12-2023, 07:19 AM
Kaosweaver
    Thread: Change in SQLSRV builder database name prefixes from v4.1 to v4.4
Post: RE: Change in SQLSRV builder database name prefixe...

Searching the *correct* previous version (edited it from 4.1.2 to 4.1.1 which is the one I am actually using) I found that the SQLSRV didn't have the join functionality in it, so the default join was ...
320 Views
4 Replies
12-11-2023, 12:33 PM
Kaosweaver
    Thread: Change in SQLSRV builder database name prefixes from v4.1 to v4.4
Post: Change in SQLSRV builder database name prefixes fr...

The code is the same (using builder): Code: -- public function getAllEmployeesEvaluators() {         $forms_database = $_ENV['database.forms_prod.database'];         $builder = $this->builder();...
320 Views
4 Replies
12-11-2023, 09:21 AM
Kaosweaver
    Thread: Routing pre 4.2 to post 4.2
Post: RE: Routing pre 4.2 to post 4.2

kenjis Wrote: (12-07-2023, 04:49 PM) -- I'm NOT the owner. I'm one of contributors, NOT a member of CodeIgniter Foundation. -- My apologies, I thought you were the owner.
802 Views
10 Replies
12-08-2023, 04:56 AM
Kaosweaver
    Thread: Routing pre 4.2 to post 4.2
Post: RE: Routing pre 4.2 to post 4.2

kenjis Wrote: (12-07-2023, 03:13 PM) -- If you use `php spark routes`, you can see the current all routes. And with the information, you can easily define the routes. -- Thanks, I was all going to ...
802 Views
10 Replies
12-07-2023, 03:38 PM
Kaosweaver
    Thread: Routing pre 4.2 to post 4.2
Post: RE: Routing pre 4.2 to post 4.2

kenjis Wrote: (12-06-2023, 07:50 PM) -- Kaosweaver Wrote: (12-06-2023, 06:27 AM) -- What I'm gathering is codeigniter is so insecure, I need to manually write the routes to each of these and overloa...
802 Views
10 Replies
12-07-2023, 02:31 PM
Kaosweaver
    Thread: Routing pre 4.2 to post 4.2
Post: Routing pre 4.2 to post 4.2

Ok, so I've read several posts and the upgrade notes and the docs. All of which aren't helpful. I get that autorouting is turned off because of filters and something about get requests and security...
802 Views
10 Replies
12-06-2023, 06:27 AM
Kaosweaver
    Thread: MSSQL working in v4.1.1, not working in v4.4.3
Post: RE: MSSQL working in v4.1.1, not working in v4.4.3

In v4.4.3 the connection.php file in the \vendor\codeigniter4\framework\system\Database\SQLSRV folder has: Code: -- if (strpos($this->hostname, ',') === false && $this->port !== '') { ...
261 Views
1 Replies
12-05-2023, 12:56 PM
Kaosweaver
    Thread: MSSQL working in v4.1.1, not working in v4.4.3
Post: MSSQL working in v4.1.1, not working in v4.4.3

It is likely I'm missing something I should have updated. However, currently, I can't sort out what the issue is. I've updated the application via composer. Updated the composer updates per the 31 ...
261 Views
1 Replies
12-05-2023, 11:08 AM
Kaosweaver
    Thread: Out of memory issues
Post: RE: Out of memory issues

I upped the memory to 1024MB in the PHP.ini file which also resolved the issue. As best I was able to research, the view copies the passed variables into an internal variable (which doubles the size...
1,297 Views
2 Replies
08-22-2022, 09:28 AM
Kaosweaver
    Thread: Out of memory issues
Post: Out of memory issues

I'm running large reports (but not huge ones), using v4.1.3 and I'm running out of memory. I've inserted memory cleanup (unsetting all variables after use, manually calling memory cleanups, etc) in t...
1,297 Views
2 Replies
08-19-2022, 09:52 AM
Kaosweaver
    Thread: Builder *and* beforeInert beforeUpdate
Post: RE: Builder *and* beforeInert beforeUpdate

kenjis Wrote: (06-23-2022, 04:33 AM) -- Extending Core Classes https://codeigniter.com/user_guide/extending/core_classes.html#extending-core-classes is based on Replacing Core Classes https://codeig...
3,589 Views
4 Replies
06-23-2022, 07:48 AM
Kaosweaver
    Thread: Builder *and* beforeInert beforeUpdate
Post: RE: Builder *and* beforeInert beforeUpdate

I'm not looking to extend the database functionality, I'm looking to be able to use the beforeInsert from the database model while using the builder functionality.  I believe I want to extend the Base...
3,589 Views
4 Replies
06-23-2022, 04:23 AM
Kaosweaver
    Thread: Builder *and* beforeInert beforeUpdate
Post: Builder *and* beforeInert beforeUpdate

I sorted out (with help of a post here) that the Builder functionality and the database model's use of beforeInsert and beforeUpdate don't work together. I would like to extend the Model and write ...
3,589 Views
4 Replies
06-21-2022, 06:29 AM
Kaosweaver
    Thread: Model in subfolder not working
Post: RE: Model in subfolder not working

iRedds Wrote: (01-12-2022, 01:36 PM) --
4,429 Views
2 Replies
01-13-2022, 06:44 AM
Kaosweaver
    Thread: Model in subfolder not working
Post: Model in subfolder not working

In the controller: PHP Code: -- $companyListModel = new \App\Models\rt3\CompanyListModel(); -- The Models folder has an Rt3 folder with the CompanyListModel.php in it. PHP Code: --
4,429 Views
2 Replies
01-12-2022, 12:42 PM
Kaosweaver

Theme © iAndrew 2016 - Forum software by © MyBB