• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
anchor links dont appear


<li>&lt;? = anchor('sms_download/', 'Check SMS Download');?&gt;</li>           <li>&lt;?=anchor('page/register', 'Register');?&gt;</li>

I have the above in page_view (in views folder), when launch the site from localhost(using xampa) everything works fine and links appear and can click on them and direct me to the relevant controller->viewpage

but i uploaded my site to a server and the links just dont appear

i am using anchor() as shown above.

this also doesnt work any ideas (was working in localhost)

Maybe your server doesn't support short tags?
<li>&lt;?php echo anchor('sms_download/', 'Check SMS Download');?&gt;</li>

Or you can enable short tag rewriting in the config file

Not Found

The requested URL /codeigniter/index.php/logsystem was not found on this server.

i get the above error, when i did what you suggested.


edit:- worked by re-writing short tag = TRUE in config file

I enabled re-write short tag, everything works fine now

took me long to find that solution

Thanks !

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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