Project

General

Profile

Actions

Error #11

closed

different config.php

Added by Matthias almost 8 years ago. Updated almost 8 years ago.

Status:
Done
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
2017-02-15
Due date:
2017-02-15
% Done:

100%

Estimated time:

Description

A new clean install generates another config.php then the upgrade. Config.php should be the same, no matter if you make an upgrade or an install.

new install:

define('DB_TYPE', 'mysqli');
define('DB_HOST', 'localhost');
define('DB_NAME', 'xxxxxx');
define('DB_USERNAME', 'xxxxxx');
define('DB_PASSWORD', 'xxxxxx');
define('DB_CHARSET', 'xxxxxx');
define('TABLE_PREFIX', 'xxxxxx');

define('WB_URL', 'http://www.mydomain.de');// no trailing slash or backslash!!
define('ADMIN_DIRECTORY', 'admin');// no leading/trailing slash or backslash!! A simple directory name only!!

require_once(dirname(FILE).'/framework/initialize.php');
// end of file -------------

upgrade:
/* * auto generated config file v.1.0 * *** for WebsiteBaker 2.10 *** created at 2017-02-12 11:19:19 Europe/Berlin
*/
define('DB_TYPE', 'mysqli');
define('DB_HOST', 'localhost');
define('DB_PORT', '3306');
define('DB_NAME', 'xxxxxx');
define('DB_USERNAME', 'xxxxxx');
define('DB_PASSWORD', 'xxxxxx');
define('DB_CHARSET', 'xxxxxx');
define('TABLE_PREFIX', 'xxxxxx');

define('WB_URL', 'http://www.mydomain.de');
define('ADMIN_DIRECTORY', 'admin');

require_once DIR.'/framework/initialize.php';
// --- end of file ----------------------------------

Actions

Also available in: Atom PDF