Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI4.6 Error Pages
Post: RE: CI4.6 Error Pages

serialkiller Wrote: (02-27-2025, 09:40 AM) -- Did you follow the upgrade documentation? There have been changes to some error pages and CSS, please follow the guide and make sure you have made all t...
443 Views
4 Replies
02-27-2025, 10:05 AM
SoccerGuy3
    Thread: CI4.6 Error Pages
Post: RE: CI4.6 Error Pages

warcooft Wrote: (02-26-2025, 07:51 PM) -- There seems to be a bug in your code. The error shows undefined array key 0 which means you are calling an index array that doesn't exist, you should check b...
443 Views
4 Replies
02-27-2025, 07:57 AM
SoccerGuy3
    Thread: CI4.6 Error Pages
Post: CI4.6 Error Pages

Since upgrading to CI4.6 I have noticed that the error pages thrown in Development aren't formatted like they were previously. Prior to 4.6 they were neatly organized and should the full error message...
443 Views
4 Replies
02-26-2025, 02:21 PM
SoccerGuy3
    Thread: Issue with site_url() after upgrade to 4.5.5
Post: RE: Issue with site_url() after upgrade to 4.5.5

In the end I setup a new site with a clean CI install. Ran a diff on all Config, etc files and made any tweaks (nothing related found). Then I started moving my Controllers, Views, etc over in groups ...
851 Views
6 Replies
11-26-2024, 11:13 AM
SoccerGuy3
    Thread: Issue with site_url() after upgrade to 4.5.5
Post: RE: Issue with site_url() after upgrade to 4.5.5

Digging some more, the problem seems to be tied to this error in the logs: PHP Code: -- WARNING - 2024-11-25 11:27:04 --> [DEPRECATED] Automatic conversion of false to array is deprecated in SYSTE...
851 Views
6 Replies
11-25-2024, 12:33 PM
SoccerGuy3
    Thread: Issue with site_url() after upgrade to 4.5.5
Post: RE: Issue with site_url() after upgrade to 4.5.5

Hmmm... just realized that only on the "home page" is "site_url" returning nothing. On sub pages, site_url is properly returning "domain.com"... Not sure if it is related, but also noticed that the...
851 Views
6 Replies
11-25-2024, 11:24 AM
SoccerGuy3
    Thread: Issue with site_url() after upgrade to 4.5.5
Post: RE: Issue with site_url() after upgrade to 4.5.5

ozornick Wrote: (11-23-2024, 08:50 PM) -- there are tests in the framework. they pass site_url() checks. have you updated all the files in app? Maybe you replaced the service for URI? -- Sorry, I am...
851 Views
6 Replies
11-25-2024, 09:46 AM
SoccerGuy3
    Thread: Issue with site_url() after upgrade to 4.5.5
Post: Issue with site_url() after upgrade to 4.5.5

Upgraded my site from 4.3.8 to 4.5.5 this morning. I have gone through all the changes version by version and have the site basically running again. One issue that has me completely stopped is the beh...
851 Views
6 Replies
11-23-2024, 03:04 PM
SoccerGuy3
    Thread: Hiring: CodeIgniter Developer for Large-Scale Web Application
Post: Hiring: CodeIgniter Developer for Large-Scale Web ...

prime42 is looking to hire a full-stack web developer with advanced CodeIgniter skills for On-site or Remote help with a large, CodeIgniter web based application. The project has both a public facing ...
2,271 Views
2 Replies
11-20-2024, 02:57 PM
SoccerGuy3
    Thread: Routes: Which style is "better"?
Post: RE: Routes: Which style is "better"?

@demyr and @InsiteFX - I agree and pretty much do the single get/post as well, this was just a quick example to show off the difference in the URL handling. Which method do you use for that? The expli...
3,896 Views
8 Replies
12-28-2023, 07:33 AM
SoccerGuy3
    Thread: Routes: Which style is "better"?
Post: Routes: Which style is "better"?

Since explicit routing became the recommendation a while back, I have wondered about the style of the route. Is there a "best practice"? Or is just developer preference? Running CI 4.3.3 if it matter...
3,896 Views
8 Replies
12-27-2023, 11:55 AM
SoccerGuy3
    Thread: Setting 404 Status Code
Post: RE: Setting 404 Status Code

Leo Wrote: (10-05-2023, 12:03 AM) -- THANK YOU! I finally got a correct 404 response (it used to be 200 and my SEO guy was complaining about it) Here is the code in app\Config\Routes.php (CodeIgnite...
3,911 Views
5 Replies
10-13-2023, 08:11 AM
SoccerGuy3
    Thread: Setting 404 Status Code
Post: Setting 404 Status Code

Recently discovered that my 404 override was throwing errors silently into the logs in production. Trying to troubleshoot it this morning.  This is my code in the app/Config/Routes.php file: PH...
3,911 Views
5 Replies
06-22-2023, 07:46 AM
SoccerGuy3
    Thread: DB Insert Timing
Post: RE: DB Insert Timing

kenjis Wrote: (01-18-2023, 06:04 PM) -- $useTimestamps is a property in Model. See https://codeigniter4.github.io/CodeIgniter4/models/model.html#configuring-your-model I recommend you read the us...
4,879 Views
11 Replies
01-27-2023, 11:02 AM
SoccerGuy3
    Thread: DB Insert Timing
Post: RE: DB Insert Timing

kenjis Wrote: (01-17-2023, 06:37 PM) -- The $useTimestamps is false by default. https://codeigniter4.github.io/CodeIgniter4/models/model.html#usetimestamps If it is false, CI Model does not set the...
4,879 Views
11 Replies
01-18-2023, 07:33 AM
SoccerGuy3
    Thread: DB Insert Timing
Post: RE: DB Insert Timing

kenjis Wrote: (01-16-2023, 09:03 PM) -- Check your real SQL statements with Debug Toolbar or DB Server log. -- Code: -- INSERT INTO `auction_lots_versions` (`parent_id`, `created_at`, `createdby_i...
4,879 Views
11 Replies
01-17-2023, 10:58 AM
SoccerGuy3
    Thread: DB Insert Timing
Post: RE: DB Insert Timing

kenjis Wrote: (01-16-2023, 05:20 PM) -- How do you set the  created_at value? Using Model $useTimestamps? https://codeigniter4.github.io/CodeIgniter4/models/model.html#usetimestamps -- No, I let...
4,879 Views
11 Replies
01-16-2023, 05:26 PM
SoccerGuy3
    Thread: DB Insert Timing
Post: RE: DB Insert Timing

kenjis Wrote: (01-16-2023, 04:49 PM) -- Can you show minimum sample code? -- Sure. Here it is (I cut out a bunch of stuff that isn't relative - the code works, it is just the time stamp I am questio...
4,879 Views
11 Replies
01-16-2023, 04:59 PM
SoccerGuy3
    Thread: DB Insert Timing
Post: DB Insert Timing

Ran into something strange today. Running CI4.2.11 with PHP 8.025 I have a process setup that takes some input, does an insert into the database, opens a dialog box which is a confirmation, takes tha...
4,879 Views
11 Replies
01-16-2023, 03:59 PM
SoccerGuy3
    Thread: Table short name and queries
Post: RE: Table short name and queries

kenjis Wrote: (11-10-2022, 06:42 PM) -- See https://codeigniter4.github.io/CodeIgniter4/database/query_builder.html#CodeIgniter\Database\BaseBuilder::from -- Thanks. Not sure how I managed to miss ...
8,770 Views
12 Replies
11-11-2022, 07:18 AM
SoccerGuy3

Theme © iAndrew 2016 - Forum software by © MyBB