Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: moving ci4 app from localhost to onliine test server
Post: RE: moving ci4 app from localhost to onliine test ...

on the hosting i use i have more than 5 sub-directories in hosting space . lets take one called "golib" so in main hosting there is a directory called golib inside that is .env and 4 director...
50 Views
2 Replies
9 hours ago
captain-sensible
    Thread: Mastering Git: 30 Essential Commands Every Developer Should Know
Post: RE: Mastering Git: 30 Essential Commands Every Dev...

Code: -- gitk --all -- graphic output of tag names forks in branch etc
47 Views
2 Replies
Today, 03:34 AM
captain-sensible
    Thread: Fresh install won't run
Post: RE: Fresh install won't run

kenjis Wrote: (07-12-2024, 02:23 AM) -- captain-sensible Wrote: (07-12-2024, 02:03 AM) -- Can i mention  URl to Amazon  please admin? -- No problem. Generally speaking, URIs that are related to C...
983 Views
30 Replies
07-12-2024, 02:58 AM
captain-sensible
    Thread: Fresh install won't run
Post: RE: Fresh install won't run

i believe there is a book on Amazon called "Arch Linux" 1st published 2023 and has several ipdates 2024 page 64 has web development, page 76 apache , page 82 composer, page 83 CodeIgniter4 , page...
983 Views
30 Replies
07-12-2024, 02:03 AM
captain-sensible
    Thread: Fresh install won't run
Post: RE: Fresh install won't run

kenjis Wrote: (07-11-2024, 02:14 AM) -- When you run `php spark serve`, it works perfectly. So there is no problem with CI4. And you cannot run just a php file with phpinfo() on Apache, it shows ther...
983 Views
30 Replies
07-11-2024, 12:06 PM
captain-sensible
    Thread: Is there a way to create a symbolic link within the public folder?
Post: RE: Is there a way to create a symbolic link withi...

seems a complicated approach , with capacity for broken URL . First to display any image in any post all you need is the image name and where it is. Im my blog article I get image displayed using...
290 Views
6 Replies
07-11-2024, 05:13 AM
captain-sensible
    Thread: Codeigniter URI like https://codeigniter.com/' error exception
Post: RE: Codeigniter URI like https://codeigniter.com/...

in app/config/app.php if you add Code: -- \' -- to line as below then it will handle it Code: -- public string $permittedURIChars = 'a-z 0-9~%.:_\- \' '; -- last line of my routing...
331 Views
6 Replies
07-10-2024, 05:54 AM
captain-sensible
    Thread: Fresh install won't run
Post: RE: Fresh install won't run

you dont need to touch .htaccess files httpd.conf yeah below i have also [CODE} Require all denied [/CODE] for a web app directory containing CI4 called "prophet" inside /srv/htt...
983 Views
30 Replies
07-09-2024, 09:28 AM
captain-sensible
    Thread: If Programming Languages Were People: The Office Edition
Post: RE: If Programming Languages Were People: The Offi...

not sure the URL is broken i think - it gave me a 404
169 Views
3 Replies
07-05-2024, 08:16 AM
captain-sensible
    Thread: Error page in production (CI 3)
Post: RE: Error page in production (CI 3)

for use of a "contact us" form the submitted data gets handled in a controller leveraging PHPMailer . I just use a view called info2.php which as : [CODE} [/CODE] I want simple error ou...
151 Views
2 Replies
07-04-2024, 10:18 AM
captain-sensible
    Thread: Can't update 4.4.8 to 4.5.0
Post: RE: Can't update 4.4.8 to 4.5.0

that seems like a lot of hard work @Luffy . if you only have one or 2 steps to upgrade to its no big deal. I just commit and use tag with GIT version control, so that if i start pullin...
482 Views
6 Replies
06-06-2024, 03:31 AM
captain-sensible
    Thread: Shared Hosting to VPS
Post: RE: Shared Hosting to VPS

i run apache web server on Arch linux for my CodeIgniter projects . I just use git ,via command line in location context of being web root of codeIgniter wweb site. I use shared hosting . I hav...
1,863 Views
13 Replies
05-23-2024, 09:46 AM
captain-sensible
    Thread: installation problem for v4.4.8
Post: RE: installation problem for v4.4.8

i think you may have omitted information : our quoting upgrade instructions from 4.4.8 to 4.5.0 so im assming you ran from a command prompt: composer update. you dont say where you have put c...
494 Views
3 Replies
05-21-2024, 02:29 AM
captain-sensible
    Thread: Integrating Bootstrap 5 into a CodeIgniter 4 Application
Post: RE: Integrating Bootstrap 5 into a CodeIgniter 4 A...

what i do is have my sass code same level as app, public then i use "grunt" to watch and convert to css and stick it as .css in public/css directory. IN that directory i have my custom.css fr...
713 Views
4 Replies
05-01-2024, 09:17 AM
captain-sensible
    Thread: request URL not found
Post: RE: request URL not found

i would ask what exactly is your objective ? im on linux for development my url are 127.0.0.x ,so are you trying to have your PC act as a server to the public or are you just developing ?
710 Views
7 Replies
05-01-2024, 09:04 AM
captain-sensible
    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: -...
544 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...
1,372 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 ...
1,406 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...
888 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) { ...
1,195 Views
5 Replies
12-17-2023, 02:58 PM
captain-sensible

Theme © iAndrew 2016 - Forum software by © MyBB