codeigniter Questions

6

Solved

I'm having problems trying to install CodeIgniter 4 via Composer, on a local server (xampp) The code that throws me is the following: PS C:\Users\PuercoRico> cd D:\xampp\htdocs PS D:\xampp\ht...
Chadwick asked 16/2, 2020 at 16:19

3

Solved

Does query execution happen at the get_where() clause of the following codeigniter active record statement? $this->db->select('*'); $q = $this->db->get_where('Contacts', array('id' =&...
Heaves asked 11/4, 2013 at 16:13

6

Solved

I am a beginner in Codeigniter and I saw a CI tutorial and was just trying to do a simple thing. I downloaded the CI and added this file to controller directory, but it won't work. <?php class...
Fleury asked 25/5, 2011 at 1:56

8

Solved

While I try to set the value of over 4000 characters on a field that has data type CLOB, it gives me this error : ORA-01704: string literal too long. Any suggestion, which data type would be...
Omnidirectional asked 19/12, 2012 at 4:50

8

Solved

I know how to create them via http://codeigniter.com/user_guide/libraries/migration.html But once I've created my migration files, how do I run them?
Ryurik asked 5/2, 2012 at 23:26

2

Solved

I'm very new to Docker and stepped into my first real project with it. We have a php app using Codeigniter and PostgreSQL and it works great. Now I'm trying to dockerize it and I've run into some t...
Vitavitaceous asked 2/12, 2017 at 0:42

3

Solved

I am trying to sort an array on the base of its child array using array_multisort() function...... While trying; print_r($mar); echo '<br>'; $arr2 = array_multisort($mar, array('wek'=...
Ethel asked 7/3, 2014 at 10:42

9

Is it possible to do an active record query in CodeIgniter that will update an existing record if one already exists or insert if it doesnt, for the given key? I understand this could be done by f...
Rosario asked 28/3, 2015 at 15:13

16

Solved

Can someone help me with this? I'm feeling like I've been hitting my head against a wall for over 2 hrs now. I've got Apache 2.2.8 + PHP 5.2.6 installed on my machine and the .htaccess with the co...
Timpani asked 12/10, 2009 at 22:19

3

Solved

I'm having a system where users can input their purchased domain into their profile, so when accessing their domain, it should replace their custom domain, e.g. http://domain.com/custom-name to h...
Hon asked 29/1, 2012 at 21:57

6

Solved

It shows "'brew' is not recognized as an internal or external command" in windows command prompt. I am trying to install codeigniter-reactjs-example from github, where first command is brew. How...
Checkpoint asked 3/7, 2017 at 13:5

2

Solved

Triggers creation are just not working, I tried everything I can think of, for instance, like that: $this->db->query("DELIMITER //\r\n CREATE TRIGGER `delete_post` BEFORE DELETE ON `posts`\r...
Walli asked 20/5, 2014 at 3:18

10

Solved

I would like to have some help in CodeIgniter 3. Every time I login and redirect to the index page, session is lost. Here is my code: Controller: <?php defined('BASEPATH') OR exit('No direct ...
Alliterate asked 28/1, 2018 at 10:1

2

I am trying to use account/verify_credentials and statuses/update with the Twitter API. I always get an error 202, please see error returned below: {"errors":[{"code":220,&quot...
Spermophile asked 21/4, 2014 at 10:46

12

How can I set session expiration time dynamically in codeigniter? For example, if a user logs in and has the role of admin, the expiration time should be longer than if a user logs in who does not...
Mythological asked 10/8, 2011 at 4:10

7

Solved

I have been trying to retrieve JSON data from my php file.Its giving me a hard time.This is my code Code in my VIEW: var productDetails = {'id':ISBNNumber,'qty':finalqty,'price':finalprice,'name'...
Tallowy asked 19/2, 2015 at 9:36

3

I'm very new to Docker and I have a CodeIgniter project that I have been working on via my localhost (XAMPP) up until now. I now want to host my project on Docker using GCP. Would anyone be able to...
Ommatophore asked 15/10, 2020 at 12:20

8

I'm trying to figure out how to add a disabled option in my dropdown, using codeIgniter. New to CI, and I've tried googling it a bit, but couldn't find an answer. My code for a dropdown looks like...
Davon asked 23/7, 2011 at 1:2

1

Solved

I'm trying to make date difference (in days) between today and a date from a field in database (array), this is my code : $date1 = date_create ($v['sipp_ed']);//this is from field in database $date...
Helles asked 17/9, 2022 at 5:9

5

Solved

Under config.php I have: $config['log_threshold'] = 4; $config['log_path'] = '/home/myaccount/logFilesFolder'; In index.php I have: error_reporting(E_ALL); The only way I can seem to get anyt...
Demarcusdemaria asked 20/6, 2011 at 16:43

2

Solved

I have a subdomain called test.mysite.com and I have a CI4 installation inside a folder there called project. So the actual url for the CI4 installation is test.mysite.com/project/public/index.php....
Formication asked 11/3, 2021 at 23:37

3

Solved

I'm having trouble making a connection to Amazons RDS service from my Codeigniter application. Settings in database config: $db['default']['ssl_set'] = TRUE; $db['default']['ssl_key'] = NULL; $db...
Desimone asked 1/3, 2012 at 20:51

8

I create a web site using PHP, Mysql, and Codeignater version 3. Then host it on iPage. When I upload on live I make changes in config file. $db['default'] = array( 'dsn' => '', 'hostname' =...
Encounter asked 3/10, 2015 at 6:19

2

I am trying to merge the results of two CodeIgniter queries. The trouble is that the two arrays contain rows of objects and array_merge() does not work on objects. How can I merge the two object ar...
Faubert asked 26/11, 2015 at 7:48

8

I have to retrieve a MySQL database information from master database and then connect to that database, and fetch some records. I mean that holding one database I want to load another database. I...
Celtuce asked 25/11, 2011 at 12:1

© 2022 - 2024 — McMap. All rights reserved.