Error in SMF Recent Posts "Call to undefined function: show_topofpageads()"

Started by nicko107, November 03, 2006, 08:03:39 AM

Previous topic - Next topic

nicko107

Hi

I Installed this modules in Joomla:

SMF Recent Posts
mod_smfRecentPostsv1.0


I download it here:
http://www.simplemachines.org/community/index.php?topic=81152.msg541423#msg541423

And have this error:

Instead display the last posts in forum display the error:


Fatal error: Call to undefined function: show_topofpageads() in ...\forum\Sources\Load.php(1702) : eval()'d code on line 170

And dont display anything more of the site that are begin that module and the column right, the background color change to grey and the border of home page reduce

But when Im login in forum with admin then display correct the last posts,
only with one error:
Notice: Undefined index: newtime in ...\modules\mod_smfRecentPosts.php on line 53
and display a new icon begin the post title

when logout not display the last posts and display the error:
Fatal error: Call to undefined function: show_topofpageads() in ...\forum\Sources\Load.php(1702) : eval()'d code on line 170



the configuration are:
Joomla 1.0.11
SMF 1.1 RC3 with the last patch (29 de October de 2006)
SMF Bridge 1.1.6

The forum is in a subdirectory of Joomla site
and Joomla and SMF share the same database

I have Joomla SEF default on, but without a SEF Component working,
the urls are:
../component/option,com_smf/Itemid,xx/
I do this changes to .htaccess:
########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section

of:
http://www.simplemachines.org/community/index.php?topic=123630.0
to see the forum with SEF URLs: .../component/option,com_smf/Itemid,xx/board,xx.0

Forum are unwraped
with not in: "Synchronize Language from Mambo/Joomla to SMF?:"


I see other post in this forum that say the problem could be with Ad Management mod
and I try to uninstall this mod in smf forum but have this error:

2. Execute Modification ./Sources/Subs.php Test failed
5. Execute Modification ./Themes/default/Display.template.php Test failed


With other modules in Joomla to display the last posts  have the same error


What I could be to do to display correct the last posts in forum?
If this cause the Ad mod then I have to manually unistall Ad mod in SMF? I need this mod in forum


Kindred

I don't know about the add mod... but you are using the wrong version of mod_smf_recentposts.

v1.0 is only for use with 3.19a...

for bridge 1.1.6, you need to be using v1.1 of the module.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


nicko107

Thanks for the correction

I installed by error all of module and bots for v3.19a

nicko107

Hi

I installed mod_smfRecentPostsv1.1 but have the same error

SMF Recent Posts

Fatal error: Call to undefined function: show_topofpageads() in ...\forum\Sources\Load.php(1702) : eval()'d code on line 170



This module mod_smf_keystatsv2 work well
but this module SMF Who's Online2 display this error:
Notice: Undefined variable: moduleclass_sfx in ...\modules\mod_smf_online2.php on line 242

Notice: Undefined variable: wioOutputList in ...\modules\mod_smf_online2.php on line 245
There are currently 1 Guest and 0 Users online

Notice: Undefined variable: moduleclass_sfx in ...\modules\mod_smf_online2.php on line 278

Notice: Undefined variable: mosConfig_db in ...\modules\mod_smf_online2.php on line 281




Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

nicko107

Is in local installation with EasyPHP, I have other forum but without Bridge installed
I Only need working this modules in Joomla to upload the site

Information of version of EasyPHP are:
Apache/1.3.33 (Win32)
PHP/4.3.10
Database Version:  4.1.9-max

I found yesterday a post saying that could be a conflit with Ad Management mod but I cant find it now

show_topofpageads() is used by this mod




Advertisement: