NoM
10-Mar-2007, 04:47 PM
SCROLL DOWN TO POST #5
Fix?
Fix?
Error - NBS |
|
|
View Full Version : Error NoM 10-Mar-2007, 04:47 PM SCROLL DOWN TO POST #5 Fix? Derek 10-Mar-2007, 05:01 PM Did you edit your nbs_config.php file? It also might sound like some files are missing? NoM 10-Mar-2007, 05:16 PM Yes I editted it, I don't know what files could be missing, derek can you take a look at my script? Derek 10-Mar-2007, 06:05 PM None of the files appear to be there? http://ackbb.com/new_forum.php gives me a 404. NoM 10-Mar-2007, 07:14 PM I've taken out every file associated with nbs multi-forums & phpbb, now i've re-installed it, every file is there.. but I now get this error: Parse error: parse error, unexpected T_LNUMBER in /home/ackbb/public_html/nbs/nbs_config.php on line 95 Derek 10-Mar-2007, 07:18 PM Please paste your config file here. Remove any passwords that are in it. Thanks, Derek NoM 10-Mar-2007, 07:19 PM <?php /* +================================================= =======================+ || NBSdesignz Multi-Forums phpBB - Version 1.0.0 Beta 8 || ----------------------------------------------------------------------- || By NBSdesignz (http://www.nbsdesignz.com) || Copyright © 2006 - 2007 NBSdesignz || This file may not be redistributed in whole or significant part. || --------------------- THIS SCRIPT IS FREEWARE. ------------------------ || All copyright notices in this script must stay intact unless || copyright removal has been purchased! || ----------------------------------------------------------------------- || Although this script has been tested by us, we are not responsible for || any damage it may cause! || ----------------------------------------------------------------------- || $Id: nbs_config.php.new 381 2007-03-01 03:51:29Z derek $ || Downloaded: Friday, March 02, 2007 00:43:17 +================================================= =======================+ */ //========================= DATABASE INFORMATION ========================= //-------------------------------------------------- // Database Host //-------------------------------------------------- $config['Database']['host'] = '*'; //-------------------------------------------------- // Database Username //-------------------------------------------------- $config['Database']['username'] = '*'; //-------------------------------------------------- // Database Password //-------------------------------------------------- $config['Database']['password'] = '*'; //-------------------------------------------------- // Database Name //-------------------------------------------------- $config['Database']['name'] = '*'; //-------------------------------------------------- // Table Prefix //-------------------------------------------------- $config['Database']['prefix'] = '*_'; //-------------------------------------------------- // Use Persistent MySQL Connection (1 = yes; 0 = no) // Warning: This can be very resource intensive! //-------------------------------------------------- $config['Database']['pconnect'] = 0; //============================ SPECIAL USERS ============================= //-------------------------------------------------- // Super Admins // These admins are able to set admin permissions // and various other things. // Separate each userid with a comma. //-------------------------------------------------- $config['SpecialUsers']['superadmins'] = '1'; //-------------------------------------------------- // Undeletable / Unalterable Users // The users listed here cannot be deleted or edited. // We highly recommend that you list your main // account here so you can't be deleted or edited if // you ever get hacked. // Separate each userid with a comma. //-------------------------------------------------- $config['SpecialUsers']['undeletableusers'] = '1'; //-------------------------------------------------- // Can View Admin Logs // Enter a list of admin userids with permission to // view the admin logs. // Separate each userid with a comma. //-------------------------------------------------- $config['SpecialUsers']['canviewadminlogs'] = '1'; //-------------------------------------------------- // Can Prune Admin Logs // Enter a list of admin userids with permission to // empty the admin logs. // Separate each userid with a comma. //-------------------------------------------------- $config['SpecialUsers']['canpruneadminlogs'] = '1'; //-------------------------------------------------- // Query Running Permissions // Enter a list of admin userids with permission to // run queries from the admin control panel. // Separate each userid with a comma. $config['SpecialUsers']['canrunqueries'] = ''1; //====================== MISCELLANEOUS INFORMATION ======================= //-------------------------------------------------- // Debug Mode (1 = yes; 0 = no) //-------------------------------------------------- $config['Misc']['debug'] = 0; //-------------------------------------------------- // Path To Script (with ending slash at the end) // If you do not know this, please upload // do_not_upload/path.php to the main directory // where your phpBB files are, and run it. //-------------------------------------------------- define('DIR', '/public_html/'); //===================== DO NOT EDIT THIS SECTION!!! ====================== //-------------------------------------------------- // Is the Script Installed? (1 = yes; 0 = no) //-------------------------------------------------- define('INSTALLED', 0); if (!defined('IN_NBS')) { die('Hacking attempt!'); } //================================================== ====================== ?>My nbs_config.php php code. Mysql information replaced with * for security purpouses. Derek 10-Mar-2007, 07:20 PM $config['SpecialUsers']['canrunqueries'] = ''1; Should be: $config['SpecialUsers']['canrunqueries'] = '1'; Also your Script Path looks incorrect. Please make sure it's correct, it's probably not just /public_html/. Please upload do_not_upload/path.php if you aren't sure. Derek |