Page 1 of 1

New User/New Install...Cannot Get to Admin Log In

Posted: Sat May 30, 2015 4:53 pm
by derrickhand300
Hello-I just did an install of CMSNS and everything went smoothly but when I go to the url to log in-there is no form to log in..

http://theamericandriller.com/admin/login.php

Even though everything during install showed "success" when I go to

http://theamericandriller.com/index.php I see I have a database error

Code: Select all

/home/curtis/public_html/lib/adodb.functions.php:52 - offsetGet
/home/curtis/public_html/lib/classes/class.CmsApp.php:229 - adodb_connect
/home/curtis/public_html/include.php:201 - GetDb
/home/curtis/public_html/index.php:71 - require_once
FATAL ERROR: Could not find database connection key dbms in the config file
My config.php file looks ok to me with the exception that I could not start my database name with 'cms_' because cpanel required it to start with '<another_prefix>_' [edited by moderator]

Here is that config with password edited out

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'] = 'xxxxx';
$config['db_password'] = 'xxxxx';
$config['db_name'] = 'xxxxx';
$config['db_prefix'] = 'cms_';
$config['timezone'] = 'America/North_Dakota/Center';
?>
Wondering if anyone can tell me where I am going wrong?

The site shows up here http://theamericandriller.com but there is no way to log into the admin control panel to edit the site

Thank you

Re: New User/New Install...Cannot Get to Admin Log In

Posted: Sun May 31, 2015 3:41 pm
by velden
The prefix 'cms_' is used for table names not for database names.

Without good database information (like host, username, password etc) it obviously won't work (no db driven application would). We can't help you with that. Only the hosting provider can.