![]() |
I'm getting these parse errors on the who's online page, running the 4.0 version with vb 4.1.10
Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15 Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15 Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(2233) : eval()'d code on line 15 Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22 Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22 Parse error: syntax error, unexpected T_CASE in /home/kaishi/public_html/forum/includes/functions_online.php(1223) : eval()'d code on line 22 Also, if I have it disabled the who's online will show that I'm in the admin control panel, but if I have the mod enabled, it gives the parse errors and it tells me Unknown Location /forum/images/styles/DarkCore/style/js/common.js or Unknown Location /forum/editors.php?do=edit&pg=info_forumrules (or whatever else) in the who's online. |
Quote:
|
Yes, it doesn't happen if I disable the webtemplate product.
|
What happens if you enable the hack but just disable pluggin named "Logician Webtemplates : Who is Online Locations"?
I'm running the hack on a vb 4.1.10 system without any issues. More importantly the error you got is pretty weird, does not sound like a "bug" but more like a "clash" or "wrong code" issue. Can you please go to your pluggin manager and hunt for pluggins which uses "online_location_unknown" hook and disable them one by one until the issue is cured? We can then understand if two hacks using the same hook is clashing or not. |
If i disable the Logician Webtemplates : Who is Online Locations plug in it still displays the same error..
Disabling the HTTP Error Pages Pro, who's online location one, stops the line 22 error, but the line 15 is still there. Disabling the v3arcade one gets rid of the line 22, but the line 15 is still there, in addition, this one produces a line 9 (lol) Update: Disabling online_location_process and online_location_unknown for HTTP Error Pages Pro will stop all parse error msgs, but Unknown Location /forum/images/styles/DarkCore/style/js/common.js still shows up. Update2: It seems to be HTTP Error Pages Pro being the offender here, sorry. Uninstalling it fixed it, guess I'll have to make error pages the hard way. Unless someone can recommend something. Thanks for the fast support logician. |
Question, how would I define a custom page as "THIS_SCRIPT = something"? Right now, with only one page I can just use "view" but when I add more pages and need to differentiate them, how would I be able to do that? Thanks.
|
Quote:
<vb:if condition="THIS_SCRIPT == view AND $pg == 'test'"> We are in test webtemplate </vb:if> |
Quote:
Thanks. |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=233629 |
All times are GMT. The time now is 05:07 PM. |
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:
|