[solved]did sumin dumb in config on localhost and locked out

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
ladyr0gue
Forum Members
Forum Members
Posts: 91
Joined: Fri Feb 17, 2012 4:25 pm

[solved]did sumin dumb in config on localhost and locked out

Post by ladyr0gue »

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/ ... /login.php
and if I try to go to http://localhost/cmsms/admin/login.php
I am directed to http://localhost/cmsms/admin/localhost/ ... /login.php .
Can't for the life of me work out what I have done!

This is the config.php

Code: Select all

<?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
Locked

Return to “[locked] Installation, Setup and Upgrade”