codeigniter-2 Questions
12
Solved
I'm experiencing a very odd upload problem. Here's the relevant view file:
<form action="http://localhost/index.php/temp/upload/" method="post" enctype="multipart/form-data">
<fieldset&g...
Camm asked 22/3, 2012 at 1:22
4
Solved
I have a Whole web site project based on CodeIgniter framework. My problem is i don't know how to run this project on my local Mamp Server. I have Successfully set up Mamp and Also run the latest v...
Relaxation asked 13/5, 2013 at 5:15
4
Solved
This seems really basic but i can't get the hang of it.
I'm trying to send more then one parameter to a method in the controller, like this :
http://localhost/ci/index.php/subjects/3/state
This...
Kalfas asked 6/11, 2012 at 7:23
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
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
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
4
Solved
For starters, the Codeigniter documentation on update_batch does not exist. kenjis was kind enough to provide some documentation and submit it to the repository. Hopefully they pull it soon.
Does...
Ovi asked 15/9, 2011 at 5:5
3
Solved
How can I print the values set in the header of a received request using CodeIgniter?
I tried print_r($_SERVER); which doesn't help me. I'm hoping there's a different way using CI.
Gelding asked 6/1, 2016 at 11:42
5
Solved
I have the following mysql query. Could you please tell me how to write the same query in Codeigniter's way ?
SELECT * FROM myTable
WHERE trans_id IN ( SELECT trans_id FROM myTable WHERE code='B...
Industrialist asked 13/6, 2012 at 21:7
3
Solved
I have got this controller:
class Start extends CI_Controller{
var $base;
var $css;
function Start()
{
parent::Controller(); //error here.
$this->base = $this->config->item('base_...
Phillisphilly asked 16/2, 2012 at 15:56
2
Solved
I have CodeIgniter script for sending email with attachments.
$this->ci->email->attach("/path/to/file/myjhxvbXhjdSycv1y.pdf");
It works great, but I have no idea, how rename attached fi...
Goodell asked 8/8, 2013 at 14:9
2
Solved
It's possible to use multiple INSERT records in CodeIgniter Active Record without for, foreach and etc. ?
My current code:
foreach($tags as $tag) {
$tag = trim($tag);
$data = array(
'topic_id'...
Desist asked 18/2, 2013 at 22:52
14
Where is it acceptable to put css folders and image file folders? I was thinking inside the view folder? However the controller always reroutes the path to the base url so I have to specify the pat...
Depose asked 8/7, 2011 at 21:34
8
Solved
I spent over 5 hours yesterday trying to figure out whats wrong with my setup. In the ci213/application/controllers and views directories I have a simple site.php controller and test.php view. I'm ...
Chavarria asked 23/3, 2013 at 15:55
5
Solved
I use old version of Codeigniter framework. With new version of php I am gettings this error:
Only variables should be assigned by reference
I am wondering if this is safe bugfix:
Changing:
$thi...
Wendellwendi asked 22/1, 2017 at 10:10
5
codeigniter project when uploaded to server gives me the following error.
Your system folder path does not appear to be set correctly. Please
open the following file and correct this: index.php...
Cho asked 15/1, 2014 at 2:28
6
Solved
I have just started learning Code Igniter .
I want to know how can I pass a variable from one controller(first_cont.php) to other controller (second_cont.php) ?
Any help would be appreciated .
...
Teledu asked 10/10, 2012 at 9:54
9
Solved
I want to combine AND OR mysql queries in CI. I have already seen this thread: http://codeigniter.com/forums/viewthread/92818/.
But they don't provide the exact solution there.
How do I create the...
Heavyarmed asked 15/6, 2012 at 18:30
16
Solved
I have been trying to load some models for this website I am building. However, for an unknown reason, it will bring the following error :
An Error Was Encountered
Unable to locate the model you ...
Reinhardt asked 10/11, 2011 at 2:38
3
Solved
In my codeigniter project I am trying to use Instagram API for log in.
This
is the library which I am using.
But when going to the login page, it is showing error
{"code": 403, "error_type":...
Amoroso asked 22/9, 2016 at 7:1
2
Solved
I need to write a join query of two tables from two databases and fetch the joined data.
For eg, consider I have a database db1 which has some tables named companies, plans, customers. Suppose I ne...
Dame asked 4/1, 2013 at 15:4
11
Solved
I have these URLs:
http://backend.domain.com/system/setting/edit/12
http://backend.domain.com/product/edit/1
How to get controller name, action name from these URLs. I'm CodeIgniter newbie. Ar...
Ginkgo asked 14/1, 2010 at 4:3
5
Solved
I have a query using active records.
$this->db->select('reg.users_id,reg.registration_id,reg.device_type');
$this->db->join('users as usr','usr.users_id = reg.users_id','left');
$this-...
Redmund asked 15/6, 2016 at 12:4
5
Solved
I have class MY_Controller extends CI_Controller and common logic for big profile section, so I'va tried to create class Profile extends MY_Controller with common logic for profile section and all ...
Bussy asked 1/12, 2011 at 13:36
3
Solved
As stated here :
http://codeigniter.com/user_guide/general/cli.html
A page like :
http://www.example.com/myController/myFunc/myParam
can be run on the command line as :
php index.php myControlle...
Tatter asked 14/2, 2012 at 11:46
1 Next >
© 2022 - 2024 — McMap. All rights reserved.