codefight cms could not get admin page

This Forum Is To Discuss About Installation Problems And Solutions

Re: codefight cms could not get admin page

Postby chaleswa » Wed Apr 21, 2010 4:51 am

Thanks a lot for taking time and effort to make such a wonderful CMS with unique features. Thank you very much for the update to the CodeFight CMS.
chaleswa
Member Uranus
Member Uranus
 
Posts: 10
Joined: Thu Apr 01, 2010 5:57 pm

Re: codefight cms could not get admin page

Postby dbashyal » Wed Apr 28, 2010 9:14 pm

chaleswa wrote:New version of CMS:
please check the admin panel pagination. In the users section when click pagination link (2nd page). It didn't bring the 2nd page. I had similar problems with previous version not sure it happened after changing "admin.php" or before.


Thanks for pointing out the bug. Yes the issue came after above change.

You can fix this by changing:
FILE: app/admin/modules/users/controllers/users.php
Code: Select all
$config['base_url'] = base_url()."users/index/";


to:
Code: Select all
$index_page = $this->config->item('index_page');
if($index_page) $index_page .= '/';

$config['base_url'] = base_url().$index_page."users/index/";


FILE: app/admin/modules/comments/controllers/comments.php
Code: Select all
$index_page = $this->config->item('index_page');
if($index_page) $index_page .= '/';
      
$config['base_url'] = base_url().$index_page."comments/".$this->uri->segment(2, 'approved-comments')."/";


same applies for groups, pages
Download Free PHP CodeIgniter CMS 'Codefight CMS': http://codefight.org
dbashyal
Site Admin
 
Posts: 38
Joined: Mon May 21, 2007 10:35 pm

Previous

Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron