• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: [solved]did sumin dumb in config on localhost and locked out
PostPosted: Wed May 02, 2012 2:07 pm 
Offline
Forum Members
Forum Members

Joined: Fri Feb 17, 2012 4:25 pm
Posts: 89
Hi I tried to move my installation earlier and did something wrong and fixed it. in the backup process I saved over the config file and htaccess file of my local installation. So I tried to edit them to the localhost settings but I've obviously done something dumb.....
Now if I look at http://localhost/cmsms/ it is there but is not communicating with the images or stylesheets and when I type in http://localhost/cmsms/admin/
I am redirected to http://localhost/cmsms/admin/localhost/cmsms/admin/login.php
and if I try to go to http://localhost/cmsms/admin/login.php
I am directed to http://localhost/cmsms/admin/localhost/cmsms/admin/login.php .
Can't for the life of me work out what I have done!

This is the config.php
Code:
<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'root';
$config['db_password'] = '';
$config['db_name'] = 'cms';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'localhost/cmsms';
$config['timezone'] = 'UTC';
$config['default_encoding'] = 'utf-8';
#------------
#URL Settings
#------------
$config['url_rewriting'] = 'mod_rewrite';

$config['use_hierarchy'] = true;
$config['query_var'] = 'page';


#Show mod_rewrite URLs in the menu?
$config['assume_mod_rewrite'] = true;
 
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';

?>


It's like it's communicating with the database but them the database isn't communicating with the files... or something...

edit: so silly, its http://localhost isn't it


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: hdriezen


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting