Home arrow Forum Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
  Welcome, Guest. Please login or register.
Did you miss your activation email?
October 13, 2008, 05:04:34 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Addon Discussion
| |-+  Joomla Modules
| | |-+  Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2  (Read 3184 times)
D M
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« on: January 07, 2007, 06:44:34 AM »

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?

Regards
D
Logged
icho tolot
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #1 on: January 07, 2007, 09:40:01 AM »

hi,

this isn't a solution - only an info.

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

bye
icho.tolot
Logged
phreak
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #2 on: January 30, 2007, 07:27:29 AM »

Hi all,

The same happens with the component "Eventlist" (http://www.schlu.net/).
But the "funceas" workaround doesn't work here.

Anybody solved this issue ?

Thanx for Info
phreak

Logged
-Wolverine
Developer
Joomla Guru
*****

Karma: +375/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #3 on: January 30, 2007, 09:04:41 AM »

check the problems topic, I have listed a fix
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #4 on: March 15, 2007, 07:19:44 AM »

check the problems topic, I have listed a fix

here there is solution



TNX for help Wolverine!!
Logged
jerryleelewis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #5 on: May 10, 2007, 04:03:33 AM »

This fix wont work for me

But i get this Error only on Pages that has the Login Module online .

Causes that my trouble ?

THX
Sven
Logged
jerryleelewis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #6 on: May 16, 2007, 03:45:24 AM »

something new about that  Huh
Logged
jerryleelewis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #7 on: June 13, 2007, 08:34:54 PM »

Hi guys

i bump this tread because i really want to get this Mod to Work in my Page

Please anyone an Idea

i read the hole Forum for an Answer an i cant get this mod to work

Please  Cry Cry Cry
Logged
jerryleelewis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #8 on: June 15, 2007, 10:31:22 AM »

 Sad
Logged
jerryleelewis
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #9 on: July 01, 2007, 02:25:40 PM »

 Huh
Logged
Graham
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 10


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #10 on: July 24, 2007, 02:55:53 AM »

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);


I'd LOVE to have this solved... Anyone?
Logged
anthony hall
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #11 on: October 14, 2007, 02:44:28 AM »

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 » Logged
dafebe
Joomla Newbie
*

Karma: +1/-0
Offline Offline

Posts: 32


View Profile
Re: Fatal error undefined function - Joomla-SMF recent topics module 2.0.2
« Reply #12 on: December 10, 2007, 07:23:24 AM »

Now I have the someproblem anyone fit it?

Quote
Fatal error: Call to undefined function: () in /mysite/public_html/smf/Sources/Subs.php on line 872

Best Regards

dafebe

Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Joomla Forum | Powered by SMF 1.1 RC1.
© 2001-2005, Lewis Media. All Rights Reserved.
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!

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
Joomla Hacks



Joomla Hacks
German Lang French Lang Italian Lang Spanish Lang Japanese Lang Chinese Lang
Search Contact About Advertise Blogs Topsites Submit News Register Login