1
vote
1answer
10 views

Codeigniter CIBonfire how to change mode from development to production?

I'm creating my first app using CIBonfire and i'm ready to push it to production, but i'm not sure how to change the mode from development to production so that it does not show the profiler stuff in ...
1
vote
2answers
25 views

URL array codeigniter

I'm using codeigniter (newbie at codeigniter). I have a function getproducts($p1, $p2, $p3) in a controller. When I call getproducts/0/0/ from my jquery-script (ajax) it works, but I want to call ...
-1
votes
0answers
23 views

How to get data in codeigniter input field as value? Facebook api + codeigniter

I'm wondering how can I pass data to my form in codeigniter script? I'll show you what I need and what I have tried, without success. Master_controller file: if ($this->db->where('id_user', ...
0
votes
1answer
25 views

Code Igniter - best place to declare global variable

I've read a lot of similar questions, they may seem duplicate, but none asks exactly what I am asking, and more important: none has the ANSWER I am looking for! It is extremely simple: I just want to ...
0
votes
1answer
27 views

Call function in the controller from a model - codeigniter

i have implement the php sdk for the facebook login in my project.. and all works with the login except the logout. how can i write the code to call a function from the controller to destroy the ...
0
votes
0answers
13 views

ion-auth library for codeigniter not loading in iphone5 safari

This Facebook app is in CI and using ion-auth for authentication ... it working perfect with mac, windows and iPad .. but in iPhone (safari) .. it not recognizing this 1.<?php ...
-1
votes
1answer
19 views

CodeIgniter worked in command line but not in cronjob

I have some code that I need to run in cron job, and my command is as follows: php path/to/my/code/index.php cron_job testing; When I did that in shell, it worked, it printed Hello World. However, ...
0
votes
1answer
30 views

Code Igniter SQL Query: how to create this query

This is the first time I will be using a MVC and i have read the documentation of code igniter.. but i cant seem to get this query right: $score = $_POST['time']; $sql = "SELECT COUNT(score) as c ...
0
votes
1answer
16 views

Undefined offset: 0 CodeIgniter

A PHP Error was encountered Severity: Notice Message: Undefined offset: 0 Filename: master/header.php Line Number: 235 and here's the code <?php print ...
0
votes
0answers
13 views

codeigniter use HMVC

i have two place to put my modules $config['modules_locations'] = array( APPPATH.'manage/' => '../manage/', APPPATH.'front/' => '../front/', ); one is for user, and the other ...
0
votes
0answers
24 views

codeigniter unexpected model load

I'm building an app where it contains 3 mysql database connections to 3 different databases. Ex. 1. Default connection => DB1 2. conn02 => DB2 3. conn03 => DB3 All this 3 connections use same ...
0
votes
1answer
28 views

Codeigniter - Where to put third party resources?

If I have some third party PHP resource (in my case, it is phar) that you don't want to conform to a library or a model class, is there a defined folder in the Codeigniter structure for this? If not, ...
0
votes
1answer
29 views

implementing multi langauge codeigniter

Newbie question..After going through the Tank auth authentication library for codeigniter, the way the multi langauage support is implemented to display error messages is to create a seperate folder ...
1
vote
1answer
24 views

Codeigniter web app is not working with the linux but here on windows is fine

Codeigniter web app is not working with the linux but here on windows is fine i have install wamp server on my windows and i set my application(codeigniter) there is working fine but here on ...
0
votes
2answers
30 views

Can´t get the logout session from facebook to work

i tried to use the facebook login in my project. For this i use the PHP SDK in codeigniter.. all works and i can do the login and retrieve data to my page. But i can“t understand why the logout ...

1 2 3 4 5 859
15 30 50 per page