• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page href Problem in menu bar

#1
Tongue 
I am new in CodeIgniter .. I want To create a sample basic site Using Codeigniter ... Create a sample Menu bar  using Youtube videos to to make a code .. but not working .. Plz view the following pages and solve my problem or Give a Solutions for that .. Thank U ....! Tongue                  
Manikanta
Reply

#2
(12-26-2014, 03:12 AM)Chandini Wrote: I am new in CodeIgniter .. I want To create a sample basic site Using Codeigniter ... Create a sample Menu bar  using Youtube videos to to make a code .. but not working .. Plz view the following pages and solve my problem or Give a Solutions for that .. Thank U ....! Tongue  

check your view files . and create if u dont have. and then try again
Reply

#3
Try this url localhost/basicsite/index.php/site/home

For proper urls you have to include a htacces in your document root like

PHP Code:
RewriteEngine on
RewriteBase 
/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php?/$[L

then you should be able to call your linke Try this url localhost/basicsite/site/home

Reply

#4
(12-26-2014, 08:02 AM)paju89 Wrote:
(12-26-2014, 03:12 AM)Chandini Wrote: I am new in CodeIgniter .. I want To create a sample basic site Using Codeigniter ... Create a sample Menu bar  using Youtube videos to to make a code .. but not working .. Plz view the following pages and solve my problem or Give a Solutions for that .. Thank U ....! Tongue  

check your view files . and create if u dont have. and then try again

this is My view folder ...


Attached Files Thumbnail(s)
   
Manikanta
Reply

#5
(12-26-2014, 09:07 AM)Rufnex Wrote: Try this url localhost/basicsite/index.php/site/home

For proper urls you have to include a htacces in your document root like


PHP Code:
RewriteEngine on
RewriteBase 
/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond 
%{REQUEST_FILENAME} !-d
RewriteRule 
^(.*)$ index.php?/$[L

then you should be able to call your linke Try this url localhost/basicsite/site/home

Angel


Thanks ... Its Working ... but Mod_rewrite(htaccess) .. file copy from github.com but I dont know the what the use of htaccess file and how to create that file...?
Manikanta
Reply

#6
htacces tells your server (apache) about your rules in this case your rewrite rules for the urls. You simple have to create a file in the document root with the content above and name it .htaccess .. thats all.

Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.