![]() |
<b>This error now solved, please scroll down three posts...</b>
Greatly appreciate some help. It's obviously some hack that's done it, but anyway, When I try to run... http://my---site/admin/user.php?action=modify I get this error... Fatal error: Cannot redeclare stripslashesarray() in /data/docs/my---site/docs/forum/admin/global.php on line 13 Here's lines 12-thru-28 of global.php... // get rid of slashes in get / post / cookie data function stripslashesarray (&$arr) { while (list($key,$val)=each($arr)) { if ((strtoupper($key)!=$key or "".intval($key)=="$key") and $key!="templatesused" and $key!="argc" and $key!="argv") { if (is_string($val)) { $arr[$key]=stripslashes($val); } if (is_array($val)) { $arr[$key]=stripslashesarray($val); } } } return $arr; } ---- Any ideas what could be wrong with this? I'm not very experienced as you can tell... :rolleyes: |
global.php has been included more than once.
Amy |
Thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you, thank you soooooo much! :D
|
Looks like I uncovered something else when you fixed that for me, this one is more serious?
Database error in vBulletin Control Panel 2.2.1: Invalid SQL: SELECT *,FROM_UNIXTIME(joindate) AS joindate,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,FROM_UNIXTIME(awaydate) AS awaydate avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar FROM user LEFT JOIN avatar ON avatar.avatarid=user.avatarid LEFT JOIN customavatar ON customavatar.userid=user.userid WHERE user.userid=1268 mysql error: You have an error in your SQL syntax near 'avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar ' at line 2 mysql error number: 1064 Date: Wednesday 26th of December 2001 10:37:16 PM Script: http://forum.racesimcentral.com/admi...it&userid=1268 Referer: http://forum.racesimcentral.com/admin/?s= |
In user.php add a comma (,) right after:
Code:
UNIXTIME(awaydate) AS awaydate |
Terrific! Thank you very much Mr Chen! :)
|
All times are GMT. The time now is 03:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|