Category : codeigniter

below is the error Message: Trying to access array offset on value of type bool Filename: controllers/Register.php Line Number: 19 Backtrace: File: /home/esports/public_html/application/controllers/Register.php Line: 19 Function: _error_handler File: /home/esports/public_html/index.php Line: 275 Function: require_ and below is the code for controllers/Register.php line 19 $data[‘page’] = $this->functions->getPage(‘sign_up’); $data[‘title’] = $data[‘page’][‘page_menutitle’]; //Line number 19 $data[‘page_title’] = $data[‘page’][‘page_title’]; $data[‘register’] ..

Read more

Hi i am getting the below error A PHP Error was encountered Severity: Notice Message: Trying to access array offset on value of type bool Filename: front/register.php Line Number: 100 Backtrace: File: /home/esports/public_html/application/views/themes/front/register.php Line: 100 Function: _error_handler File: /home/esports/public_html/application/controllers/Register.php Line: 109 Function: view File: /home/esports/public_html/index.php Line: 275 Function: require_once Below is the code <section class="bm-section-padding ..

Read more

I am trying to use redis to store sessions for my codeigniter application however when opening the page i am getting the error below: An uncaught Exception was encountered Type: RedisException Message: read error on connection to myredis-test.redis.cache.windows.net:6380 Filename: /var/www/html/fmms/admin/system/libraries/Session/drivers/Session_redis_driver.php Below is my code for connection to redis server: $config[‘sess_driver’] = ‘redis’; $config[‘sess_cookie_name’] = ‘ci_session’; ..

Read more

I want to display my form like it is shown the below image- form-input image I have form input like this- <?= form_input([‘name’ => ’email_for_confirmation’, ‘id’ => ’email_for_confirmation’, ‘value’ => ”, ‘class’ => ‘form-control’, ‘placeholder’ => ‘Email’,’content’ =>”]) ?> <i class="form-icon fa fa-envelope-o"></i> I have tried content but it doesn’t work. Help would be appreciated. ..

Read more

i have just try like : var conn = new WebSocket(‘ws://localhost:8091’); conn.onopen = function(e) { console.log(“Connection established!”); }; conn.onmessage = function(e) { console.log( ‘on Advertiser’, e.data ); }; conn.customeSend = function(e) { console.log( ‘on Advertiser’, e.data ); }; function changeInbfcDashboard(){ // conn.send(JSON.stringify({command: “subscribe”})); var inProgressCount = 5; conn.send(JSON.stringify({inProgressCount:inProgressCount})); } function subscribe(channel) { conn.send(JSON.stringify({command: “subscribe”, channel: ..

Read more

Hope you are all doing well. I’m working on a Codeigniter project for example I want when the user enters this page : http://localhost:8080/admin/clients I want the sidebar to stay shown but once he enters a sub-page like http://localhost:8080/admin/clients/add I want the sidebar to be Hidden Here’s my code : if($actual_link == admin_url().’/clients/**’){ ?> <body ..

Read more

I have save password in DB By Laravel (Hash::make($password);) i have old section mad by CodeIgniter useing same user login infrtoamtion for test i made this code $pass= $this->input->post(‘password’); var_dump($row->password); var_dump($this->hash_password($pass)); if(password_verify($pass,$row->password)){ return true; }else{ retun false; } this is code result: 1-user save pass in DB: "$2y$10$1WA9dlG89utV1rawH5DVbuR70MkDYBq7fP6xspaj.jsNap.zPFtf2" 2-input password: "$2y$10$GJAV/QUcfqv7nAcsbefOyeBAKYHhQb3QoA.aR2PqizIRyLw/tRIZq" 3- if result = ..

Read more