|
|
|
|
![]() ![]() |
Aug 14 2005, 04:57 PM
Post
#1
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 34 Joined: 14-August 05 Member No.: 10,685 |
Ok ive uploaded everything to server and to phpmyadmin im at the part where you gotta edit the config.php file i seem to my knowledge have everything right thats suppose to be edited but it seems to still have 1 error:
config.php: CODE $dbhost = "localhost"; $dbuname = "swat_mod"; $dbpass = "******"; $dbname = "swat_nuke01"; $prefix = "nuke"; $user_prefix = "nuke"; $dbtype = "MySQL"; $sitekey = "7Ed+UratU+e9-eSwASW8s82MagUV*2"; $gfx_chk = 0; $subscription_url = ""; $admin_file = "admin"; /************************************************************************/ /* Database and System Configuration INFORMATION */ /* */ /* $dbhost = "localhost"; */ /* $dbuname = "swat_mod"; */ /* $dbpass = "******"; */ /* $dbname = "swat_nuke01"; */ /* $prefix = "nuke"; */ /* $user_prefix = "nuke"; */ /* $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) */ /* and im still getting this error: QUOTE Fatal error: Call to undefined function: themeheader() in /home/swat/public_html/header.php on line 74 my msn is Impu1sex@hotmail.com if anyone can help me out here i would greatly appreciate it. Thank You, Hope im not postin something i shouldnt! This post has been edited by cmatcmextra: Aug 14 2005, 06:43 PM |
|
|
|
Aug 14 2005, 06:47 PM
Post
#2
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,217 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
Can we please see the file header.php seeing as that's where the error is.
|
|
|
|
Aug 14 2005, 07:40 PM
Post
#3
|
|
|
Newbie [Level 2] ![]() ![]() Group: Members Posts: 34 Joined: 14-August 05 Member No.: 10,685 |
here is header.php:
CODE <?php /************************************************************************/ /* PHP-NUKE: Advanced Content Management System */ /* ============================================ */ /* */ /* Copyright © 2002 by Francisco Burzi */ /* [url=http://phpnuke.org]http://phpnuke.org[/url] */ /* */ /* 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. */ /************************************************************************/ /* PHP-Nuke Platinum: Expect to be impressed COPYRIGHT */ /* */ /* Copyright © 2004 - 2006 by [url=http://www.techgfx.com]http://www.techgfx.com[/url] */ /* Techgfx - Graeme Allan (goose@techgfx.com) */ /* */ /* Copyright © 2004 - 2006 by [url=http://www.conrads-berlin.de]http://www.conrads-berlin.de[/url] */ /* MrFluffy - Axel Conrads (axel@conrads-berlin.de) */ /* */ /* Refer to TechGFX.com for detailed information on PHP-Nuke Platinum */ /* */ /* TechGFX: Your dreams, our imagination */ /************************************************************************/ if (stristr($_SERVER['SCRIPT_NAME'], "header.php")) { Header("Location: index.php"); die(); } require_once("mainfile.php"); /*****************************************************/ /* Security - Protector System v.1.15b3 START */ /*****************************************************/ global $admin_file; if(!eregi("".$admin_file.".php",$_SERVER['SCRIPT_NAME'])) { require_once("includes/blocker.php"); } /*****************************************************/ /* Security - Protector System v.1.15b3 END */ /*****************************************************/ ################################################## # Include some common header for HTML generation # ################################################## $header = 1; function head() { global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle; include("includes/ipban.php"); $ThemeSel = get_theme(); include("themes/$ThemeSel/theme.php"); echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n"; echo "<html>\n"; echo "<head>\n"; echo "<title>$sitename $pagetitle</title>\n"; include("includes/meta.php"); include("includes/javascript.php"); if (file_exists("themes/$ThemeSel/images/favicon.ico")) { echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n"; } echo "<link rel=\"alternate\" type=\"application/rss+xml\" title=\"RSS\" href=\"backend.php\">\n"; echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n"; if (file_exists("includes/custom_files/custom_head.php")) { include_once("includes/custom_files/custom_head.php"); } echo "\n\n\n</head>\n\n"; if (file_exists("includes/custom_files/custom_header.php")) { include_once("includes/custom_files/custom_header.php"); } themeheader(); } online(); head(); include("includes/counter.php"); /*****************************************************/ /* Addon - Center Blocks v.2.1.1 START */ /* Addon - Conditional Blocks v.1.1.1 START */ /*****************************************************/ global $home; if ($home == 1) { message_box(); blocks(Center); include("includes/cblocks1.php"); } /*****************************************************/ /* Addon - Conditional Blocks v.1.1.1 END */ /* Addon - Center Blocks v.2.1.1 END */ /*****************************************************/ ?> This post has been edited by BuffaloHELP: Aug 14 2005, 07:53 PM |
|
|
|
Aug 15 2005, 07:09 AM
Post
#4
|
|
|
Incest is a game the whole family can play. ![]() Group: [MODERATOR] Posts: 1,217 Joined: 11-February 05 From: Heaven Member No.: 3,709 |
In header.php someone didn't define themeheader(). Try backing-up header.php and then re-uploading the default version.
|
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 6th September 2008 - 02:16 AM |