Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: forceHTTPS and session()
Post: RE: forceHTTPS and session()

Thanks for suggestion. I'm using shared hosting. Many times it go down. They say server has high load, and my website data has to be moved on other server in their company.
anthos1984 CodeIgniter 4 Discussion 6 2,263 04-07-2020, 07:31 AM
    Thread: forceHTTPS and session()
Post: RE: forceHTTPS and session()

I have it. I just want to use some pages to be https. But 2 or 3 redirection and missing session var is still mystery for me
anthos1984 CodeIgniter 4 Discussion 6 2,263 03-29-2020, 10:04 AM
    Thread: Using Subdomains for multiple apps
Post: RE: Using Subdomains for multiple apps

I have done this and it work: 1. The server should use 1 folder which have 1 subfolder for each subdomain. I apply shared hosting which support this. 2. Here the structure: -site1 --app --public ---...
anthos1984 CodeIgniter 4 Support 2 733 03-28-2020, 03:58 PM
    Thread: ABout CSRF feature: what is it for?
Post: ABout CSRF feature: what is it for?

I want to know about CSRF feature. What it for? Maybe I misunderstand if that feature blocks someone for submitting data if he doesn't load the forms. I mean stray user just POST data to server. It s...
anthos1984 CodeIgniter 4 Support 1 646 03-28-2020, 03:44 PM
    Thread: forceHTTPS and session()
Post: RE: forceHTTPS and session()

I'm sorry guys, looks like I'm wrong about this. The other time I starting session early doesn't remove session variable. Also when see forceHTTPS source, it also consider when session is started. S...
anthos1984 CodeIgniter 4 Discussion 6 2,263 03-28-2020, 02:58 PM
    Thread: forceHTTPS and session()
Post: forceHTTPS and session()

I'm not sure where to talk about this. but '$this->forceHTTPS' must be called before '$session = session();' or else your session variable might be loss. This warning should be made int...
anthos1984 CodeIgniter 4 Discussion 6 2,263 03-26-2020, 12:13 AM
    Thread: Testing: class 'SQLite3' not found
Post: RE: Testing: class 'SQLite3' not found

(03-19-2020, 01:18 PM)jreklund Wrote: You may need to write  use \SQLite3; above your class, to load the global class instead of bundled one. Doesn't work. Where do i place it? On controller class o...
anthos1984 CodeIgniter 4 Support 5 3,009 03-19-2020, 09:23 PM
    Thread: Testing: class 'SQLite3' not found
Post: RE: Testing: class 'SQLite3' not found

I didn't use CI4's database Library, I don't need it for now. I just use plain \SQLite3 which comes from PHP extension to minimize overhead calls. Even i'm not using PDO SQLite. Unfortunately Feature...
anthos1984 CodeIgniter 4 Support 5 3,009 03-18-2020, 04:09 PM
  Question Thread: Testing: class 'SQLite3' not found
Post: Testing: class 'SQLite3' not found

I'm using CI 4.0 (latest). I try testing using PHPUnit. installed offline, not using composer. Using Code:ControllerTesterwork for simple pages. But error (HTTP Exception) for page which requires lo...
anthos1984 CodeIgniter 4 Support 5 3,009 03-17-2020, 03:13 PM
  Smile Thread: third locale detection
Post: third locale detection

CI4 has 2 way of locale detection: 1. By url Most modern websites use locale setting on some url part. But on complex url routing, this may not works (misinterpreted as segment or parameter instead o...
anthos1984 CodeIgniter 4 Feature Requests 1 1,191 11-28-2018, 03:20 PM
    Thread: Need help with Test
Post: RE: Need help with Test

So no one knows how to repair the missing path then? I can always include absolute path, but it needs to be included on every file. not good solution
anthos1984 CodeIgniter 4 Support 9 3,837 09-04-2018, 10:56 PM
    Thread: Need help with Test
Post: RE: Need help with Test

(08-29-2018, 12:14 AM)puschie Wrote: have an similar problem when i dont set the correct working directory ( which has to be the project directory ). But dont know how to set it via cli, sry. Workin...
anthos1984 CodeIgniter 4 Support 9 3,837 08-29-2018, 04:23 AM
    Thread: Need help with Test
Post: RE: Need help with Test

These the output: Code:H:\wamp306_x64\www\CodeIgniter4-develop>php phpunit-7.3.0.phar -c phpunit.xml UnitTest tests\system\CommonFunctionsTest.php Fatal error: Class 'CodeIgn...
anthos1984 CodeIgniter 4 Support 9 3,837 08-28-2018, 07:54 PM
    Thread: Need help with Test
Post: RE: Need help with Test

(08-27-2018, 06:33 AM)ciadmin Wrote: Have you checked https://github.com/bcit-ci/CodeIgniter4/...elop/tests Yes, I have. I have already installed PHPUnit globally. It works on simple projects. But I...
anthos1984 CodeIgniter 4 Support 9 3,837 08-27-2018, 10:22 PM
    Thread: Need help with Test
Post: RE: Need help with Test

Any people can answer this? The problem is broken path. Where to fix this? I suppose the test is run from project root folder
anthos1984 CodeIgniter 4 Support 9 3,837 08-27-2018, 01:30 AM
    Thread: Need help with Test
Post: Need help with Test

Hello, I just learn PHPUnit (i am newbie for test suite). I try setting PHPUnit on netbeans project. I try following user guide. But no success. First, Fatal error: Class 'Test\CIUnitTestCase' not ...
anthos1984 CodeIgniter 4 Support 9 3,837 08-11-2018, 09:07 AM
    Thread: CSP nonce
Post: RE: CSP nonce

(08-09-2018, 06:19 AM)kilishan Wrote: Already in there: https://bcit-ci.github.io/CodeIgniter4/l...ne-content OK then. I just thought if CI4 already have it, but doesn't know the documentation. I tr...
anthos1984 CodeIgniter 4 Feature Requests 2 2,108 08-09-2018, 05:45 PM
    Thread: CSP nonce
Post: CSP nonce

Ask about nonce in security feature. Also CSP with nonce support. Just like CSRF token that can be included in views (manually). And handled automatically when visitor submit request to server. Some ...
anthos1984 CodeIgniter 4 Feature Requests 2 2,108 08-08-2018, 11:53 PM
    Thread: need help with CSP config
Post: RE: need help with CSP config

Great!!, thanks... Now I can properly set CSP setting.
anthos1984 CodeIgniter 4 Support 2 1,723 08-08-2018, 11:43 PM
    Thread: need help with CSP config
Post: need help with CSP config

I activate csp setting to 'true' at Config\App. But web browser console show error something like : 'csp setting blocked content at 'self'' I don't know how to set Config\CSPsetting properly so my pag...
anthos1984 CodeIgniter 4 Support 2 1,723 08-08-2018, 08:40 AM

  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.