anchor links dont appear - 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: anchor links dont appear (/showthread.php?tid=18477) |
anchor links dont appear - El Forum - 05-07-2009 [eluser]chaostheory[/eluser] hi, Code: <li><? = anchor('sms_download/', 'Check SMS Download');?></li> <li><?=anchor('page/register', 'Register');?></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. Code: <title><?=$title?></title> this also doesnt work any ideas (was working in localhost) anchor links dont appear - El Forum - 05-07-2009 [eluser]Dam1an[/eluser] Maybe your server doesn't support short tags? Try Code: <li><?php echo anchor('sms_download/', 'Check SMS Download');?></li> Or you can enable short tag rewriting in the config file anchor links dont appear - El Forum - 05-07-2009 [eluser]chaostheory[/eluser] 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 anchor links dont appear - El Forum - 05-07-2009 [eluser]chaostheory[/eluser] I enabled re-write short tag, everything works fine now took me long to find that solution Thanks ! |