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

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
derrickhand300
New Member
New Member
Posts: 1
Joined: Sat May 30, 2015 3:28 pm

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

Post 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
Last edited by velden on Sun May 31, 2015 3:37 pm, edited 1 time in total.
Reason: You might consider not posting too much sensitive information
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

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

Post 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.
Locked

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