Welcome Guest, Not a member yet? Register   Sign In
[solved]codeigniter not running in xampp 1.7.3
#1

[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?
#2

[eluser]saidai jagan[/eluser]
I think u should enable short tags (ex. &lt;? ?&gtWink
#3

[eluser]T I[/eluser]
Thanks, it works.




Theme © iAndrew 2016 - Forum software by © MyBB