CodeIgniter Forums
Problems installing CMS based in CI - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Problems installing CMS based in CI (/showthread.php?tid=25718)



Problems installing CMS based in CI - El Forum - 12-22-2009

[eluser]Unknown[/eluser]
Hello all.

I am facing few problems while installing CMSes based on Code Igniter. I have tried to install ci-cms and ionize cms. Both of them show me a problem while navigating to pages.

I mean that I am able to install them but when I navigate to the frontpage or the admin pages it says different kinds of "Page not found" errors. I think I have a problem with .htacces but I don't know how to fix it.

I have installed them in my Linux machine with apache2, php5 and mysql, not on a lamp stack.

The default address of my site becomes: http://localhost/ci-cms/

I have modified the config file as follows:

$config['base_url'] = "http://localhost/ci-cms/"
$config['index_page'] = "index.php";

What else am I supposed to do??

Please Help !!!

Regards.


Problems installing CMS based in CI - El Forum - 12-22-2009

[eluser]Andrew Cairns[/eluser]
you may need to create a .htaccess file to rewrite requests to the index page.

When navigating the cms, does your url look like:

http://localhost/ci-cms/index.php/page
or-
http://localhost/ci-cms/page

if your url does not contain index.php and you are not using a .htacces file, then this may be a problem.

http://codeigniter.com/wiki/mod_rewrite/


Problems installing CMS based in CI - El Forum - 12-22-2009

[eluser]Ben Edmunds[/eluser]
My money is on mod-rewrite needing to be enabled.


Problems installing CMS based in CI - El Forum - 12-22-2009

[eluser]textnotspeech[/eluser]
FYI Linux Apache MySQL and PHP is the "LAMP" stack