[solved]codeigniter not running in xampp 1.7.3 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [solved]codeigniter not running in xampp 1.7.3 (/showthread.php?tid=26104) |
[solved]codeigniter not running in xampp 1.7.3 - El Forum - 01-06-2010 [eluser]T I[/eluser] it was well and fine when i was xampp 1.7.2. When igrate and run my site from localhost, it shows load->database(); $this->load->helper('url'); $this->load->helper('html'); } function entry_insert() { $data1 = $this->upload->data(); //echo $data['file_name']; $data = array( 'user_id'=> $this->session->userdata('id',TRUE), /* insert the user id */ 'pic_name'=> $data1['file_name'], 'comment'=>$this->input->post('comment',TRUE) ); $this->db->insert('picture',$data); } function getall() { $this->db->select('*'); $this->db->limit(6); $this->db->from('picture'); $this->db->join('users', 'picture.user_id = users.id'); $this->db->order_by("picture.id", "desc"); $table = $this->db->get(); return $table; } function general() { $data['base'] = $this->config->item('base_url'); $data['css'] = $this->config->item('css'); $data['userfile'] = 'File Upload'; $data['comment'] = 'YourComment'; $data['heading1'] ='News Heading'; $data['summery'] ='summery'; $data['news1']='News'; $data['id']='id'; $data['fid']=array('name'=>'fid'); $data['fsummery'].............. like things. I shows apache's AllowOveride from none to all. but does not work. <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all </Directory> any insight? [solved]codeigniter not running in xampp 1.7.3 - El Forum - 01-06-2010 [eluser]saidai jagan[/eluser] I think u should enable short tags (ex. <? ?> [solved]codeigniter not running in xampp 1.7.3 - El Forum - 01-06-2010 [eluser]T I[/eluser] Thanks, it works. |