Tagged Questions
1
vote
0answers
6 views
Codeigniter: Consume RESTful service
Is there an easy to setup Codeigniter REST library which I can use to consume a RESTful service? I tried setting up this library. But could not set up Spark. Tried following steps:
Adding a ...
2
votes
2answers
34 views
No POST data in jquery ajax call
I've been trying to POST data back to a controller from a lightbox using ajax but of course it doesn't work.
I have two select lists, both populated from the default controller. When I select a ...
0
votes
1answer
15 views
Why does php script die at log_message?
What would cause my script to die on this line:
log_message('debug', "Config Class Initialized");
Details:
This line is in codeigniter system/core/config.php file and is on a site that previously ...
0
votes
2answers
18 views
Authentication engine for CodeIgniter
What is the best user authentication engine(system/framework) for the CodeIgniter framework in PHP? I'm new to PHP, but have huge java skills. In java I use shiro or spring security, but what should I ...
1
vote
0answers
13 views
#CodeIgniter Sending each “checked” check box values from multiple checkboxes to the database?
I have populated check boxes from database as follows...
View:
<div class="control-group warning">
<label for="room_number" class="control-label">Room Number: </label>
...
0
votes
2answers
37 views
Attempting to display message with no results
What I"m trying to understand how to do is display a message to the user when there are no results returned from the database query. As of right now I have the query working correctly. In the case ...
0
votes
4answers
33 views
Keep form fields from being editable
I have a form that's pre-populated with values from a database. If a user is logged in and has sufficient permissions, the user can edit the fields. That all works well; however, if the user is not ...
0
votes
3answers
20 views
How does codeigniter know about the parameters passed to user made rules(in form_validation)?
Codeigniter allows users to create their own rules for validation, for instance
array (
'field'=>'username' ,
'label'=>'Username' ,
...
0
votes
0answers
14 views
Datamapper and CI: is not a valid parent relationship
I have 2 models from tables I need to relate,
campus:
class Campus extends Datamapper {
var $table='campi';
var $has_many=array('boleto');
function __construct() {
...
0
votes
1answer
28 views
CodeIgniter: Trouble removing “index.php” from URL
I have been trying to fix this for days and have tried the following tutorials:
This on stackoverflow
This from CI forums
And many many others.
None have worked.
Here is my problem:
Whenever I ...
0
votes
2answers
20 views
Session Management For redirection in Codeigniter
I want to manage page redirection in codeigniter, I have two controllers:
Logggedin
login
When user try to access login page while he is logged in, he is redirected to Loggedin controller
...
0
votes
3answers
27 views
Codeigniter nested query in cycle
I have a site devloped in codeigniter where I'd want to create a query with some condition and a condition inside with OR like this:
Select * from users where username = 'user' and nation_id = 90 and ...
-1
votes
0answers
32 views
Suggestion need to make an article editor [on hold]
I am trying to create an article editor like wise wordpress article editor. What I have fallen in problem is that, now I am trying to add multiple image in my article, which must be uploaded from this ...
1
vote
2answers
31 views
Codeigniter config file change at runtime
Is possible to edit config file at runtime? I'm developing a module manager and this has to be able to change some aspects of the configuration dynamically.
This means being able to read and this ...
0
votes
2answers
13 views
Codeigniter Form Dropdown Error After Validation
I'm trying to adapt the form_dropdown to my form in codeigniter. When i'm adding a new page, it doesn't show any errors in parent dropdown section, but after form validation, for instance if user ...