Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: To All New User's READ THIS!
Post: RE: To All New User's READ THIS!

InsiteFX Wrote: (07-16-2021, 05:18 AM) -- When posting a forum topic please do not use cut copy and paste it makes it un-readable and users will not read it. -- Most browsers have "pate not formatt...
262 Views
4 Replies
07-16-2021, 06:55 AM
jreklund
    Thread: curlrequest not updating the headers
Post: RE: curlrequest not updating the headers

Personally I would create it without the service, I think it's cleaner. Code: -- $options = []; // optional. $client = new \CodeIgniter\HTTP\CURLRequest( new \Config\App(), ...
502 Views
5 Replies
06-20-2021, 03:49 AM
jreklund
    Thread: NGINX Codeigniter 4
Post: RE: NGINX Codeigniter 4

You currently got two port 80-configurations. Do you get this error on both http and https? Have you tried the sample nginx configuration from the userguide? https://codeigniter.com/user_guide/ins...
439 Views
1 Replies
06-20-2021, 03:23 AM
jreklund
    Thread: What PHP version can codeigniter 3.1.11 be used with?
Post: RE: What PHP version can codeigniter 3.1.11 be use...

Yes it works with 7.3.
1,545 Views
4 Replies
09-29-2020, 11:00 AM
jreklund
    Thread: Downloadable Docs?
Post: RE: Downloadable Docs?

https://codeigniter.com/docs
563 Views
2 Replies
09-22-2020, 11:21 PM
jreklund
    Thread: CI 3 DB LOCKING ISSUE ON SET SESSION sql_mode = REPLACE(REPLACE(REPLACE(REPLACE
Post: RE: CI 3 DB LOCKING ISSUE ON SET SESSION sql_mode ...

Yes, I mean your mysql configuration. But that are a global setting and will affect all your applications. stricton | TRUE/FALSE (boolean) - Whether to force "Strict Mode" connections, good for ensur...
1,030 Views
3 Replies
09-21-2020, 08:31 AM
jreklund
    Thread: CI 3 DB LOCKING ISSUE ON SET SESSION sql_mode = REPLACE(REPLACE(REPLACE(REPLACE
Post: RE: CI 3 DB LOCKING ISSUE ON SET SESSION sql_mode ...

If you own your server yourself, just set the same settings in your my.ini file, that way you don't need CodeIgniter to set it for you. As to why it suddenly hangs... have you updated the server vers...
1,030 Views
3 Replies
09-20-2020, 10:01 PM
jreklund
    Thread: Installation of Letsencrypt SSL on Bitnami Stack
Post: RE: Installation of Letsencrypt SSL on Bitnami Sta...

The ".well-known" folder should be created alongside your index.php if you are using HTTP verification. If it doesn't work, you need to open your .htaccess if you are using Apache and exclude that ...
732 Views
2 Replies
09-20-2020, 09:57 PM
jreklund
    Thread: What's the difference between the .env file and App.php?
Post: RE: What's the difference between the .env file an...

.env will override your configuration settings.
1,588 Views
9 Replies
09-14-2020, 09:03 AM
jreklund
    Thread: Is it possible to move Config folder into root?
Post: RE: Is it possible to move Config folder into root...

Instruct your clients to use the .env file, it does what you want.
1,032 Views
6 Replies
09-13-2020, 01:04 PM
jreklund
    Thread: CI4 Folder Permissions
Post: RE: CI4 Folder Permissions

Generally speaking you should not use the world permission at all. It all boils down to who have access to your server. So 760 and 740.
982 Views
5 Replies
09-13-2020, 11:14 AM
jreklund
    Thread: What's the difference between the .env file and App.php?
Post: RE: What's the difference between the .env file an...

So that you can have three servers with different .env files, and you don't need to touch your Config/App.php to change local settings.
1,588 Views
9 Replies
09-13-2020, 11:09 AM
jreklund
    Thread: CI4 Folder Permissions
Post: RE: CI4 Folder Permissions

Only "writable"-folder should be writable by the user group or how you have set up your server. Everything else can be read only.
982 Views
5 Replies
09-13-2020, 07:53 AM
jreklund
    Thread: CodeIgniter 4.0.4 userguide offline
Post: RE: CodeIgniter 4.0.4 userguide offline

You need to download it separately: https://codeigniter.com/docs
1,447 Views
2 Replies
09-07-2020, 09:59 PM
jreklund
    Thread: Codeigniter website PHP code theme not working to register & Login
Post: RE: Codeigniter website PHP code theme not working...

"Error for the site owner: Invalid domain for site key"
1,462 Views
5 Replies
09-06-2020, 11:10 PM
jreklund
    Thread: Restricting /assets to non logged in users
Post: RE: Restricting /assets to non logged in users

@Omar Crespo: I can't see how that would work for images and files. You can't just say process it as normal if you have asked PHP to handle it.
1,266 Views
6 Replies
09-05-2020, 10:22 PM
jreklund
    Thread: Which Provides Better Performance?
Post: RE: Which Provides Better Performance?

It's, it depends on how many times you use it yourself. If you just pass it along all the time it will be faster than model(). But if you load it separately in all files. It would be slower.
1,316 Views
4 Replies
09-03-2020, 03:24 AM
jreklund
    Thread: How to use third party library
Post: RE: How to use third party library

You do it like this: https://codeigniter.com/user_guide/concepts/autoloader.html#classmap PHP Code: -- $classmap = [ 'MobileDetect' => APPPATH .'third_party/Mobile_Detect.php' ]; // Controller...
1,196 Views
3 Replies
09-02-2020, 07:27 AM
jreklund
    Thread: Documentation typo error in CLI
Post: RE: Documentation typo error in CLI

The reason I'm wondering are that BaseController dosen't do anything, it just extends Controller. https://github.com/codeigniter4/CodeIgniter4/blob/develop/app/Controllers/BaseController.php
485 Views
3 Replies
09-02-2020, 07:22 AM
jreklund
    Thread: remove index.php from view controller
Post: RE: remove index.php from view controller

Most likely need to change this line: https://github.com/codeigniter4/CodeIgniter4/blob/develop/public/.htaccess#L34 Into: Code: -- RewriteRule ^([\s\S]*)$ index.php?/$1 [L,NC,QSA] --
546 Views
4 Replies
09-02-2020, 07:20 AM
jreklund

Theme © iAndrew 2016 - Forum software by © MyBB