Tagged Questions
0
votes
0answers
3 views
jQuery Nested Sortable in Codeigniter
I have adapted the nested sortable plugin to codeigniter, its updating the order records in the database, but while i'm getting the all pages, its not ordering in user interface, just ordering ...
1
vote
0answers
27 views
Codeigniter Nested Database Data
I google and google and read 100000 tutorials but i think this is inposible to do in codeigniter on model, controller and views.
Am tring to show my database records like this :
Default Category
...
0
votes
2answers
19 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 ...
0
votes
2answers
18 views
“=?utf-8?Q?” appended while fetching emails
I am sending emails using codeigniter email library and fetching them using imap function. While sending the email, I have edited the codeigniter inbuilt Email library as:
$mailtype = "html";
...
1
vote
2answers
40 views
Two different actions on one button
I have created a form in my view that calls some method in controller.
I want to do two things on my submit button function:
Use Ajax function to display output on the same page,
Get data (in the ...
0
votes
0answers
20 views
Unable to integrate Redis with Codeigniter
I am using codigniter-redis library to use redis inside the codeigniter framework. I've put Redis.php( library file ) in applications/library and redis.php( config file ) in applications/config
Here ...
0
votes
1answer
21 views
Codeigniter Get Nested Hierarchical Data from Database
How can i get Hierarchical Data from db in Codeigniter. I read this :
http://www.sitepoint.com/hierarchical-data-database/
And i do good that but i cant optimize this tutorial with my model, ...
0
votes
1answer
22 views
PHP Error encountered when running Command Line using CodeIgniter 2.xx
I have followed the exact guide that is provided on the official codeigniter website for running the CLI (command-line interface) tool. http://ellislab.com/codeigniter/user-guide/general/cli.html
My ...
0
votes
1answer
31 views
Change the codeigniter view contents without reload
I have created an email utility which shows the email-ids from which email is received their subject line and date. Every email id has a checkbox alongside it. Whichever checkbox is clicked the email ...
0
votes
1answer
10 views
phpDocumentor 2 web interface error “Strict standards: declaration of xxx should be compatible…”
I'm attempting to use the phpDocumentor web interface to generate documentation for a CodeIgniter project. When I attempt to parse the directory, I get a long list of "Strict standards" errors that ...
1
vote
1answer
25 views
Codeigniter row() on a non-object
I have problem with ION Auth library. I want to edit existing group and when i try to dedit i have this error:
Where is mistake, i explore all and CI doc but all looks fine.
Fatal error: Call to ...
0
votes
0answers
36 views
Does CodeIgniter 2+ db_driver “resolve” MySQL (innoDB) deadlocks?
I have not encountered this issue yet, but I think I might in future (due lots of [what is lots?] users, lots of UPDATEs and SELECTs).
Does CI "resend" query request automatically if deadlock occure ...
0
votes
1answer
33 views
Override set_message multiple times
How can we override the error message to be displayed, multiple times for a single validation rule.
I am trying to do that in the following code, but it shows the error message which is set at the ...
0
votes
1answer
19 views
Codeigniter Array to String Conversation error
I have an edit class where i use for editing and adding new users. If the call has an id, means that it must call edit function, if it doesn't have an id, than it calls add function.
The problem that ...
0
votes
2answers
20 views
Codeigniter Invalid Login Return
I'm trying to return some error message, if the user's email and password is not stored in database, codeigniter validation error messages are running without any errors. But i can't pass my ...
2
votes
1answer
48 views
CodeIgniter MySQL Connections
I'm currently using CodeIgniter with MySQL, in my application I'm setting a MySQL variable to limit access to data for certain users within VIEWS, (i.e. SET @UserID = 2; which runs when the user logs ...
1
vote
1answer
28 views
codeigniter remove index.php XAMP for Linux
0 down vote
I am also having the same problem and I have tried almost every code available online for .htaccess
My Xamp is running on Linux, FYI - The application is on intranet not on internet, may ...
0
votes
3answers
30 views
Call language file outside “application” folder in Codeigniter 2
How to call language file outside the application folder in codeigniter 2.
file structure is as shown below.
/
/application
/system
/htdocs/languages/english/common_lang.php -- my language file.
0
votes
0answers
18 views
how to get user email when complete registration with a3m auth system
now build social auth system..after search find A3M..but i have one problem..i need to get user email automatically and not let user insert it manually..ho to do this with
<?php
/*
* ...
0
votes
2answers
16 views
jquery does not deliver paramater to the controller function
I have the following lines of jquery code in my codeigniter view file that gets the form field values and sends them to the add_emp_performance function in employees controller.
var emp_id = ...
0
votes
1answer
59 views
a while loop inside a for loop not working in codeigniter view file
so I have a codeigniter view file that has a code inside like this:
<?php for($i=1; $i <= count($headings); ): ?>
<div class="row">
<?php while(($i%3) != 0 ): ?>
...
1
vote
1answer
17 views
CodeIgniter controller in subfolder
I have a controller in a subfolder. CodeIgniter is giving a 404 page not found.
The controller works fine in the root controller folder. The controller also works fine in the 1st level subfolder. The ...
1
vote
1answer
46 views
How to load a view file from within another view with Codeigniter WITHOUT having to pass through a controller?
I'm struggling to find a solution to this problem, I need to load a view from within another view. I know, usually, i would just have to do :
<?php $this->load->view("smthg");?>
But ...
0
votes
3answers
41 views
Codeigniter + Smarty integration, header/footer templating
I've implemented smarty on my CI installation via this tutorial: http://www.coolphptools.com/codeigniter-smarty
It works fine, except that the header and footer is loaded by including the files from ...
0
votes
1answer
28 views
access_token issue in facebook lib for codeigniter
i build facebook login in mysite with facebook library used by codeigniter framework
the login works good but in the end i see this error
ERROR - 2013-07-29 06:51:51 --> Severity: Notice --> ...
0
votes
1answer
25 views
Codeigniter Calendar : Adding Specific Data to A Cell
Here is my problem,
I need to show all the people with birthdays with the selected month, I already got on how to put the data on the specific, table cells, the only problem is that the data is also ...
0
votes
1answer
36 views
Function in model called automatically
If I give the same name to a function in the Model of Codeigniter, that function gets called automatically when I load the model.
//controller
$this->load->model('my_model');
//model
class ...
0
votes
0answers
31 views
jQuery validation for checkbox using codeigniter combination
1) my checkbox name is in the form of array "group[]", Basic checkbox validation is already done like this, its working
$.validator.addMethod('require-one', function(value) {
return ...
0
votes
1answer
44 views
Code Igniter RESTful Modeling and Controller
I have been developing using non framework for about 3 years and I have heard about PHP framework codeigniter.
I think I missed something using this framework which is used for API for my mobile ...
-2
votes
2answers
41 views
how to set error_reporting(0) in codeigniter
I am using codeigniter and I want to set php error_reporting(0) so that when table don't have value then php won't show me error like this one
A PHP Error was encountered
Severity: Notice
Message: ...