My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Install  
How to install it.
Phase-Deploy, Featured
Updated Jan 24, 2010 by heriniai...@gmail.com

Introduction

  • Download and extract
  • Directory and file structures should be like this
    • hen you install it under a sub-folder and you want to use .htaccess, verify that you specified the RewriteBase
  • Make writable the folders ./media and ./cache
  • Rename database.dist.php in ./application/config to database.php and fill it with your database configuration.
  • Rename config.dist.php in ./application/config to config.php and adjust it to your needs.
  • Go to http://yoursite/install and follow the installation steps
  • The first username and password will become the main administrator. You can add more later.

Update

Comment by lamsieuq...@gmail.com, Oct 9, 2009

where SQL to setup CI CMS ?

Comment by project member heriniai...@gmail.com, Oct 9, 2009

You don't need.

Just open yoursite.com/install

Comment by kingjiy...@gmail.com, Oct 30, 2009

A Database Error Occurred

Error Number: 1101

BLOB/TEXT column 'value' can't have a default value

CREATE TABLE IF NOT EXISTS ci_settings ( id INT(11) UNSIGNED AUTO_INCREMENT, name VARCHAR(255) DEFAULT '0', value TEXT DEFAULT '', PRIMARY KEY id (id), KEY name (name) ) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

Comment by mr.thachvinh@gmail.com, Oct 31, 2009

After instal with some error default for TEXT type in mysql.

I can't access to admin page,or site page! I have config : $config['base_url'] = "http://localhost/ci-cms/"; $config['index_page'] = "index.php";

and rewrite not work, i have enable mod_write in apache.

Please help me. Thanks.

Comment by tibeo...@gmail.com, Dec 15, 2009

I saw a problem about redirect, when i login admin page and logout then. redirect return to url http://localhost/ and i fixed it such as:

find line 535 in url_helper.php and add new $uri=$config['base_url'].$uri;

find line 14 in config/config.php fix base_url key is: http://localhost/ci-cms/

i test complete all function admin and frontend site. it's ok.

Comment by tibeo...@gmail.com, Dec 15, 2009

hi all ! in modules management, i see next a problem about "uninstall module" and i had fixed action uninstall. someone review for me ! first setup.xml . I change and add new query with table's modules used. then i fix in module.php of admin with code:

if (is_readable(APPPATH.'modules/'.$module.'/setup.xml'))

{
$this->load->helper('xml'); $xmldata = join('', file(APPPATH.'modules/'.$module.'/setup.xml')); $xmlarray = xmlize($xmldata); if (isset($xmlarray['module']['#']['uninstall']0?['#'])){
$xmluninstall_query = $xmlarray['module']['#']['uninstall']0?['#']['query']; foreach($xmluninstall_query as $row){
$this->db->query($row['#']);
}
}
}
test uninstall and install. tables's module have been drop out of db.

Comment by project member heriniai...@gmail.com, Dec 16, 2009

Hi tibeopro:

About the wrong redirect, you should not touch the Codeigniter Core.

Normally when you logout you are redirected to the last uri, but in Admin, since the last uri needs you to be logged in, you are redirected again to the login form. Not to the base url. At least, that's what happens to me when using the latest revision in SVN

Comment by project member heriniai...@gmail.com, Dec 16, 2009

tibeopro> About dropping the table, I would be a bit careful because the table might have data.

Maybe there should be a confirmation form first and a checkbox asking if the admin would like to delete the table when uninstalling.

Comment by project member heriniai...@gmail.com, Dec 18, 2009

tibeopro> about the redirect

I think the error is just because of URL rewritting.

So to fix it, you just need to add the directory name in .htaccess

for http://localhost/ci-cms

You add the ci-cms in .htaccess

RewriteEngine on
RewriteCond $1 !^(index\.php|application|media|robots\.txt)
RewriteRule ^(.*)$ /ci-cms/index.php/$1 [L]
Comment by senowija...@gmail.com, Feb 7, 2010

Hi all,

I just download ci-cms and then i try to install to my computer. But when i write the url http://localhost/ci-cms/, the browser is going back to the root of webserver that is used (http://localhost/xampp/). Even i write the url http://localhost/ci-cms/install, the ci-cms didn't installed too. Please anyone can help me and give me explanation about my problem.

Comment by project member heriniai...@gmail.com, Feb 8, 2010

Just read the comment above what you posted... You have to touch your .htaccess

Comment by markpr...@gmail.com, Feb 21, 2010

@senowijayanto,I also experienced the same thing, when I type the url :localhost /ci-cms/install, the page that appears is the XAMPP pages with url: http://localhost/xampp/splash.php, the solution is how it??

Comment by ec.devel...@gmail.com, Apr 13, 2010

Hey hello! Have some troubles with css and Js files. I have installed the system, everything is fine. But the CSS and JS files are not included. When I try to access http://localhost/ci-cms/application/views/admin/style/admin.css , I see the CI-CMS Not Found page - " Page Not Found!

The page you're looking for couldn't be found!

You can create it here "

Even when I try to access http://localhost/ci-cms/license.txt, I see this "Not Found" page. How can I fix it?

Thank you.

Comment by project member heriniai...@gmail.com, Apr 13, 2010

how is your .htaccess ?

Comment by ec.devel...@gmail.com, Apr 13, 2010

My .htaccess is placed in /var/www/ci-cms, and it's content is: RewriteEngine? on RewriteCond? $1 !^(index\.php|images|robots\.txt) RewriteRule? ^(.)$ /ci-cms/index.php/$1 L?

Comment by project member heriniai...@gmail.com, Apr 13, 2010

Change it to

RewriteEngine on
RewriteCond $1 !^(index\.php|images|application|robots\.txt)
RewriteRule ^(.*)$ /ci-cms/index.php/$1 [L]

you forgot the |application|

Comment by ec.devel...@gmail.com, Apr 13, 2010

Ooo, great!!! Thank you!! :)

Comment by gowravvishwakarma, Jun 15, 2010

http://localhost/ci-cms/admin/<?=site_url('admin/login')> just seeing this after click on any link even after login

Comment by project member heriniai...@gmail.com, Jun 15, 2010

gowravvishwakarma> It's been fixed with the latest svn commit. In fact, if your php accepts short tags then there should be no problem. But I saw that php5, by default, deactivates short tags. So everything with <?= is not recognized.

Please download from http://ci-cms.googlecode.com/svn/trunk/

Especially the admin module in

http://ci-cms.googlecode.com/svn/trunk/application/modules/admin/

Comment by paragpva...@gmail.com, Nov 24, 2010

lots of issues in installation, so not of use... :(

Comment by kz.matt...@gmail.com, Feb 23, 2011

hi i couldn't reached to install pages, only see 404 error pages,after rename and edit into database step. could you help me how can i resolve it?

Comment by baksh...@gmail.com, Jan 30, 2012

Can i hide CI-CMS copyright link in bottom?

Comment by project member heriniai...@gmail.com, Jan 30, 2012

@bakshir > I think t is in the template footer. You can remove it or change templates

Comment by baksh...@gmail.com, Jan 30, 2012

tnx


Sign in to add a comment
Powered by Google Project Hosting