Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Removing session data too quickly after updating to CI 4.1.3
Post: RE: Removing session data too quickly after updati...

@"kenjis" Thanks for your suggestion.
1,528 Views
8 Replies
09-07-2021, 12:11 AM
ciddict
    Thread: Removing session data too quickly after updating to CI 4.1.3
Post: RE: Removing session data too quickly after updati...

Thanks for your suggestions. @"ikesela" It's actually login session. It's set session if it doesn't exists. And I'm not getting it after certain times which I've mentioned in the post. @"InsiteF...
1,528 Views
8 Replies
09-05-2021, 07:31 AM
ciddict
    Thread: Removing session data too quickly after updating to CI 4.1.3
Post: RE: Removing session data too quickly after updati...

Can you please let me know where should I check?
1,528 Views
8 Replies
09-04-2021, 09:15 PM
ciddict
  Sad Thread: Removing session data too quickly after updating to CI 4.1.3
Post: Removing session data too quickly after updating t...

Hi, After upgrading from 4.1.1 to latest 4.1.3 it's removing session data too quickly. Also it's removing with no exact timing. Like sometime after 2-3 minutes or after 30 minutes ... weird situatio...
1,528 Views
8 Replies
09-04-2021, 06:06 AM
ciddict
    Thread: CI4: Code Module is showing 404 in live server (cPanel)
Post: RE: CI4: Code Module is showing 404 in live server...

Fixed the issue with this, In Routes.php, $routes->get('blog', 'blog::index', ['namespace' => 'Blog\Controllers']); To, $routes->get('blog', 'Blog::index', ['namespace' => 'Blog\Controllers']);
836 Views
2 Replies
07-28-2021, 02:49 AM
ciddict
    Thread: CI4: Code Module is showing 404 in live server (cPanel)
Post: CI4: Code Module is showing 404 in live server (cP...

I've added the module folder in ...\app\Config\Autoload.php PHP Code: -- public $psr4 = [           APP_NAMESPACE => APPPATH, // For custom app namespace           'Config'      => APPPATH . 'Co...
836 Views
2 Replies
07-27-2021, 01:26 PM
ciddict
    Thread: CURL error: The requested URL returned error: 403
Post: CURL error: The requested URL returned error: 403

It's my code to send curl: PHP Code: -- $data = array(     "foo" => "bar" ); $curl_options = array(     'query' => $data,     'timeout' => 1,     "user_agent" => "Mozilla/5.0 (Windows NT 1...
863 Views
2 Replies
04-29-2021, 12:05 AM
ciddict
    Thread: How to load a model in Autoload file
Post: RE: How to load a model in Autoload file

@iRedds, Can you please let me know how could I do that?
2,578 Views
10 Replies
04-15-2021, 09:13 AM
ciddict
    Thread: How to load a model in Autoload file
Post: RE: How to load a model in Autoload file

@iRedds, OK. Thanks.
2,578 Views
10 Replies
04-14-2021, 02:35 PM
ciddict
    Thread: How to load a model in Autoload file
Post: RE: How to load a model in Autoload file

I want to push some data to $psr4 variable dynamically. And I've to get that data from model. How could I do that?
2,578 Views
10 Replies
04-13-2021, 11:49 PM
ciddict
    Thread: How to load a model in Autoload file
Post: RE: How to load a model in Autoload file

@iRedds, so there has no way to get a model in autoload class?
2,578 Views
10 Replies
04-13-2021, 08:19 AM
ciddict
    Thread: How to load a model in Autoload file
Post: RE: How to load a model in Autoload file

@InsiteFX, I didn't get it from your answer. Can you please be more specific?
2,578 Views
10 Replies
04-11-2021, 01:52 PM
ciddict
    Thread: How to load a model in Autoload file
Post: How to load a model in Autoload file

How can I load a model in ...\app\Config\Autoload.php? PHP Code: -- namespace Config; use CodeIgniter\Config\AutoloadConfig; class Autoload extends AutoloadConfig {     public function __...
2,578 Views
10 Replies
04-11-2021, 11:59 AM
ciddict
    Thread: Module view file showing invalid
Post: RE: Module view file showing invalid

@paulbalandan, it worked. Thank you so much.
2,150 Views
3 Replies
04-10-2021, 01:54 PM
ciddict
    Thread: Module view file showing invalid
Post: Module view file showing invalid

I've added the module folder in ...\app\Config\Autoload.php Quote: -- public $psr4 = [           APP_NAMESPACE => APPPATH, // For custom app namespace           'Config'      => APPPATH . 'C...
2,150 Views
3 Replies
04-10-2021, 08:12 AM
ciddict
    Thread: How to update value by Events in CodeIgniter 4
Post: RE: How to update value by Events in CodeIgniter 4

OK. I'll check that. Thanks @iRedds and @InsiteFX.
2,942 Views
17 Replies
04-09-2021, 01:04 PM
ciddict
    Thread: How to update value by Events in CodeIgniter 4
Post: RE: How to update value by Events in CodeIgniter 4

Not working :(
2,942 Views
17 Replies
04-09-2021, 06:37 AM
ciddict
    Thread: How to update value by Events in CodeIgniter 4
Post: RE: How to update value by Events in CodeIgniter 4

@InsiteFX, I don't understand from there. Can you please give me the code for my case?
2,942 Views
17 Replies
04-09-2021, 04:03 AM
ciddict
    Thread: How to update value by Events in CodeIgniter 4
Post: RE: How to update value by Events in CodeIgniter 4

@iRedds, Should I use function(&$array) here in my code? PHP Code: -- use CodeIgniter\Events\Events; Events::on('add_value_to_array', function(&$array) {     error_log("add_value_to_array" ...
2,942 Views
17 Replies
04-09-2021, 03:37 AM
ciddict
    Thread: How to update value by Events in CodeIgniter 4
Post: RE: How to update value by Events in CodeIgniter 4

It was giving error too :(
2,942 Views
17 Replies
04-08-2021, 12:21 AM
ciddict

Theme © iAndrew 2016 - Forum software by © MyBB