having trouble with controllers - 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: having trouble with controllers (/showthread.php?tid=53361) Pages:
1
2
|
having trouble with controllers - El Forum - 07-23-2012 [eluser]bradyrose[/eluser] i have checked config.php and found the settings to match as you have stated, I have put .htaccess files in both the application directory and the home directory, because I am unsure where it should be placed. Should it be the code you provided alone? I have posted simply the information you have supplied within the .htaccess file and have attempted urls such as www.cashforbtc.com/pages/home, which yields "not found" pages. however, www.cashforbtc.com/index.php/home , and other corresponding pages still work. pages.php controller: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); having trouble with controllers - El Forum - 07-23-2012 [eluser]bradyrose[/eluser] here are my current routes, or attempt to try what has been suggested, thus far the only way im navigating to pages such as www.cashforbtc.com/index.php/home , pages/home does not work with combinations that have been suggested, or as i have miss?understood them. Code: //$route['pages/pmsystem/(:any)'] = 'pages/pm/$1'; having trouble with controllers - El Forum - 07-23-2012 [eluser]bradyrose[/eluser] here is also a pastebin to my config.php file http://pastebin.com/EuHevUKQ |