User detail while in admin shows an 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   User detail while in admin shows an error
drako
CZ Super Newbie
drako has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Netwrok Admin
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Oct 06, 2004
0.01 posts per day
Posts: 42
Points: 4,079
  MSN Messenger 
When i use the users link in the admin menu and pull up a user, and click on there details I get them but i get an error also

Parse error: parse error, unexpected T_STRING in /home/ttsold/public_html/modules/Your_Account/admin/detailsuser.php(36) : eval()'d code on line 1


I also use CNB Your Account

any ideas?




_________________
Back to top Reply with quote
#2   
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,430
   
You need to paste the lines before and after that line number.




_________________
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
#3   re: User detail while in admin shows an error
drako
CZ Super Newbie
drako has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Netwrok Admin
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Oct 06, 2004
0.01 posts per day
Posts: 42
Points: 4,079
  MSN Messenger 
Um what lines?




_________________
Back to top Reply with quote
#4   re: User detail while in admin shows an error
drako
CZ Super Newbie
drako has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Netwrok Admin
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Oct 06, 2004
0.01 posts per day
Posts: 42
Points: 4,079
  MSN Messenger 
Telli, im not sure what you mean, something must have changed when i upgraded to 7.5 i guess, im not sure how long it has done this i dont ever use that.




_________________
Back to top Reply with quote
#5   
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,430
   
This file Account/admin/detailsuser.php(36)

Where the error is copy the lines from that and paste them in here.




_________________
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
#6   re: User detail while in admin shows an error
drako
CZ Super Newbie
drako has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Netwrok Admin
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Oct 06, 2004
0.01 posts per day
Posts: 42
Points: 4,079
  MSN Messenger 
lines 1 - 40

<?php

if (!eregi("modules.php", $_SERVER['SCRIPT_NAME'])) {
header("Location: ../../../index.php");
die ();
}
if (($radminsuper==1) OR ($radminuser==1)) {

$pagetitle = ": "._USERADMIN." - "._DETUSER;
include("header.php");
title(""._USERADMIN." - "._DETUSER.": $chng_uid");
amain();
echo "<br>\n";
$sql = "SELECT * FROM ".$user_prefix."_users WHERE user_id='$chng_uid'";
if($db->sql_numrows($db->sql_query($sql)) > 0) {
$chnginfo = $db->sql_fetchrow($db->sql_query($sql));

$result = $db->sql_query("SELECT * FROM ".$user_prefix."_cnbya_field");
while ($sqlvalue = $db->sql_fetchrow($result)) {
list($value) = $db->sql_fetchrow( $db->sql_query("SELECT value FROM ".$user_prefix."_cnbya_value WHERE fid ='$sqlvalue[fid]' AND uid = '$chnginfo[user_id]'"));
$chnginfo[$sqlvalue[name]] = $value;
}

OpenTable();
echo "<center><table border='0'>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._USERID.":</td><td>".$chnginfo['user_id']."</td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._NICKNAME.":</td><td>".$chnginfo['username']."</td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._NAME.":</td><td>".$chnginfo['name']."</td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._URL.":</td><td><a href='".$chnginfo['user_website']."' target='_blank'>".$chnginfo['user_website']."</a></td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._EMAIL.":</td><td><a href='mailto:".$chnginfo['user_email']."'>".$chnginfo['user_email']."</a></td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._REGDATE.":</td><td>".$chnginfo['user_regdate']."</td></tr>\n";
echo "<tr><td bgcolor='$bgcolor2'>"._FAKEEMAIL.":</td><td>".$chnginfo['femail']."</td></tr>\n";

$result = $db->sql_query("SELECT * FROM ".$user_prefix."_cnbya_field ORDER BY pos");
while ($sqlvalue = $db->sql_fetchrow($result)) {
if (strpos($sqlvalue[name],"_")==0) eval( "\$name_exit = $sqlvalue[name];"); else $name_exit = $sqlvalue[name];
echo "<tr><td bgcolor='$bgcolor2'>$name_exit</td><td>".$chnginfo[$sqlvalue[name]]."</td></tr>\n";
}




_________________
Back to top Reply with quote
#7   
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,430
   
What version of php are you using on the server? You could also search here they support the CNB.
[ Register or login to view links on this board. ]




_________________
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
#8   re: User detail while in admin shows an error
drako
CZ Super Newbie
drako has been a member for over 20 year's 20 Year Member
usa.gif missouri.gif
Occupation: Netwrok Admin
Age: 46
Gender: Male
Website:
Status: Offline
Joined: Oct 06, 2004
0.01 posts per day
Posts: 42
Points: 4,079
  MSN Messenger 
i was at 7.0 but i upgraded to 7.5, and thanks for the link ill look around.




_________________
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