Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

did you just replace session data, not merge with previous data
498 Views
5 Replies
08-24-2022, 05:18 AM
ikesela
    Thread: CI4, getting ERROR 500
Post: RE: CI4, getting ERROR 500

maybe try check host configuration file
2,569 Views
6 Replies
08-10-2022, 07:24 AM
ikesela
    Thread: Display a partial view based on the current view name
Post: RE: Display a partial view based on the current vi...

pass parameter (view name) to view
841 Views
4 Replies
06-24-2022, 07:46 AM
ikesela
    Thread: Form Validation : Return Current View
Post: RE: Form Validation : Return Current View

better if return to where it from and show error (include input). Code: -- return redirect()->back()->withInput()->with('errors', service('validation')->getErrors()); --
779 Views
3 Replies
06-23-2022, 01:12 AM
ikesela
    Thread: Giant controllers
Post: RE: Giant controllers

it better to organizes pages into controller. more controller is better but not too many controller. categorized it
671 Views
3 Replies
06-22-2022, 06:36 AM
ikesela
    Thread: Form value repopulate
Post: RE: Form value repopulate

to use this [ value="" ] , you need return like this [ withInput() ]: return redirect()->back()->withInput()->
866 Views
7 Replies
05-25-2022, 11:45 PM
ikesela
    Thread: Is it possible to translate the error views?
Post: RE: Is it possible to translate the error views?

its work fine for me. try check case sensitive
502 Views
3 Replies
05-15-2022, 09:19 PM
ikesela
    Thread: New controller Namespace declaration statement has to be the very first statement or
Post: RE: New controller Namespace declaration statement...

remove whitespace before
1,611 Views
5 Replies
04-24-2022, 02:17 PM
ikesela
    Thread: is_unique issue on update
Post: RE: is_unique issue on update

oneloop Wrote: (01-20-2022, 01:40 AM) -- andre.tannus Wrote: (03-26-2021, 07:05 AM) -- is_unique allows you to check directly against the database to ensure the value is unique for a certain field. ...
5,441 Views
16 Replies
04-01-2022, 09:24 AM
ikesela
    Thread: search Binary for mysql
Post: RE: search Binary for mysql

why not try provide raw query first
596 Views
2 Replies
03-14-2022, 04:55 AM
ikesela
    Thread: Pagination Issue on 4.1.9
Post: RE: Pagination Issue on 4.1.9

check .htaccess RewriteRule ^(.*)$ index.php?/$1 [L,QSA] * why your basedUrl empty * check this too : public $indexPage = '';
2,597 Views
6 Replies
03-14-2022, 01:33 AM
ikesela
    Thread: Can't get my CSS to show
Post: RE: Can't get my CSS to show

check your xampp setting for DocumentRoot put asset folder in document root folder
1,274 Views
6 Replies
03-10-2022, 11:06 AM
ikesela
    Thread: how to show error code mysql on brower in codeigniter 4
Post: RE: how to show error code mysql on brower in code...

set environment to development to show error
670 Views
1 Replies
03-10-2022, 01:23 AM
ikesela
    Thread: creating a structure
Post: RE: creating a structure

u can try like this: $gtm_data->{'email'} = $_SESSION['userid'];
753 Views
3 Replies
03-08-2022, 12:44 AM
ikesela
    Thread: how to keep the variable passed to the view in codeigniter 4
Post: RE: how to keep the variable passed to the view in...

iRedds Wrote: (02-26-2022, 01:22 AM) -- You don't need to pass the model to the view. This is bad practice. -- Thank, i agree .
1,179 Views
5 Replies
02-26-2022, 07:43 AM
ikesela
    Thread: how to keep the variable passed to the view in codeigniter 4
Post: RE: how to keep the variable passed to the view in...

just pass the object: Code: -- return view('\Modules\Site\Home\Views\home_index', [ 'mHome' => new HomeModel() ]); -- can access in view as $mHome
1,179 Views
5 Replies
02-26-2022, 01:13 AM
ikesela
    Thread: Is it possible to select two cells with one query?
Post: RE: Is it possible to select two cells with one qu...

as long as it work, doesn't matter Code: -- $result = $db->table('discount')->getWhere(['discount_assignment_id' => $id, 'active' => 1])->getFirstRow(); $id = $result->id ?? null; $name = $resu...
649 Views
4 Replies
02-13-2022, 12:01 AM
ikesela
    Thread: another routing problem :) please help
Post: RE: another routing problem :) please help

there is no route for /wpis , existing route is /wpis/{num} alternatively can add this for default route: $routes->get('wpis', 'FRONT/Blog::wpis'); change function to: public function wpis($id = ...
1,086 Views
9 Replies
02-12-2022, 11:29 PM
ikesela
    Thread: How to load personal config file in BaseController and have it available everywhere
Post: RE: How to load personal config file in BaseContro...

you need too pass config data to view example view('app/view/file',[ 'config' => $this->myconfig]) so can call in view: $config->myconfig->ada_site_name controller and view are two different thi...
1,269 Views
9 Replies
02-10-2022, 09:12 AM
ikesela
    Thread: How to use LayoutView with parser?
Post: RE: How to use LayoutView with parser?

you should create layout file: layout.php Code: -- -- file to view when call from route : content.php Code: --
4,657 Views
11 Replies
02-10-2022, 09:09 AM
ikesela

Theme © iAndrew 2016 - Forum software by © MyBB