Hi all, Have the following installed: Joomla 1.0.12 SMF 1.1.1 Joomla-SFM bridge 2.0 Joomla-SMF recent topics 2.0.2
It's a new (test) install and I have three topics with one post each topic in the forum. The bridge works fine and the forum is in wrapped mode in Joomla.
However, when I installed the Joomla-SMF recent topics module, I get the following error message when the module displays on the site. Fatal error: Call to undefined function () in /../../../../../Sources/Subs.php on line 872
Line 872 contains the following function:
Code:
foreach (array('%a', '%A', '%b', '%B') as $token) if (strpos($str, $token) !== false) $str = str_replace($token, $func['ucwords'](strftime($token, $time)), $str);}
I had un-patched the bridge before installing the module and re=patched after installing the module. Can anyone offer a suggestion for a fix?
i had the same problem with the component easybook.
my solution: easybook use also the $func variable, so the system crashes. i have changed the $func variable in easybook to $funceas - now i have no problems
I'm getting the same error with the same module. I've also tried Wolverine's solution on the problems page (the one about adding the reloadSettings(); code with curly brackets et al), but it didn't fix the problem.
My error message is this: Fatal error: Call to undefined function: () in /mysite/public_html/smf/Sources/Subs.php on line 872
Lines 870-872 are as follows: foreach (array('%a', '%A', '%b', '%B') as $token) if (strpos($str, $token) !== false) $str = str_replace($token, $func['ucwords'](strftime($token, $time)), $str);
No problem here - just reporting. I also had this problem, and the fix worked for me. I had recently installed The Inline Products for Virtuemart 1.0.12 mambot so i presume that was the source of the duplicate $func variable, though I havent verified.
For those whome the solution did not work, I wonder if they had their Joomla cache on or off. I find I really need to have it off when developing, or recent changes dont get shown straight away.
Thanks for the brilliant support. Love it when things happen easily, tis rare!
« Last Edit: October 14, 2007, 02:46:45 AM by anthony hall »
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved. Terms of Use