Site: http://www.sbmtrader.com/index.php (http://www.sbmtrader.com/index.php)
SMF 1.1.6
TP 1.0.5
Mods
Mod Name Version
1. TinyPortal 1.052 [ Uninstall ] [ List Files ] [ Delete ]
2. Easy Edit Meta Data 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
3. SMF Trader System 1.1 [ Uninstall ] [ List Files ] [ Delete ]
4. SMF 1.0.14 / 1.1.6 Update 1.0 [ List Files ] [ Delete ]
5. Ad Managment 2.3 [ Uninstall ] [ List Files ] [ Delete ]
6. Auto Embed Video/Audio Clips 3.1.2 [ Uninstall ] [ List Files ] [ Delete ]
7. Redirection Boards 2.01 [ Uninstall ] [ List Files ] [ Delete ]
8. Simple ImageShack 2.0.3 [ Uninstall ] [ List Files ] [ Delete ]
9. SMF Classifieds 1.2.9 [ Uninstall ] [ List Files ] [ Delete ]
10. The Rules 1.06 [ Uninstall ] [ List Files ] [ Delete ]
11. Activate account redirection 0.1 [ Uninstall ] [ List Files ] [ Delete ]
Error
http://www.sbmtrader.com/index.php
Apply Filter: Only show the errors with the same message
8: Undefined variable: scroll
File: /home/xxx/xxx/sbmtrader.com/Themes/default/TPortal.template.php (tp_above sub template - eval?)
Line: 3
I get this error when I view an article, not sure when else.
Ran upgarde.php a few days ago to upgrade database to 1.1.6 to fix some other errors.
I just fixed the error defined by "short name" Found the solution here.
Searched for this error here and only found: http://www.tinyportal.net/index.php/topic,10278.0.html (http://www.tinyportal.net/index.php/topic,10278.0.html)
That doesn't seem to apply.
I have one other error with the Trader mod but I'll go over to SMF Hacks for that. Smiley not showing.
If I can get this cleaned up, I think I'll be error free. Find attached file in error.
Thanks in advance,
B-Lute
The file name does not always point at the right file, it simply tells you "when" the error occured, not where most of the time. From the looks of it, I would say that its probably something you have put one of your articles. Does it happen on every article? Or just one in particular?
Hmmm......lemme check.
And excuse me if I seem a little dopey. Doc has me on new meds...always tired but can't sleep.
Not thinking straight all the time.
LOL...it has nothing to do with articles. I turned them off, 1 at a time, and still had the same error. So I looked for something I had scrolling.
I have a "resources" scrolling block. When I turn that off, the error dissapears.
Here's the code I have in that box:
$scroll .= "<center><a target=\"_blank\" href=\" http://www.newkitchen.org
\"><img src=\"http://www.newkitchen.org/images/new_kitchen.gif
\" border=\"0\" title=\"As Seen On New Kitchen .org\"alt=\"New Kitchen\"></a></center><br>";
$scroll .= "<center><a target=\"_blank\" href=\" http://www.cedarworks.com/
\"><img src=\"/images/cw_logo.gif\" border=\"0\" title=\"Custom Cedar Swingsets\"alt=\"Custom Outdoor Swingsets\"></a></center><br>";
// END OF THE EDITING LINKS AREA
// If you want it scrolls faster change the amount of marquee scrollamount below
// If you want it scrolls from top the bottom change the direction from up to down
echo "<marquee scrollamount=\"2\" direction=\"up\" onMouseOver=\"this.stop()\" onMouseOut=\"this.start()\" loop=\"true\">$scroll</marquee>";
// If you want you can keep your logo here as static,if you dont want simply put // of the beginning nexr 2 lines
//$scroll .= "<center><a target=\"_blank\" href=\" http://www.sbmtrader.com\"><img src=\"images\" border=\"0\"
And now I can't turn the block back on. I can copy and paste it to a new block though if you need to see it.
All of your code is appending to the $scroll variable, yet the $scroll variable has never been declared. Add this to the very top of the code.
$scroll = '';
That did it.
I have that block on 3 other sites. I must have forgotten that part.
Thanks IchBin. Seems I'm error free, except for member can't submit articles, but I found that in Bugtracker for an update fix.