Menu

#19 Errors in a_setup.php

closed-accepted
nobody
None
5
2008-02-28
2008-02-20
BigIron
No

Variable mismatch when setting database password. When you run setup it seems to complete but writes a blank database password entry in the /config/dbsettings.php file. By changing the two items below it works fine.

File: dbsettings.php

/ let's write out the dbsettings.php file
$output = "<?php // dbsettings.php

define ('DB_USER', '$dbuser');
define ('DB_PASSWORD', '$dbpassword'); <<---change to $dbpass
define ('DB_HOST', '$dbhost');
define ('DB_NAME', '$dbname');

<pre>
KB Install = TRUE
Knowledgebase Name = $kbname
Knowldgebase URL = $kburl
KB Home URL = $kbhomeurl
KBADMIN Email = $kbadminemail
$changedkbadminpassword
Database Username = $dbuser
Database Password = $dbpassword <<---change to $dbpass
Database Host = $dbhost
Database Name = $dbname
HTML Editor = $pluginwhizzywig
<!--KB Email = $pluginkbemail
RSS = $pluginrss-->
Production Level = $prodlev
</pre>

Discussion

  • Andy Grayndler

    Andy Grayndler - 2008-02-28
    • status: open --> pending-accepted
     
  • Andy Grayndler

    Andy Grayndler - 2008-02-28
    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.