
03-01-2009, 10:11 PM
|
|
|
Join Date: Mar 2008
Location: Croatia
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by Sunka
Installed, but disabled untill this errors gone
When this MOD is enable this errors shows on top of the page:
On portal page:
Code:
Parse error: syntax error, unexpected T_STRING in /home/pijanitv/public_html/forum/global.php(614) : eval()'d code on line 1445
Warning: array_diff() [function.array-diff]: Argument #2 is not an array in [path]/modules/currentpoll.php on line 39
Warning: array_diff() [function.array-diff]: Argument #2 is not an array in [path]/modules/news.php on line 127
On forum index page:
Code:
Parse error: syntax error, unexpected T_STRING in /home/pijanitv/public_html/forum/global.php(614) : eval()'d code on line 1445
What to do? 
|
Quote:
Originally Posted by Mosh
One of your other hacks seems to be conflicting with the Banned Members Log (3) plugin which displays the banned members on the forumhome page.
You need to check any other hacks that are using the parse_templates hook to see if they are the cause of the issue. If you can not track it down, you can always disable the Banned Members Log (3) plugin and live without the banned member count on the forumhome page.
|
Quote:
Originally Posted by Mosh
Update: v3.8.003 - Wednesday 25th February 2009
-- Fixed: Banned Members Log (3) plugin - replaced 2 x ? with (c) to prevent parse errors (rare cases)
-- Changed: Files - ban_log.php (streamlined a couple of SQL queries)
-- Changed: banned_log template (column display order)
-- Changed: banned_perm_row template (column display order)
-- Changed: banned_temp_row template (column display order)
-- Updated: Files - ban_log_cron.php, hooks_ban_log.xml
-- Updated: Installation Instructions
-- Updated: Screenshots
|
Quote:
Originally Posted by HolyKiller
Okay, i find the problem ... the problem is in the symbol "?" in XML file on line 230 and 234.
Code:
$template_hook['navbar_quick_links_menu_pos1'] .= '<!-- '.$vbphrase['banned_members_log'].' '.$bml_version.'. ? Mosh Shigdar 2008 - 2009 --><tr><td class="vbmenu_option"><a href="'.$vbulletin->options['bburl'].'/ban_log.php?'.$session['sessionurl'].'">'.$vbphrase['banned_members_link'].'</a></td></tr><!-- end of Banned Members Log -->';
Exactly here:
? Mosh Shigdar 2008 - 2009
The plugin import system just don't go thru this and does NOT import the whole code.
After i deleted the ? symbol 230 and 234 in XML file and imported the plugin again, everything is fine.
Now all works fine and i'm so happy. Thanks again for great hack
Holy
|
Quote:
Originally Posted by Mosh
No wonder I could not replicate it
Oh well, I will just have to change it for the next version, as I am assuming that will only happen in very limited cases, as apart from yours I have not come across a case where it would not parse the copyright symbol (just me trying to be fancy).
Thanks for tracking it down 
|
Now is working OK Mosh...
|