PHP HELP ERROR !

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   PHP HELP ERROR !
planetgamer
CZ Active Member
planetgamer has been a member for over 20 year's 20 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
VISIT THE ERROR

[color=blue]http://www.planet-gamer.com/modules.php?name=Topics

or

Fatal error: Cannot redeclare head() (previously declared in /www/p/planetgamer/htdocs/header.php:31) in /www/p/planetgamer/htdocs/header.php on line 30

HERE IS LINES 15 - 35

if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

require_once("mainfile.php");
if(!eregi("admin.php",$_SERVER['PHP_SELF'])) {require_once("includes/blocker.php"); }


##################################################
# 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;
$ThemeSel = get_theme();
include("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";

Also when i go to modify a download some of them dont come up they come up blank but there really not does any one no how to fix it.



Back to top Reply with quote
#2   re: PHP HELP ERROR !
Recoil
CZ Addict
Recoil has been a member for over 20 year's 20 Year Member
usa.gif louisiana.gif
Occupation: Manager
Gender: Male
Fav. Sports Team: New Orleans
Website:
Status: Offline
Joined: Jan 17, 2004
0.06 posts per day
Posts: 427
Points: 8,650
   ICQ Number
u need to use the"insert code" button when adding code to the 4ums on ne site u goto.



Back to top Reply with quote
#3   re: PHP HELP ERROR !
planetgamer
CZ Active Member
planetgamer has been a member for over 20 year's 20 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
some one help me now it says


Fatal error: Cannot redeclare head() (previously declared in /www/p/planetgamer/htdocs/header.php:29) in /www/p/planetgamer/htdocs/header.php on line 28


if (eregi("header.php",$_SERVER['PHP_SELF'])) {
    Header("Location: index.php");
    die();
}

require_once("mainfile.php");

##################################################
# 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;
    $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";



Back to top Reply with quote
#4   re: PHP HELP ERROR !
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
I do not see any errors at all. Clean your cookies and temp internet files then reboot your CPU.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   re: PHP HELP ERROR !
planetgamer
CZ Active Member
planetgamer has been a member for over 20 year's 20 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
Your telling me that u see no error at
[ Register or login to view links on this board. ]

if so or not wright back.



Back to top Reply with quote
#6   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
well we wont know will we -

Sorry, this Module isn't active!

[ Go Back ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#7   re: PHP HELP ERROR !
planetgamer
CZ Active Member
planetgamer has been a member for over 20 year's 20 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
O crap sorry try it now !



Back to top Reply with quote
#8   re: PHP HELP ERROR !
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
try this fix please:
[ Register or login to view links on this board. ]



Back to top Reply with quote
#9   re: PHP HELP ERROR !
planetgamer
CZ Active Member
planetgamer has been a member for over 20 year's 20 Year Member
Age: 54
Website:
Status: Offline
Joined: May 26, 2004
0.02 posts per day
Posts: 179
Points: 28,076
AIM Address   
Hey thanks that fixed it exept one thing all my boxes swiched to one side but other then that it fixed.


Thanks



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