Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Server Error for Wrong URL Ending
Post: RE: Server Error for Wrong URL Ending

for showing blog articles i use this route: Code: -- $routes->get('blogArticle/(:segment)', 'Blog::showArticle/$1'); -- on a view page i foreach out a href with the following strucure Code: -...
196 Views
2 Replies
01-31-2024, 12:39 PM
captain-sensible
    Thread: CI_ENVIRONMENT = development not working
Post: RE: CI_ENVIRONMENT = development not working

have you got in .env Code: -- logger.threshold = 9 -- what i do to make sure for specific elements in a controller (whilst in development) is something like : Code: -- try { } catch ( \E...
464 Views
5 Replies
01-29-2024, 05:50 AM
captain-sensible
    Thread: How to go into production?
Post: RE: How to go into production?

@Riji  if i elaborate on your questions is it : what should be my directory structure on live hosting in terms of  if i physically have  webs from sub directories  in main hosting or  my main hosting ...
765 Views
4 Replies
01-25-2024, 03:50 AM
captain-sensible
    Thread: Error 404 on new controller
Post: RE: Error 404 on new controller

Code: -- $routes->get('/articoli', 'Articoli::index'); -- none of my routes have a "/" at beginning eg sample of my routes Code: -- $routes->get('newblog', 'Blog::blogForm'); $ro...
206 Views
2 Replies
01-18-2024, 12:36 PM
captain-sensible
    Thread: changing the table name with a variable
Post: RE: changing the table name with a variable

maybe in principle ..along the lines .no clue if its going to work Code: -- class UserModel extends Model { protected $table ; public function setTableName($parameter) { ...
656 Views
5 Replies
12-17-2023, 02:58 PM
captain-sensible
    Thread: InvalidChars Filter - turn off logging?
Post: RE: InvalidChars Filter - turn off logging?

i did my own simple class to remove chars and if they put a http link in the form it normally means their trying to sell something so i brush that off the a spam form and in that case the mesage doen...
328 Views
5 Replies
11-30-2023, 08:25 AM
captain-sensible
    Thread: Unable to connect to the database.
Post: RE: Unable to connect to the database.

sqlite is so much easier to work with than MySQL ,i mean you set up a user and password then still have to use grant permission So have you run the "grant comand" last time i used MySQl this...
145 Views
1 Replies
11-29-2023, 03:50 AM
captain-sensible
    Thread: Filter Interface not Found Error
Post: RE: Filter Interface not Found Error

Are you taking about a filter you created at app/Filters eg i have myFilter.php (yeah coder have no imagination) myFilter.php starts Code: --
170 Views
1 Replies
11-24-2023, 03:21 PM
captain-sensible
    Thread: Learning CI
Post: RE: Learning CI

go with sqlite for database if you do , its a cinch
503 Views
5 Replies
11-23-2023, 03:46 AM
captain-sensible
    Thread: Learning CI
Post: RE: Learning CI

you can reverse engineer code from https://forum.codeigniter.com/showthread.php?tid=79920
503 Views
5 Replies
11-22-2023, 06:50 AM
captain-sensible
    Thread: codeigniter4 CMS
Post: RE: codeigniter4 CMS

Mojito Wrote: (10-15-2022, 11:08 PM) -- Code isn't very well coded. Why are you using native php functions ? "session_start()" also code is bad indented... It works , so it is well coded ; per...
11,135 Views
17 Replies
11-22-2023, 06:49 AM
captain-sensible
    Thread: CI4 support MariaDB?
Post: RE: CI4 support MariaDB?

SubrataJ Wrote: (11-21-2023, 03:54 AM) -- #Question, which one would you prefer while working with a large dataset? -- How large ?
889 Views
8 Replies
11-21-2023, 05:43 AM
captain-sensible
    Thread: codeigniter4 CMS
Post: RE: codeigniter4 CMS

cheers @pomaryLinea , I am updating the code as i am tweaking my daughters web site  and also from  feedback from a friend who used to be in printing and now does web sites using weebly . I have us...
11,135 Views
17 Replies
11-14-2023, 04:09 AM
captain-sensible
    Thread: 17 Essential Tools to Boost Your Productivity
Post: RE: 17 Essential Tools to Boost Your Productivity

php_rocs Wrote: (11-09-2023, 04:21 AM) -- Very useful (Dev.to link).  17 Essential Tools to Boost Your Productivity ?? - DEV Community (https://dev.to/madza/17-essential-tools-to-boost-your-produ...
394 Views
2 Replies
11-10-2023, 06:04 AM
captain-sensible
    Thread: upgrade issues
Post: RE: upgrade issues

try something along the lines of : Code: -- ServerName ci4_news ServerAlias ci4_news DocumentRoot "c:/xampp/htdocs/ci4_news/public" ErrorLog "/path/to/var/equivalent/httpd/ci4_news-error_log" Ord...
355 Views
4 Replies
11-05-2023, 10:41 AM
captain-sensible
    Thread: Blank Page After Installing On Mac
Post: RE: Blank Page After Installing On Mac

[quote pid="413664" dateline="1699089963"] "  Now I understand how user friendly was windows when compared with mac."  Linux  is even more friendly and unlike  Windows , friendly developers worldw...
1,855 Views
17 Replies
11-04-2023, 05:51 AM
captain-sensible
    Thread: Blank Page After Installing On Mac
Post: RE: Blank Page After Installing On Mac

well thats going to take some understanding of web dev. This looks quite good: https://www.git-tower.com/blog/apache-on-macos/ Here you use apache on mac , rather than xampp which on linux goes...
1,855 Views
17 Replies
11-02-2023, 10:58 AM
captain-sensible
    Thread: React + MySQL
Post: RE: React + MySQL

is not "react" front end and therefore not associated with databases ; i admit to being quite ignorant of react . if somebody used your app i guess they would have to setup Mysql on their server , ...
293 Views
1 Replies
11-02-2023, 06:02 AM
captain-sensible
    Thread: Blank Page After Installing On Mac
Post: RE: Blank Page After Installing On Mac

well what i would say in terms of serving php and html is that if you just installed CodeIgniter4 to your Desktop , change directory( using mac equivalent to linux terminal emulator) to i...
1,855 Views
17 Replies
11-02-2023, 05:57 AM
captain-sensible
    Thread: My server requires unix socket - how to solve the problem?
Post: RE: My server requires unix socket - how to solve ...

best approach is to just use cPanel zip directories upload and unzip using cPanel . what goes where and config depends on whether you will go for subdomains of your primary web space or just ...
560 Views
4 Replies
10-29-2023, 07:49 AM
captain-sensible

Theme © iAndrew 2016 - Forum software by © MyBB