Project

General

Profile

Error #11

different config.php

Added by Matthias over 5 years ago. Updated over 5 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 ----------------------------------

History

#1 Updated by Manuela over 5 years ago

  • Status changed from New to Done
  • Assignee set to Manuela
  • Priority changed from Hoch to Normal

#2 Updated by Dietmar over 5 years ago

  • Due date set to 2017-02-15
  • % Done changed from 0 to 100

Also available in: Atom PDF