Welcome Guest ( Log In | Register)



2 Pages V   1 2 >  
Closed TopicStart new topic
> CONFIG.PHP PROBLEM
l33tg33k
post Dec 31 2004, 03:12 PM
Post #1





Guests






hi i get sorry there seems to be a problem with the sql db...



this is my config.php

QUOTE
<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright © 2002 by Francisco Burzi                                */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/*                                                                      */
/************************************************************************/
/* Additional security checking code 2004 by chatserv                   */
/* http://www.nukefixes.com -- http://www.nukeresources.com             */
/************************************************************************/
/* PHP-Nuke Platinum: Expect to be impressed                  COPYRIGHT */
/*                                                                      */
/* Copyright © 2004 - 2006 by http://www.techgfx.com                  */
/*     Techgfx - Graeme Allan                       (goose@techgfx.com) */
/*                                                                      */
/* Copyright © 2004 - 2006 by http://www.conrads-berlin.de            */
/*     MrFluffy - Axel Conrads                 (axel@conrads-berlin.de) */
/*                                                                      */
/* Refer to TechGFX.com for detailed information on PHP-Nuke Platinum   */
/*                                                                      */
/* TechGFX: Your dreams, our imagination                                */
/************************************************************************/

$dbhost = \"localhost\";
$dbuname = \"name registered in sql\";
$dbpass = \"PASSWORD\";
$dbname = \"sql db name\";
$prefix = \"my prefix\";
$user_prefix = \"my prefix\";
$dbtype = \"MySQL\";
$sitekey = \"7Ed+UratU+e9-eSwASW8s82MagUV*2\";
$gfx_chk = 3;
$subscription_url = \"\";
$admin_file = \"admin\";

/************************************************************************/
/* Database and System Configuration                        INFORMATION */
/*                                                                      */
/* dbhost:       SQL Database Hostname                                  */
/* dbuname:      SQL Username                                           */
/* dbpass:       SQL Password                                           */
/* dbname:       SQL Database Name                                      */
/* $prefix:      Your Database table's prefix                           */
/* $user_prefix: Your Users' Database table's prefix (To share it)      */
/* $dbtype:      Your Database Server type. Supported servers are:      */
/*               MySQL, mysql4, postgres, mssql, oracle, msaccess,      */
/*               db2 and mssql-odbc                                     */
/*               Be sure to write it exactly as above, case SeNsItIvE!  */
/* $sitekey:    Security Key. CHANGE it to whatever you want, as long   */
/*               as you want. Just don't use quotes.                    */
/* $gfx_chk:    Set the graphic security code on every login screen,    */
/*      You need to have GD extension installed:                        */
/*      0: No check                                                     */
/*      1: Administrators login only                                    */
/*      2: Users login only                                             */
/*      3: New users registration only                                  */
/*      4: Both, users login and new users registration only            */
/*      5: Administrators and users login only                          */
/*      6: Administrators and new users registration only               */
/*      7: Everywhere on all login options (Admins and Users)           */
/*      NOTE: If you aren't sure set this value to 0                    */
/* $subscription_url : If you manage subscriptions on your site, you    */
/*                    must write here the url of the subscription       */
/*                    information/renewal page. This will send by       */
/*                     email if set.                                    */
/* $admin_file : Administration panel filename. \"admin\" by default for  */
/*               \"admin.php\". To improve security please rename the file*/
/*               \"admin.php\" and change the $admin_file value to the new*/
/*                filename (without the extension .php)                 */
/*                                                                      */
/************************************************************************/
/* You finished to configure the Database. Now you can change all you   */
/* want in the Administration panel. To enter just launch you web       */
/* browser pointing to http://www.YOURSITE.com/admin.php                */
/*                                                                      */
/* Remeber to go to Settings section where you can configure your new   */
/* site. In that menu you can change all you need to change.            */
/*                                                                      */
/* Congratulations! you now have successfully installed                 */
/* PHP-Nuke Platinum v.7.6.0.                                           */
/************************************************************************/
/*   Thankyou for choosing PHP-Nuke Platinum: Expect to be impressed.   */
/************************************************************************/

// Do not touch anything below this line unless you know what you are doing

$reasons = array(\"As Is\",
     \"Offtopic\",
     \"Flamebait\",
     \"Troll\",
     \"Redundant\",
     \"Insighful\",
     \"Interesting\",
     \"Informative\",
     \"Funny\",
     \"Overrated\",
     \"Underrated\");
$badreasons = 4;
$AllowableHTML = array(\"b\"=>1,
     \"i\"=>1,
     \"a\"=>2,
     \"em\"=>1,
     \"br\"=>1,
     \"strong\"=>1,
     \"blockquote\"=>1,
                   \"tt\"=>1,
                   \"li\"=>1,
                   \"ol\"=>1,
                   \"ul\"=>1);
$CensorList = array(\"*BLEEP*\",
     \"*BLEEP*\",
     \"*BLEEP*er\",
     \"*BLEEP*ing\",
     \"pussy\",
     \"*BLEEP*\",
     \"c0ck\",
     \"cum\",
     \"twat\",
     \"clit\",
     \"*BLEEP*\",
     \"fuk\",
     \"fuking\",
     \"mother*BLEEP*er\");
$tipath = \"images/topics/\";

if (stristr($_SERVER['SCRIPT_NAME'], \"config.php\")) {
   Header(\"Location: index.php\");
   die();
}

?>
Go to the top of the page
 
+Quote Post
Nazrin
post Dec 31 2004, 03:21 PM
Post #2





Guests






i know that problem....you need to make a database, add user to db and put the info in config.php..this part:

$dbuname = "name registered in sql"; ----->enter db name
$dbpass = "PASSWORD"; ------>enter db password
$dbname = "sql db name"; ------->db username


Need more help? PM me?
Go to the top of the page
 
+Quote Post
l33tg33k
post Dec 31 2004, 03:39 PM
Post #3





Guests






i did that already....
but i dunno how to add user to db
i am not using freenukehosting hosting....
Go to the top of the page
 
+Quote Post
Nazrin
post Dec 31 2004, 03:44 PM
Post #4





Guests






QUOTE
i did that already....
but i dunno how to add user to db  
i am not using freenukehosting hosting....



Do you online at MSN? I'll help you now...tongue.gif
Go to the top of the page
 
+Quote Post
l33tg33k
post Dec 31 2004, 03:47 PM
Post #5





Guests






i am online added you already...
Go to the top of the page
 
+Quote Post
Nazrin
post Dec 31 2004, 04:19 PM
Post #6





Guests






o.k fixed...admins or mods...please closed this thread...smile.gif
Go to the top of the page
 
+Quote Post
l33tg33k
post Jan 1 2005, 04:22 AM
Post #7





Guests






thx...naz...
btw you rawk
Go to the top of the page
 
+Quote Post
onbiew
post Jan 14 2005, 07:28 AM
Post #8





Guests






how to encry to file config.php
Go to the top of the page
 
+Quote Post
God
post Jan 14 2005, 02:16 PM
Post #9





Guests






What??? sad.gif sad.gif sad.gif
Go to the top of the page
 
+Quote Post
y04chs067
post Jan 15 2005, 10:15 AM
Post #10





Guests






wad wad?The problem is fixed
Go to the top of the page
 
+Quote Post

2 Pages V   1 2 >
Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. CONFIG.PHP PROBLEM(3)


 



- Lo-Fi Version Time is now: 7th September 2008 - 03:03 AM