CZ-User-Info 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   CZ-User-Info Error??
BWiZ
CZ Super Newbie
BWiZ has been a member for over 19 year's 19 Year Member
usa.gif missouri.gif
Age: 38
Fav. Sports Team: Elite Coding Team
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 30
Points: 3,061
   
Fatal error: Cannot redeclare last_user() in /home/bwiz/public_html/main/blocks/block-CZUser-Info.php on line 32

and my footer is missing

http://www.cz.trap17.com/main/index.php

What did i do wrong???


im running nuke 7.5

//Lastuser Name
function last_user() {
global $db, $prefix;
$sql = "SELECT username FROM ".$prefix."_users WHERE user_active = 1 AND user_level > 0 ORDER BY user_id DESC LIMIT 1";
list($lastuser) = $db->sql_fetchrow($db->sql_query($sql));
------->32 return $lastuser;

Please help me out icon_smile.gif

Thanks



Back to top Reply with quote
#2   Re: CZ-User-Info Error??
BWiZ
CZ Super Newbie
BWiZ has been a member for over 19 year's 19 Year Member
usa.gif missouri.gif
Age: 38
Fav. Sports Team: Elite Coding Team
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 30
Points: 3,061
   


Originally posted by BWiZ @ Wed Nov 17, 2004 7:51 am:

Fatal error: Cannot redeclare last_user() in /home/bwiz/public_html/main/blocks/block-CZUser-Info.php on line 32

and my footer is missing

http://www.cz.trap17.com/main/index.php

What did i do wrong???


im running nuke 7.5

//Lastuser Name
function last_user() {
global $db, $prefix;
$sql = "SELECT username FROM ".$prefix."_users WHERE user_active = 1 AND user_level > 0 ORDER BY user_id DESC LIMIT 1";
list($lastuser) = $db->sql_fetchrow($db->sql_query($sql));
------->32 return $lastuser;

Please help me out icon_smile.gif

Thanks



This is a big problem my admin.php wont work it lists all of the things i can do when i click on blocks gives me blank page and same for everyother command icon_sad.gif((


Please Help ME!



Back to top Reply with quote
#3   Re: CZ-User-Info Error??
BWiZ
CZ Super Newbie
BWiZ has been a member for over 19 year's 19 Year Member
usa.gif missouri.gif
Age: 38
Fav. Sports Team: Elite Coding Team
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 30
Points: 3,061
   


Originally posted by BWiZ @ Wed Nov 17, 2004 7:54 am:



Originally posted by BWiZ @ Wed Nov 17, 2004 7:51 am:

Fatal error: Cannot redeclare last_user() in /home/bwiz/public_html/main/blocks/block-CZUser-Info.php on line 32

and my footer is missing

http://www.cz.trap17.com/main/index.php

What did i do wrong???


im running nuke 7.5

//Lastuser Name
function last_user() {
global $db, $prefix;
$sql = "SELECT username FROM ".$prefix."_users WHERE user_active = 1 AND user_level > 0 ORDER BY user_id DESC LIMIT 1";
list($lastuser) = $db->sql_fetchrow($db->sql_query($sql));
------->32 return $lastuser;

Please help me out icon_smile.gif

Thanks



This is a big problem my admin.php wont work it lists all of the things i can do when i click on blocks gives me blank page and same for everyother command icon_sad.gif((


Please Help ME!




Hello anyone here to help me???



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 20 year's 20 Year Member
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.06 posts per day
Posts: 8089
Points: 494,430
   
Be patient please... What version of Nuke are you running? The link to your sit produces a mysql error that says your whole site is down.




_________________
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: CZ-User-Info Error??
BWiZ
CZ Super Newbie
BWiZ has been a member for over 19 year's 19 Year Member
usa.gif missouri.gif
Age: 38
Fav. Sports Team: Elite Coding Team
Status: Offline
Joined: Nov 05, 2004
0.00 posts per day
Posts: 30
Points: 3,061
   
Hey Telli sorry for being mean !!

but the problem was the MySql was down now its up and working thx anyway!



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