459 Topics

Member Avatar for
Member Avatar for rjony321

Hi Master, I cant unlink or update my uploaded image. I can successfully upload image bt i cant use unlink function or Any body help me how can i remove / Update uploaded image. Here is my Controller: public function addProfileLogo() { $data = array(); $errors = ''; if ($_FILES['logo_image']['name'] …

Member Avatar for cereal
0
6K
Member Avatar for papa10

how to create mail code when user is register then send random user name and password in CodeIgniter

Member Avatar for cereal
0
49
Member Avatar for Bijay_1

A PHP Error was encountered Severity: Notice Message: Undefined index: id Filename: controllers/event.php Line Number: 215 function addParticipant() { $data['event_id'] = $this->input->get('id', TRUE); $event_detail = $this->EventModel->getEventDetail($this->input->get('id', TRUE)); $data['event_title'] = $event_detail[1]; $this->loadpage($data, 'people', 'Add participants | BCIPN'); }

Member Avatar for cereal
0
203
Member Avatar for cgull

Hello, I am developing a site with ci 2.1.4 I used this tutorial to create an event in google calendar: [Click Here](http://www.cecilieo.com/techblog/how-to-implement-zend-framework-with-codeigniter-on-windows/) When I change a date on the view, it calls the controller function with ajax, used to work fine, now the page just hangs and I can’t figure …

Member Avatar for cgull
0
2K
Member Avatar for cmps

Hey all!! I am thinking of creating a website that may contain some buying/selling items, so I was wondering which framework is the best for shopping online. I have some experience with codeigniter, but I was using it for its MVC structure which organizes and uses files more efficently. Anyway …

Member Avatar for diafol
0
185
Member Avatar for cgull

Hello, I am looking at a git course and codeigniter best practice in tutsplus. I am totally lost with all the installations I did since yesterday. I installed git, cygwin and composer. Now in the cygwin terminal I write: <code>composer -V</code> and I get my composer version. Then I go …

0
102
Member Avatar for mhd_arif123

Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == …

Member Avatar for diafol
0
1K
Member Avatar for kantigniter

I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display …

Member Avatar for renierdbruyn
0
2K
Member Avatar for cgull

Hello, I need help with htaccess and a sub domain. I have a site I developed with ci 2.1.3 My folders structure is: c:\sites\mysite c:\sites\mysite\application c:\sites\mysite\system c:\sites\mysite\public_html\index.php c:\sites\mysite\public_html\assets In the public_html folder I have the htaccess file: RewriteEngine On RewriteCond $1 !^(index\.php|assets|images|robots\.txt|captcha) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ …

Member Avatar for cereal
0
722
Member Avatar for renierdbruyn

Hi there, I am developing a site for a recruitment agency, and I have now come to the point where I need to develop a ranking system of some kind to pull the best candidates for a particular job out of the database and display it or notify the candidates …

Member Avatar for renierdbruyn
0
503
Member Avatar for cgull

Hello, I am developing a site with CI 2.1.3 I have a blog module, in this blog I have a form to post a comment. I am calling this form inside a view with: `echo Modules:: run('blog/comment');` When I submit this form with ajaxForm, or refresh the page, the values …

Member Avatar for cgull
0
3K
Member Avatar for wallflips

Hello dear DaniWeb users and thanks for reading this thread. Eight months ago I started a forum CMS project, but alone it's very hard to develop fast and quality. My intentions of writing this thread are to make some interest over the developers of this massively huge website and to …

Member Avatar for vanessa001
0
662
Member Avatar for cgull

Hello, I am developing a web site with codeigniter 2.1.3 I am using an ajax call to post data to my controller, but for some reason the data is not being sent. I am using ajax calls all over the application and they all work well just not this one. …

Member Avatar for cgull
0
3K
Member Avatar for Rizi004

hi there i have a website develop in codeigniter framework i have upload the website in subdomain but the the problem with url rewrite. the website home page works fine oes.techpawer.com but when i open the login page or any other page it will not work like to open login …

Member Avatar for LastMitch
0
3K
Member Avatar for kantigniter

Hi all, I'm new to codeigniter, and i want to know how to approach or a small example as to how to get the following: 1) If I have a form, and it has fields say asking for number of some category for example: first in a drop down we …

Member Avatar for diafol
0
251
Member Avatar for kantigniter

I have two forms the first one is as follows: ![5364b88b6acff4f96bf8734c448984c4](/attachments/large/4/5364b88b6acff4f96bf8734c448984c4.jpg "5364b88b6acff4f96bf8734c448984c4") In the first one, I enter the customer details and the type of house he wants, and the number of rooms he has, and I have set a session once I hit the next button. This is spanning …

Member Avatar for kantigniter
0
501
Member Avatar for cgull

Hello, I am developing a site with Codeigniter 2.1.3. I am creating a pdf file with mpdf and I save the file in a folder outside the root folder. So my folders look like this: c:/mysite/uploads/mypdffile.pdf c:/mysite/public_html I looked at all kind of tutorials and forum posts about the php …

Member Avatar for cereal
0
3K
Member Avatar for kevinyu

Take note this was just done for the sake of experimentation to headstart my journey in CodeIgniter. :D Hello Stackoverflow. Why is it that my page only echoes the username of the given inputs? Could you please tell me on what part did I screw up?? <?php $data = array( …

Member Avatar for cereal
0
205
Member Avatar for kantigniter

I have a form as follows, and I have set the session on clicking next. Each type of house is with a different set of rooms. Say, if I click Independent, I get a list of rooms below. If I choose Villa/Duplex, a different set will pop out. In the …

Member Avatar for kantigniter
0
153
Member Avatar for Dani
Member Avatar for diafol
0
1K
Member Avatar for kantigniter

![50e59f3e9c4e5d94efdbea6bc00b2e2c](/attachments/large/4/50e59f3e9c4e5d94efdbea6bc00b2e2c.jpg "50e59f3e9c4e5d94efdbea6bc00b2e2c") I have three tables, and I'm going to show the third table. What I want to know is how to delete each entry from it? As, the first and the second tables ids are fetched and inserted in the third one. As in, I have my model as …

Member Avatar for kantigniter
0
995
Member Avatar for Deep_Coder

In my codeigniter php login form i'm facing these issues.Password is encrypted in the database.I'm going to decrypt it from the database and allow login.I checked where is the problem.I could find it's in decrypt part.So if anyone can help me i really appreciate that.This is my code. Model function …

Member Avatar for iamthwee
0
4K
Member Avatar for wolfgangcs

This is not working: class Post extends CI_Model{ function get_posts($num=20, $start=0){ //$sql="SELECT * FROM users WHERE active=1 ORDER BY date_added DESC LIMIT 0,20;"; $this->db->select()->from('posts')->where('active',1)->order_by('date_added','desc')->limit($num, $start); $query=$this->db->get(); return $query->result_array(); } } and giving me a: `[20-Jun-2013 17:42:21] PHP Fatal error: Call to a member function select() on a non-object in public_html/codeigniter/application/models/post.php …

Member Avatar for cereal
0
89
Member Avatar for Dani

CodeIgniter error logging set to 1: /* |-------------------------------------------------------------------------- | Error Logging Threshold |-------------------------------------------------------------------------- | | If you have enabled error logging, you can set an error threshold to | determine what gets logged. Threshold options are: | You can enable error logging by setting a threshold over zero. The | …

Member Avatar for veedeoo
0
449
Member Avatar for cgull

I am developing a site with Codeigniter 2.1.3 I am using HMVC to create ion_auth modules. I am trying to separate my frontend and backend login system. I created two modules for ion_auth: application/modules/auth - for the frontend application/modules/admin - for the backend Both have the same files, except the …

Member Avatar for veedeoo
0
846
Member Avatar for shlokka

hi everyone, i run a website and the email script for some reason is sending emails to users trash/spam folder, or npt sending at all. it seems to be on most yahoo email addresses, and possibly gmail. the email script is written with php in codeigniter, and it runs on …

Member Avatar for almostbob
0
300
Member Avatar for kantigniter

I have to sync with two tables in the database The following is the error I get: *A database error has occurred Error Number: 1054 Unknown column 'Array' in 'field list' INSERT INTO `client` (`interior_client_name`, `Interior_client_email`, `interior_client_mobile`, `interior_house_id`) VALUES ('a', 'b', '8989898', Array) Filename: C:\xampp\htdocs\ThinkInterio\system\database\DB_driver.php Line Number: 330* These are …

Member Avatar for cereal
0
5K
Member Avatar for cereal

#This is for Laravel 3.*# ## Hello, ## With this snippet I'm providing a simple way to automatically filter `Input::get()` and `Input::old()`. To achieve this result we need to make few changes: * extend Input and Redirect classes by creating new files in `application/libraries/`, the files are: **input.php** and **redirect.php**; …

1
375
Member Avatar for geewebid

hi master, i have problem with my ci web, i use force_download in my controller but why redirect() cannot work, please tell me what my problem. $filedown = $this->input->post('filedown'); $datas = file_get_contents(base_url() . "down/" . $filedown); // Read the file's contents $name = "$filedown"; force_download($name, $datas); i have error, if …

Member Avatar for Dani
0
2K
Member Avatar for Casperjames

Hello all, This is my first site project using codeigniter. The frontend is all html and I am using codeigniter for the backend. Everything was working fine until I added the frontend files and modified my htaccess file to not redirect to index.php but instead to index.html. htaccess looks like …

Member Avatar for cereal
0
410

The End.