Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /httpd/html/server/sitename/mainfile.php on line 565.
I guess it's a time error or a title for formatting stories, from what I can figure out . line 565 is (echo "$aid".... aid to what? $aid = $aid;????
does this make sence to anyone? Here's the mainfile formating stories
/*********************************************************/
/* formatting stories */
/*********************************************************/
function formatAidHeader($aid) {
global $prefix, $dbi;
$holder = sql_query("SELECT url, email FROM ".$prefix."_authors where aid='$aid'", $dbi);
if (!$holder) {
echo _ERROR;
exit();
}
list($url, $email) = sql_fetch_row($holder, $dbi);
if (isset($url)) {
$aid = "<a href=\"$url\">$aid</a>";
} elseif (isset($email)) {
$aid = "<a href=\"mailto:$email\">$aid</a>";
} else {
$aid = $aid;
}
<strong> LINE 565=</strong>echo "$aid";</strong>
}
function get_author($aid) {
global $prefix, $dbi;
$holder = sql_query("SELECT url, email FROM ".$prefix."_authors where aid='$aid'", $dbi);
if (!$holder) {
echo _ERROR;
exit();
}
Also I would like to know how to set the time to a diffrent time other than what my server is on. The time shows chez time and I need central standard time for usa. I didn't do those smileys up there and how come my <strong> didn't work? Oh yeah, Who stole my avitar?
_________________ zidion
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Feb 07, 2003 10:45 am
You must remove the quotes around "LC_TIME".
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
zidion Nuke Soldier
Joined: Jan 31, 2003
Posts: 15
Location: USA
Posted:
Fri Feb 07, 2003 11:01 am
Thanks for the fast reply.
That did the trick!
_________________ zidion
Last edited by zidion on Fri Feb 07, 2003 11:22 am; edited 1 time in total
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Feb 07, 2003 11:07 am
"LC_TIME" is everywhere in the code. Make sure you change it all to LC_TIME without quotes. Also, run analyzer from this site so we can see your theme, et al.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
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