Still running SMF 2.0 Final and TP 104
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?page=Battlefield%203:%20Full%20Length%20Fault%20Line%20Gameplay%20Trailer%20;wap2
Apply Filter: Only show the errors with the same message
8: Uninitialized string offset: 0
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/languages/TPShout.english.php (wap2_tp sub template - eval?)
Line: 223
Did you pull this error before you made the 'disable evaluation of template' setting change? I don't think it should be erroring on a language file. The error should have changed after you changed the setting. Hitting your page with wap2 does seem to show a blank page for me. Take a look at your error log and post the error I created from hitting that page if you would.
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?page=Battlefield%203:%20Full%20Length%20Fault%20Line%20Gameplay%20Trailer%20;wap2
Apply Filter: Only show the errors with the same message
8: Uninitialized string offset: 0
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/TPwireless.template.php
Line: 223
This is what shows now.
Ok, looks like it's choking on this code:
echo '<p class="titlebg">' . $context['linktree'][0]['name'] . '</p>';
I don't know why it's happening yet. This one will take some time for me to figure out. I'm headed on vacation for the next couple of weeks either tomorrow or Thursday morning, so if you don't see any answer for this, hit me up again in a couple of weeks as I possibly won't be around until then.
One question I need to know though, is do you have the linktree turned off in the article options?
Indeed, they are turned off.
Ok, might be easier than I thought then. lol
Open Themes/default/TPwireless.template.php and find this on about line #223:
echo '<p class="titlebg">' . $context['linktree'][0]['name'] . '</p>';
Replace with this:
if(in_array('linktree', $context['TPortal']['article']['visual_options']))
echo '<p class="titlebg">' . $context['linktree'][0]['name'] . '</p>';
Let me know if the errors goes away if you hit that article with wap2.
http://www.efclan.eu/index.php?page=Battlefield 3: Full Length Fault Line Gameplay Trailer;wap2
heheheheehehe, fix one thing, lead to another lol ;D
Apply Filter: Only show the error messages of this URL
http://www.efclan.eu/index.php?page=Battlefield%203:%20Full%20Length%20Fault%20Line%20Gameplay%20Trailer%20;wap2
Apply Filter: Only show the errors with the same message
8: Uninitialized string offset: 0
Apply Filter: Only show the errors from this file
File: /customers/efclan.eu/efclan.eu/httpd.www/Themes/default/Wireless.template.php
Line: 1516
That would be a problem then. Since we are removing the linktree, SMF still thinks the linktree should exist. I'll have to find a way to make it work for both. Don't know how to do that at the moment.
Oh well, then we will just wait and see what future brings. I am sure you will nail it one way or the other :knuppel2: ;D
If you'd like to try something I'm thinking we need to let the linktree do it's thing if wireless is set. First remove the code I posted earlier and revert to the previous code.
Then try changing this code in TPortal.php:
// linktree?
if(!in_array('linktree', $context['TPortal']['article']['visual_options']))
$context['linktree'] = '';
Replace it with this:
// linktree?
if(!in_array('linktree', $context['TPortal']['article']['visual_options']) && !WIRELESS)
$context['linktree'] = '';
Let me know if you get any errors still or if there's any undesired problems with this change.