PLEASE help me someone, i need help with some php

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
i have just set up a site for a friend of mine, and thought id change the theme

oops
wrong idea, i got a load of header errors, so i thought i would just delete the file from root in the ftp, and now i get :



There seems to be a problem with the MySQL server, sorry for the inconvenience.

We should be back shortly.

can someone please help me on what i do?
im online now,
email (msn) - [ Register or login to view links on this board. ]
pleaseee



Back to top Reply with quote
#2   re: PLEASE help me someone, i need help with some php
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Exactly what file did you delete in the root?



Back to top Reply with quote
#3   re: PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
the theme i uploaded called steeldawn, first it gave me header.php errors so i figured if i got it out again it would go away, i know i gotta do something with the config.php file? but what it is i dont know, and could really use some help with step by step instructions on what to do,
thanks, i really apprecaite it if you could help me.



Back to top Reply with quote
#4   re: PLEASE help me someone, i need help with some php
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
When you upload a theme is has to go into the Themes directory, not the root. So if I understand correctly you uploaded the new theme (complete folder?) into your nuke root directory...and simply deleted that theme directory after getting those errors? Can you provide a link to the site here? Check this also: [ Register or login to view links on this board. ]



Back to top Reply with quote
#5   re: PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
sorry i typed it wrong, i uploaded it into the themes folder, i tryed that themefix and nothing happened, the site hasnt resolved yet so for now the link is [ Register or login to view links on this board. ]



Back to top Reply with quote
#6   re: PLEASE help me someone, i need help with some php
veef
CZ Super Newbie
veef has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Dec 30, 2004
0.01 posts per day
Posts: 59
Points: 1,422
   
Did you upload the themefix to [ Register or login to view links on this board. ] and edit line 3
$theme= "DeepBlue";
to a theme you have in your themes directory?


Back to top Reply with quote
#7   re: PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
yup, it just comes up a blank page, the default is DeepBlue anyways



Back to top Reply with quote
#8   re: PLEASE help me someone, i need help with some php
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
You wouldn't see that sql error if you just deleted a theme...this site was up and running before the theme problems?



Back to top Reply with quote
#9   re: PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
yes its brand new just set up, first thing i wanted to do was cahnge the theme, and i got that from it.



Back to top Reply with quote
#10   re: PLEASE help me someone, i need help with some php
deadhumble
CZ Newbie
deadhumble has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Mar 14, 2005
0.00 posts per day
Posts: 19
Points: 709
   
my config file says....



<?php

######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)
# [ Register or login to view links on this board. ]
#
# This module is to configure the main options for your site
#
# 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.
######################################################################

######################################################################
# Database & System Config
#
# 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)
######################################################################

$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "nuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "removed this for a reason- deadhumble";
$gfx_chk = 0;
$subscription_url = "";
$admin_file = "admin";

/*********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* you web browser pointing to [ Register or login to view links on this board. ] */
/* */
/* 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! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/*********************************************************************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE 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("Rainbow Brite",
"heather",
"person",
"Rainbow Brite",
"pussy",
"Rainbow Brite",
"c0ck",
"cum",
"twat",
"clit",
"Rainbow Brite",
"fuk",
"fuking",
"motherfucker");
$tipath = "images/topics/";
if (eregi("config.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

?>



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum