Quote:
Originally Posted by apiasto
i am getting this error,can anyone help,thanks
Parse error: syntax error, unexpected T_VARIABLE in includes/cron/nominate_topic_cron.php on line 391
|
Opne: includes/cron/nominate_topic_cron.php
Find:
Code:
$thread_id = $winner_thread_id[$j]
Replace with:
Code:
$thread_id = $winner_thread_id[$j];
Note: It's just " ; " semi comma.
Find:
Code:
$vbulletin->db->query_write("UPDATE `" . TABLE_PREFIX . "post` SET `nominate_topic_amount` = '0' WHERE postid = '$row['postid']'");
Replace with:
Code:
$vbulletin->db->query_write("UPDATE `" . TABLE_PREFIX . "post` SET `nominate_topic_amount` = '0' WHERE postid = '$row[postid]'");
Goto line 584:
DELETE:
Save and upload..
Thanks..