Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Session files
Post: RE: Session files

Hi InsiteFX, Thanks for the code. I've also updated this line in app/Config/Session.php Code: -- public bool $regenerateDestroy = true; --
613 Views
3 Replies
11-19-2024, 08:21 AM
paulkd
  Big Grin Thread: Session files
Post: Session files

Hi All, I recently saw that I had a lot of session files and wonder if the amount being created by CodeIgniter is correct. So I installed a fresh version of 4.5.5 app starter and made the following...
613 Views
3 Replies
11-16-2024, 01:20 AM
paulkd
    Thread: What is the best practice for querying a DB with 2 or 3 tables
Post: RE: What is the best practice for querying a DB wi...

spreaderman Wrote: (06-12-2024, 07:17 PM) -- I have 3 tables: BlogTable BlogTagTable - Record one row for each tag in a blog post.  Eg.  if 3 tags, will be three lines in the db with reference ...
1,322 Views
3 Replies
06-13-2024, 10:17 AM
paulkd
    Thread: Date comparison - Less than 24 Hours in Models
Post: RE: Date comparison - Less than 24 Hours in Models

Anharr Wrote: (06-12-2024, 09:32 AM) -- I have the following queries in CodeIgniter to find any data in which the date_created field is less than 24 hours.  Here is my code in Models Code: -- ...
1,054 Views
3 Replies
06-13-2024, 02:40 AM
paulkd
    Thread: Array to HTML "Table"
Post: RE: Array to HTML "Table"

Hi, Sorry it's taken a while to come back, I didn't get an alert to your HTML posting, but I did get an alert to the last post. What SQL engine are you using (e.g. MySQL, Postgres, MariaDB) ?
2,646 Views
10 Replies
05-13-2024, 10:04 PM
paulkd
    Thread: PHPUnit on Production
Post: PHPUnit on Production

Hi, CodeIgniter 4.5.1 I'm getting the following message on my production server after deploying with GIT Code: -- Warning: require(/home/project/vendor/composer/../phpunit/phpunit/src/Framew...
558 Views
1 Replies
05-04-2024, 12:14 AM
paulkd
    Thread: Array to HTML "Table"
Post: RE: Array to HTML "Table"

Sorry, I meant the actual rendered HTML table, like if I used "view source" in the browser. Just a few rows would be enough.
2,646 Views
10 Replies
04-19-2024, 01:00 AM
paulkd
    Thread: Array to HTML "Table"
Post: RE: Array to HTML "Table"

Hi, Can you post the HTML of the table rendered from your print_r array data?
2,646 Views
10 Replies
04-18-2024, 11:10 PM
paulkd
    Thread: log_message entries question
Post: RE: log_message entries question

Hi kenjis, I expected a single entry for a single page request. I found the cause. It was in app\Config\Boot\development.php just above my log_message call. PHP Code: -- defined('CI_DEBUG') ...
1,293 Views
2 Replies
01-13-2023, 05:42 AM
paulkd
    Thread: log_message entries question
Post: log_message entries question

Hi, I've downloaded a fresh copy of 4.3.0 updated .env with CI_ENVIRONMENT = development and logger.threshold = 7 added log_message('info', 'for your information'); to the end of app\Config\Bo...
1,293 Views
2 Replies
01-11-2023, 01:42 PM
paulkd
    Thread: Tutorial for creating news item doesn't work
Post: RE: Tutorial for creating news item doesn't work

vostronus Wrote: (12-21-2021, 05:22 PM) -- kenjis Wrote: (12-21-2021, 05:20 PM) -- Why nobody here goes with Symfony? :huh: -- Laravel seems to top the list these days. I may go to symfony, but la...
9,519 Views
15 Replies
12-22-2021, 12:02 AM
paulkd
    Thread: How do I ensure that rewrite works properly?
Post: RE: How do I ensure that rewrite works properly?

Inquisitor Wrote: (10-20-2021, 02:08 AM) -- paulkd Wrote: (10-19-2021, 10:15 PM) -- If you are using cPanel It looks like your Document Root may be pointing to public_html I think your Docum...
3,142 Views
3 Replies
10-20-2021, 02:16 AM
paulkd
    Thread: How do I ensure that rewrite works properly?
Post: RE: How do I ensure that rewrite works properly?

Inquisitor Wrote: (10-19-2021, 07:52 AM) -- When I go to the root of my installation which is /ci4 right now I just get this: https://i.postimg.cc/GtcNTvFw/root.jpg If I go to /public it works fine...
3,142 Views
3 Replies
10-19-2021, 10:15 PM
paulkd
    Thread: Proper way yo deal with uri segments?
Post: RE: Proper way yo deal with uri segments?

dgvirtual Wrote: (10-14-2021, 12:42 AM) -- iRedds Wrote: (10-13-2021, 04:28 PM) -- I think it will be fun  https://site.lt/my_subdir/.env -- I did not use the real website name :), but yeh, next t...
5,016 Views
7 Replies
10-14-2021, 01:28 AM
paulkd
    Thread: redirect question
Post: SOLVED: redirect question

includebeer Wrote: (10-12-2021, 04:00 PM) -- paulkd Wrote: (10-11-2021, 03:13 AM) -- Hi, Can someone tell me why this is redirecting to localhost rather than the domain it is being executed on :h...
2,397 Views
3 Replies
10-12-2021, 11:00 PM
paulkd
    Thread: What is the recommended method of having sessions always on
Post: What is the recommended method of having sessions ...

Hi All, As per the title, I've been looking at filters and events. In CI3 I just autoloaded sessions. I want sessions up and running as soon as possible to make decisions on their values.
1,293 Views
1 Replies
10-12-2021, 02:46 AM
paulkd
    Thread: redirect question
Post: redirect question

Hi, Can someone tell me why this is redirecting to localhost rather than the domain it is being executed on :huh: Code: -- return redirect()->to('/admin/login'); --
2,397 Views
3 Replies
10-11-2021, 03:13 AM
paulkd
    Thread: CodeIgniter 4 Model - One to Many - how to?
Post: RE: CodeIgniter 4 Model - One to Many - how to?

Scott103 Wrote: (09-27-2021, 08:04 AM) -- Hey guys, I am new to CodeIgniter 4 and self-taught, so for sure I am missing some skill or knowledge :-). Anyway - I am building simple quiz. One page...
4,118 Views
4 Replies
09-28-2021, 03:24 AM
paulkd
    Thread: convert sql
Post: RE: convert sql

Tajar_Dobro Wrote: (09-20-2021, 11:53 PM) -- ikeselayes , you can. Code: -- Select if(payment_status=0,'Not Paid','Paid ') AS status tnanksss, but what about if i have more than 2 status? -- ...
7,467 Views
5 Replies
09-21-2021, 12:51 AM
paulkd
    Thread: How to search out the exact result which in the array data field?
Post: RE: How to search out the exact result which in th...

Philco Wrote: (09-09-2021, 09:49 PM) -- Hello Madam, Sir, I am really newbie  in codeigniter,  I like this frame much. Now there is problem when I try to filter some product  We have stored a prod...
4,706 Views
2 Replies
09-10-2021, 01:39 AM
paulkd

Theme © iAndrew 2016 - Forum software by © MyBB