convert to CI |
I have read the documentation and still do not understand which to change. I try this:
controllers/Welcome.php PHP Code: public function index() 404 Page Not Found The page you requested was not found. If you click the navigation bar.
" If I looks more intelligence please increase my reputation."
Assuming you are trying to fix this link
PHP Code: <?php echo site_url('pages'); ?> The link to the docs I posted for you, explains Code: For example, when a call is made to: Your controller is 'Welcome', your method is 'pages', so your link is PHP Code: <?php echo site_url('welcome/pages'); ?> However, if that is your entire Welcome.php you need to declare the class as the same as the filename, so in you case it would be something like PHP Code: <?php This is all clearly and thoroughly explained in the documentation. Hope that helps, Paul.
Thanks for help. After revising the codes, if I click the navigation link:
http://127.0.0.1/backend_CI/index.php/cp...ntents.php Instead of http://127.0.0.1/backend_CI/index.php/cpages/contents I wonder why? navigation.php PHP Code: <li class="active"><a href="index.php"><i class="icon icon-home"></i> <span>Administrator</span></a></li> controllers/cpages.php PHP Code: public function pages() { $this->load->view('pages'); }
" If I looks more intelligence please increase my reputation."
How to fix this error?
I attached the database in the attachment (giondacms). Code: [b]Fatal error[/b]: Call to undefined method Cpages::_example_output() in [b]C:\Program Files (x86)\EasyPHP-Devserver-16.1\eds-www\CompanyProfileCI\application\controllers\cpages.php[/b] on line [b]101[/b] controllers/cpages.php PHP Code: public function slideshows() { $this->load->view('slideshows'); } views/slideshow_Images.php PHP Code: <div class="row-fluid">
" If I looks more intelligence please increase my reputation."
|
Welcome Guest, Not a member yet? Register Sign In |