I tracked the first part of this error in the admincenter down!
In the userlist the name was displayed wrong:
I looked over user.php and found this:
around line 1000
this code:
PHP Code:
while ($user=$DB_site->fetch_array($users)) {
echo "<tr class='".getrowbg()."'>";
if ($displayusername==1) {
echo "<td><p><a href='../member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]' target='_blank'>$user[username]</a></p></td>";
}
if i remove
PHP Code:
<a href='../member.php?s=$session[sessionhash]&action=getinfo&userid=$user[userid]' target='_blank'>
then the username is displayed without the error!
The same is in memberlistbit!
the original code:
PHP Code:
<tr align="center">
<td bgcolor="{firstaltcolor}"><normalfont><a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">$userinfo[username]</a></normalfont></td>
<td bgcolor="{secondaltcolor}" align="center">$userinfo[title]</td>
<td bgcolor="{secondaltcolor}" align="center">$userinfo[useremail]</td>
<td bgcolor="{firstaltcolor}" align="center">$userinfo[homepage]</td>
(...)
If I remove:
PHP Code:
<a href="member.php?s=$session[sessionhash]&action=getinfo&userid=$userinfo[userid]">
The username is displayed correct!
Does anyone knows whats wrong with this???
Greetings
StarBuG