Fatal error: Call to undefined function anchor() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Fatal error: Call to undefined function anchor() (/showthread.php?tid=18697) |
Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]agubski[/eluser] Deat Team, I suspect there might be an issue with server configuration. I have received an error message when tried to use anchor() function. Server PHP info is at http://phpinfo.supremecenter112.com/ Please advice if there are such cases of cI not being supported by certain servers. thanks Alex Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]TWP Marketing[/eluser] Alex, did you load the helper functions? $this->load->helper('url'); Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]agubski[/eluser] Just did. Got rid of the error. Thanks a lot for advice. It looks though that the loaded viewer can't find Images as well as CSS file. Any ideas? Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]Dam1an[/eluser] What path have you for for the css and images? I always go base_url().'css/style.css' so you get the full path Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]agubski[/eluser] Mine is right in base_url() without dedicated folder Images though are in base_url()/images/ Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]agubski[/eluser] Is the path to CSS used anywhere within CI? I simply put it into each of viewer files ... It is also mentioned in one that doesn't display properly. Fatal error: Call to undefined function anchor() - El Forum - 05-14-2009 [eluser]agubski[/eluser] Having read the earlier posts I have figured CSS images though continue to be a problem. Page source viewed from browser doesn't indicate any conflict. images are not getting displayed ... |