Re: Installation problem

Sorry for late reply. Can you try uploading this to database, probably installer didn’t worked for you.


================

—Table structure for table `cf_banners`

CREATE TABLE `cf_banners` (
  `banners_id` int(11) NOT NULL AUTO_INCREMENT,
  `banners_title` varchar(64) NOT NULL DEFAULT ‘’,
  `banners_url` varchar(255) NOT NULL DEFAULT ‘’,
  `banners_image` varchar(64) NOT NULL DEFAULT ‘’,
  `banners_group` varchar(255) NOT NULL DEFAULT ‘’,
  `banners_html_text` text,
  `expires_impressions` int(7) DEFAULT ‘0’,
  `expires_clicks` int(7) DEFAULT ‘0’,
  `expires_date` datetime DEFAULT NULL,
  `date_scheduled` datetime DEFAULT NULL,
  `date_added` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’,
  `date_status_change` datetime DEFAULT NULL,
  `status` int(1) NOT NULL DEFAULT ‘1’,
  PRIMARY KEY (`banners_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=3 ;


—Dumping data for table `cf_banners`

—————————————————————————————


—Table structure for table `cf_banners_history`

CREATE TABLE `cf_banners_history` (
  `banners_history_id` int(11) NOT NULL AUTO_INCREMENT,
  `banners_id` int(11) NOT NULL DEFAULT ‘0’,
  `banners_shown` int(5) NOT NULL DEFAULT ‘0’,
  `banners_clicked` int(5) NOT NULL DEFAULT ‘0’,
  `banners_history_date` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’,
  PRIMARY KEY (`banners_history_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;


—Dumping data for table `cf_banners_history`

—————————————————————————————


—Table structure for table `cf_forms_groups`

CREATE TABLE `cf_forms_groups` (
  `form_groups_id` int(11) NOT NULL AUTO_INCREMENT,
  `form_groups_name` varchar(25) DEFAULT NULL,
  `form_groups_identifier` varchar(35) DEFAULT NULL,
  `form_groups_send_to` text,
  PRIMARY KEY (`form_groups_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;


—Dumping data for table `cf_forms_groups`

—————————————————————————————


—Table structure for table `cf_forms_items`

CREATE TABLE `cf_forms_items` (
  `form_item_id` int(11) NOT NULL AUTO_INCREMENT,
  `form_item_name` varchar(50) NOT NULL,
  `form_item_label` varchar(50) NOT NULL,
  `form_item_input_type` varchar(15) NOT NULL,
  `form_item_validations` varchar(200) NOT NULL,
  `form_item_default_value` varchar(200) NOT NULL,
  `form_item_parameters` varchar(200) NOT NULL,
  PRIMARY KEY (`form_item_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=13 ;


—Dumping data for table `cf_forms_items`

—————————————————————————————


—Table structure for table `cf_forms_items_to_groups`

CREATE TABLE `cf_forms_items_to_groups` (
  `form_groups_id` int(11) NOT NULL,
  `form_item_id` int(11) NOT NULL,
  `form_item_sort` int(11) NOT NULL,
  KEY `form_groups_id` (`form_groups_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


—Dumping data for table `cf_forms_items_to_groups`

—————————————————————————————


—Table structure for table `cf_groups`

CREATE TABLE `cf_groups` (
  `groups_id` int(11) NOT NULL AUTO_INCREMENT,
  `groups_title` varchar(255) NOT NULL,
  `groups_description` text NOT NULL,
  `groups_sort` int(11) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`groups_id`),
  UNIQUE KEY `groups_title` (`groups_title`),
  KEY `groups_sort` (`groups_sort`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;


—Dumping data for table `cf_groups`

INSERT INTO `cf_groups` (`groups_id`, `groups_title`, `groups_description`, `groups_sort`) VALUES
(1, ‘Administrator’, ‘Users who have admin access rights go to this group.’, 0),
(2, ‘Public’, ‘General users go to this group.’, 1),
(3, ‘Registered User’, ‘Registered User Group.’, 2);

—————————————————————————————


—Table structure for table `cf_menus`

CREATE TABLE `cf_menus` (
  `menus_id` int(11) NOT NULL AUTO_INCREMENT,
  `menus_active` int(1) NOT NULL DEFAULT ‘0’,
  `menus_parent_id` int(11) DEFAULT ‘0’,
  `menus_link` varchar(255) DEFAULT NULL,
  `menus_title` varchar(255) NOT NULL,
  `menus_type` varchar(255) NOT NULL DEFAULT ‘pages’,
  `menus_meta_title` varchar(70) DEFAULT NULL,
  `menus_meta_keywords` varchar(200) DEFAULT NULL,
  `menus_meta_description` varchar(150) DEFAULT NULL,
  `menus_sort` int(11) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`menus_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=66 ;


—Dumping data for table `cf_menus`

INSERT INTO `cf_menus` (`menus_id`, `menus_active`, `menus_parent_id`, `menus_link`, `menus_title`, `menus_type`, `menus_meta_title`, `menus_meta_keywords`, `menus_meta_description`, `menus_sort`) VALUES
(1, 1, 0, ‘http://www.codefight.org/’, ‘Home’, ‘pages’, NULL, NULL, NULL, 0),
(24, 1, 0, ‘codeigniter’, ‘Codeigniter’, ‘blog-categories’, NULL, NULL, NULL, 4),
(18, 1, 0, ‘http://www.codefight.org/page/18/35/contact-us.html’, ‘Contact Us’, ‘pages’, NULL, NULL, NULL, 10),
(40, 1, 0, ‘http://twitter.com/codefight’, ‘Twitter’, ‘favourite-links’, NULL, NULL, NULL, 2),
(41, 1, 0, ‘http://www.linkedin.com/in/codefight’, ‘Linked In’, ‘favourite-links’, NULL, NULL, NULL, 3),
(43, 1, 0, ‘http://www.tenthweb.com/forums/viewforum.php?f=49’, ‘Forum’, ‘pages’, NULL, NULL, NULL, 1),
(65, 1, 0, ‘codefight’, ‘Codefight’, ‘blog-categories’, NULL, NULL, NULL, 0);

—————————————————————————————


—Table structure for table `cf_ontheweb`

CREATE TABLE `cf_ontheweb` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_keywords` text,
  `meta_description` text,
  `link` varchar(255) DEFAULT NULL,
  `link_external` varchar(255) DEFAULT NULL,
  `content` text,
  `views` int(11) NOT NULL DEFAULT ‘0’,
  `timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `is_adult` varchar(1) NOT NULL DEFAULT ‘0’,
  `is_locked` varchar(1) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`id`),
  KEY `timestamp` (`timestamp`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5653 ;


—Dumping data for table `cf_ontheweb`

—————————————————————————————


—Table structure for table `cf_pages`

CREATE TABLE `cf_pages` (
  `pages_id` int(11) NOT NULL AUTO_INCREMENT,
  `pages_active` int(11) NOT NULL,
  `pages_title` varchar(255) DEFAULT NULL,
  `pages_blurb` text,
  `pages_blurb_length` int(11) NOT NULL,
  `pages_body` text,
  `menu_id` varchar(255) NOT NULL DEFAULT ‘0’,
  `pages_author` varchar(255) NOT NULL,
  `show_author` int(1) NOT NULL DEFAULT ‘0’,
  `pages_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `pages_date_modified` datetime DEFAULT NULL,
  `show_date` int(1) NOT NULL DEFAULT ‘0’,
  `pages_tags` varchar(255) NOT NULL,
  `allow_comments` int(1) NOT NULL DEFAULT ‘0’,
  `pages_type` varchar(255) NOT NULL DEFAULT ‘pages’,
  `pages_view` int(11) DEFAULT ‘0’,
  `pages_meta_title` varchar(70) DEFAULT NULL,
  `pages_meta_keywords` varchar(200) DEFAULT NULL,
  `pages_meta_description` varchar(150) DEFAULT NULL,
  `pages_sort` int(11) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`pages_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=50 ;


—Dumping data for table `cf_pages`

INSERT INTO `cf_pages` (`pages_id`, `pages_active`, `pages_title`, `pages_blurb`, `pages_blurb_length`, `pages_body`, `menu_id`, `pages_author`, `show_author`, `pages_date`, `pages_date_modified`, `show_date`, `pages_tags`, `allow_comments`, `pages_type`, `pages_view`, `pages_meta_title`, `pages_meta_keywords`, `pages_meta_description`, `pages_sort`) VALUES
(49, 1, ‘Installation successful.’, ‘This post means you installed successfully.’, 0, ‘This post means you installed successfully.’, ‘,65,’, ‘Damodar Bashyal’, 1, ‘2009-11-21 23:33:26’, NULL, 1, ‘codefight, codefight cms, codeigniter, codeigniter cms’, 1, ‘blog’, 0, ‘Installation successful. - codefight’, ‘codefight, codefight cms, codeigniter, codeigniter cms’, ‘codefight, codefight cms, codeigniter, codeigniter cms’, 0);

—————————————————————————————


—Table structure for table `cf_pages_access`

CREATE TABLE `cf_pages_access` (
  `pages_id` int(11) NOT NULL,
  `groups_id` varchar(255) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`pages_id`,`groups_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


—Dumping data for table `cf_pages_access`

INSERT INTO `cf_pages_access` (`pages_id`, `groups_id`) VALUES
(49, ‘1_2’);

—————————————————————————————


—Table structure for table `cf_pages_comments`

CREATE TABLE `cf_pages_comments` (
  `pages_comments_id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `email` varchar(255) NOT NULL,
  `comment` text NOT NULL,
  `time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `url` varchar(255) NOT NULL,
  `pages_id` int(11) NOT NULL,
  `pages_url` varchar(300) DEFAULT NULL,
  `pages_comments_status` int(1) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`pages_comments_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=39 ;


—Dumping data for table `cf_pages_comments`

—————————————————————————————


—Table structure for table `cf_pages_tags`

CREATE TABLE `cf_pages_tags` (
  `pages_id` int(11) NOT NULL,
  `tags` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


—Dumping data for table `cf_pages_tags`

INSERT INTO `cf_pages_tags` (`pages_id`, `tags`) VALUES
(49, ‘codefight’),
(49, ‘codefight-cms’),
(49, ‘codeigniter’),
(49, ‘codeigniter-cms’);

—————————————————————————————


—Table structure for table `cf_sessions`

CREATE TABLE `cf_sessions` (
  `session_id` varchar(40) NOT NULL DEFAULT ‘0’,
  `ip_address` varchar(16) NOT NULL DEFAULT ‘0’,
  `user_agent` varchar(50) NOT NULL,
  `last_activity` int(10) unsigned NOT NULL DEFAULT ‘0’,
  `user_data` text NOT NULL,
  PRIMARY KEY (`session_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

—————————————————————————————


—Table structure for table `cf_settings`

CREATE TABLE `cf_settings` (
  `settings_id` int(11) NOT NULL AUTO_INCREMENT,
  `settings_key` varchar(50) NOT NULL,
  `settings_value` varchar(300) NOT NULL,
  `settings_info` varchar(100) NOT NULL,
  `settings_form` varchar(25) NOT NULL,
  `settings_options` varchar(250) NOT NULL,
  PRIMARY KEY (`settings_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=14 ;


—Dumping data for table `cf_settings`

INSERT INTO `cf_settings` (`settings_id`, `settings_key`, `settings_value`, `settings_info`, `settings_form`, `settings_options`) VALUES
(1, ‘site_enabled’, ‘1’, ‘Site Enabled’, ‘radio’, ‘1=YES|0=NO’),
(2, ‘site_comments’, ‘0’, ‘Registration required to post comments’, ‘radio’, ‘1=YES|0=NO’),
(3, ‘meta_title’, ‘codefight.org’, ‘Default Meta Title’, ‘textbox’, ‘codefight.org’),
(4, ‘meta_keyword’, ‘codefight, code fight, content, management, system, free, php, download’, ‘Default Meta Keywords’, ‘textbox’, ‘codefight, code fight, content, management, system, free, php, download’),
(5, ‘meta_description’, ‘download free content management system built with codeigniter free php framework.’, ‘Default Meta Description’, ‘textarea’, ‘download free content management system built with codeigniter free php framework.’),
(6, ‘default_template’, ‘3columns’, ‘Default Template’, ‘select’, ‘’),
(7, ‘email_sender’, ‘noreply@codefight.org’, ‘From Email Address’, ‘textbox’, ‘noreply@codefight.org’),
(8, ‘site_name’, ‘CodeFight’, ‘Website Name’, ‘textbox’, ‘CodeFight’),
(9, ‘combine_css’, ‘1’, ‘Combine CSS Files’, ‘radio’, ‘1=YES|0=NO’),
(10, ‘minify_css’, ‘1’, ‘Minify CSS’, ‘radio’, ‘1=YES|0=NO’),
(11, ‘minify_html’, ‘1’, ‘Minify html source code’, ‘radio’, ‘1=YES|0=NO’),
(12, ‘pagination_page_links’, ‘2’, ‘Display Total Pagination Page Links’, ‘textbox’, ‘2’),
(13, ‘pagination_per_page’, ‘3’, ‘Display Total Articles Per Page’, ‘textbox’, ‘5’);

—————————————————————————————


—Table structure for table `cf_tags_cloud`

CREATE TABLE `cf_tags_cloud` (
  `tag` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `count` int(11) NOT NULL DEFAULT ‘1’,
  `type` varchar(15) NOT NULL DEFAULT ‘page’,
  KEY `count` (`count`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;


—Dumping data for table `cf_tags_cloud`

INSERT INTO `cf_tags_cloud` (`tag`, `title`, `count`, `type`) VALUES
(‘codefight’, ‘codefight’, 1, ‘page’),
(‘codefight-cms’, ’ codefight cms’, 1, ‘page’),
(‘codeigniter’, ’ codeigniter’, 1, ‘page’),
(‘codeigniter-cms’, ’ codeigniter cms’, 1, ‘page’);

—————————————————————————————


—Table structure for table `cf_users`

CREATE TABLE `cf_users` (
  `users_id` int(11) NOT NULL AUTO_INCREMENT,
  `active` char(1) NOT NULL DEFAULT ‘’,
  `email` varchar(255) NOT NULL DEFAULT ‘’,
  `password` varchar(34) NOT NULL DEFAULT ‘’,
  `firstname` varchar(100) NOT NULL DEFAULT ‘’,
  `lastname` varchar(100) NOT NULL DEFAULT ‘’,
  `groups_id` int(11) NOT NULL DEFAULT ‘0’,
  PRIMARY KEY (`users_id`),
  UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;


—Dumping data for table `cf_users`

INSERT INTO `cf_users` (`users_id`, `active`, `email`, `password`, `firstname`, `lastname`, `groups_id`) VALUES
(11, ‘1’, ‘test@test.com’, ‘098f6bcd4621d373cade4e832627b4f6’, ‘test’, ‘test’, 1);

continue reading ...

 

 

 

Author dbashyal has posted total 30 posts.
click here To post comments on the above post.
Date: 11-03-2010 15:36:20pm

Re: codefight cms could not get admin page

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
$config['base_url'] = base_url()."users/index/";

to:

$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

$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
Author dbashyal has posted total 30 posts.

Date: 28-04-2010 05:14:41am

Re: codefight cms could not get admin page

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.
Author chaleswa has posted total 9 posts.

Date: 20-04-2010 12:51:09pm

Re: codefight cms could not get admin page

New version of codefight cms is now available for download. Just a new skin + few bug fixes + removed "admin/" from url to work in above server environment as well.
Author dbashyal has posted total 30 posts.

Date: 20-04-2010 05:29:10am

Re: codefight cms could not get admin page

Hi dbashyal ,

Yes i missunderstood you. And, i think your solution is best for now and actually i added that to my site codefight.org now as well. Thanks :)


I am happy that it was useful.

And I went ahead with your solution of removing "admin/" for the admin section.
I added "admin.php?" in the admin/config/config.php file

$config['index_page'] = "admin.php?";
and removed the "admin/" within
admin/modules
admin/views/ and also
admin/libraries/login.php

It Worked a Treat.

Thank you very much for the timely solution!
Author chaleswa has posted total 9 posts.

Date: 02-04-2010 01:07:26am

Re: codefight cms could not get admin page

Hi dbashyal,
Actually I did put you in a wrong impression by this

[quote:2q4o5bh2]I modified the URI.php library file to remove the suffix and then it started working.

[/quote:2q4o5bh2]

Hi Chaleswa,

Yes i missunderstood you. And, i think your solution is best for now and actually i added that to my site codefight.org now as well. Thanks :)

I saw that issue after upgrading to current codeigniter and not sure how i fixed that time. Hopefully it will be fine in next release of codeigniter.
Author dbashyal has posted total 30 posts.

Date: 01-04-2010 17:07:52pm

Re: codefight cms could not get admin page

Hi dbashyal,
Actually I did put you in a wrong impression by this

I modified the URI.php library file to remove the suffix and then it started working.


when I accessed the last segment using $this->uri->segment(no) it said for e.g login_html instead of login.
So, I was actually trying to remove the suffix from the last segment value (not from the URL) .
Thus allowing the url suffix to work and removing the suffix from the last segment value.

For admin, I think what you had detailed is the only Hope for now.
Author chaleswa has posted total 9 posts.

Date: 01-04-2010 08:52:09am

Re: codefight cms could not get admin page

I think I got it fixed (not sure whether it's the right fix). But it worked for me.
I found that the URI segment was combining the suffix (.HTML) with the last argument

e.g
http://www.myhost.com/user/register.html
it is considered as
http://www.myhost.com/user/register_html

I modified the URI.php library file to remove the suffix and then it started working.
Now everything did work fine.

Please let me know if this is the right solution or is there a proper solution to it. Thank you very much for your help!

Chaleswa


If you don't need suffix, you can just set in config:
app\frontend\config\config.php

app\admin\config\config.php

$config['url_suffix'] = ""; //leave this blank. By default codefight cms has .html but as it was causing issue, i have removed that for you.

Its more than 1am here in sydney so i am off to sleep now. I'll have a look at this thread tomorrow. Please keep me update. Thanks and good night.
Author dbashyal has posted total 30 posts.

Date: 01-04-2010 08:13:41am

Re: codefight cms could not get admin page

After removing the rewrite base it didn't work. pls check your pm for details.


Hi Chaleswa,

Its strange that htaccess works for frontend but not for admin. I did few searches and found godaddy has issues with its .htaccess and so many people frustrated with that.

Now the only thing to make admin accessible is to use 'admin.php?' in admin config and removing 'admin/' occurence in all view files under 'app\admin\modules'. You can do a quick search and replace.

see: http://codeigniter.com/forums/viewthread/71881/#625476
Author dbashyal has posted total 30 posts.

Date: 01-04-2010 08:04:33am

Re: codefight cms could not get admin page

I think I got it fixed (not sure whether it's the right fix). But it worked for me.
I found that the URI segment was combining the suffix (.HTML) with the last argument

e.g
http://www.myhost.com/user/register.html
it is considered as
http://www.myhost.com/user/register_html

I modified the URI.php library file to remove the suffix and then it started working.
Now everything did work fine.

The actual modification I made was to
function _explode_segments()
{
foreach(explode("/", preg_replace("|/*(.+?)/*$|", "\\1", $this->uri_string)) as $val)
{
// Filter segments for security
$val = trim($this->_filter_uri($val));

if ($val != '')
{
$this->segments[] = $val;
}
}
}


to this

function _explode_segments()
{
foreach(explode("/", preg_replace("|/*(.+?)/*$|", "\\1", $this->uri_string)) as $val)
{
// Filter segments for security
$val = trim($this->_filter_uri($val));

if ($val != '')
{
$this->segments[] = $val;
}
}

/* START: Non CI code to solve the problem of suffix combining with the last argument */
if ($this->config->item('url_suffix') != '') {
$index = sizeof($this->segments);
$index -= 1;
$url_suffix = str_replace(".","_",$this->config->item('url_suffix'));
if (substr($this->segments[$index],(strlen($this->segments[$index]) - strlen($url_suffix)),strlen($url_suffix)) == $url_suffix) {
$this->segments[$index] = substr($this->segments[$index],0,(strlen($this->segments[$index]) - strlen($url_suffix)));
}
}
/* END: Non CI code to solve the problem of suffix combining with the last argument */
}


Please let me know if this is the right solution or is there a proper solution to it. Thank you very much for your help!

Chaleswa
Author chaleswa has posted total 9 posts.

Date: 01-04-2010 07:55:30am

Re: codefight cms could not get admin page

After removing the rewrite base it didn't work. pls check your pm for details.
Author chaleswa has posted total 9 posts.

Date: 01-04-2010 05:56:37am

Re: codefight cms could not get admin page

Hi,
I am using codefight cms in the development server (e.g http://www.myhost.com/dev/) , which is set up on a godaddy server.
First I couldn't access any CMS pages. Then I searched and found out that the .htaccess needed to be changed to make it work.

I changed the following htaccess lines
RewriteBase /
RewriteRule ^admin/(.*)$ admin.php/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L]

to this. [below changed lines]
RewriteBase /dev
RewriteRule ^admin/(.*)$ admin.php?/$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L]

now, when I try to access the http://www.myhost.com/dev/admin, I get a 404 page.
Is there any way that I could be able to resolve this by making any changes to the .htaccess?

Thank you


Hi Chaleswa,

You seems to be doing everything right. I was unable to access the /dev. Did you remove it or is still not accessible.

RewriteBase is not really required, so you can try removing that.

If that doesn't work and if you trust you can PM me your temporary FTP access and i can look it for you.
Author dbashyal has posted total 30 posts.

Date: 01-04-2010 03:48:48am

codefight cms could not get admin page

Hi,
I am using codefight cms in the development server (e.g http://www.myhost.com/dev/) , which is set up on a godaddy server.
First I couldn't access any CMS pages. Then I searched and found out that the .htaccess needed to be changed to make it work.

I changed the following htaccess lines
RewriteBase /
RewriteRule ^admin/(.*)$ admin.php/$1 [L]
RewriteRule ^(.*)$ index.php/$1 [L]

to this. [below changed lines]
RewriteBase /dev
RewriteRule ^admin/(.*)$ admin.php?/$1 [L]
RewriteRule ^(.*)$ index.php?/$1 [L]

now, when I try to access the http://www.myhost.com/dev/admin, I get a 404 page.
Is there any way that I could be able to resolve this by making any changes to the .htaccess?

Thank you
Author chaleswa has posted total 9 posts.

Date: 01-04-2010 02:11:59am

 

 

You may also like:

And, Around the globe:

 

 

 

 1 2 3 4 >  Last ›
 


Page rendered in 2.0904 seconds

 
Powered by: Codefight CMS | A Damodar Bashyal Creation.