Related Topics

Started by niko, September 14, 2005, 11:50:29 AM

Previous topic - Next topic

Tony Reid

Quote from: dsanchez on November 08, 2010, 09:07:57 AM
Just updated to 2.0 RC4 so I had to re-install this mod, and it's not working :(

"Package is corrupt or not compatible with your SMF version"

Thanks.

@dsanchez The author hasn't had a chance to upate it yet...

"1.1.6, 1.1.7, 1.1.8, 1.1.9, 2.0 RC2, 2.0 RC3" Only.

Perhaps its just a case of rebuilding/editing the XML info inside the package? you might like to give that ago whilst waiting for the author.

@anyone else :)

Has anyone tried this on a big board - does it have an impact? and does it work with Sphinx?
Tony Reid

dsanchez

Quote from: Tony on November 08, 2010, 09:13:54 AM
Has anyone tried this on a big board - does it have an impact? and does it work with Sphinx?

My board has near 70 000 posts and 3000 members, and related topics has worked fine!

sharks

I have just installed this on my forum SMF 1.1.11 and no errors. I enabled it, built Fulltext index, but nothing shows up anything. It's like i never installed this mod. It's freaky. Can someone help me out? I keep going over everything, but i have indeed checked everything. There are only a few options for this mod in the Features and Options screen.

anidea

Quote from: anidea on November 02, 2010, 12:25:55 PM
Quote from: codevarun on April 21, 2010, 06:35:04 AM
Quote from: jelence on March 14, 2010, 06:09:22 AM
I'm using SMF 2.0 RC2 with 1.4 beta3 mod. When I try to run 'related_topics.php' through browser it shows message:

'Fatal error: Function name must be a string in /home/a8242326/public_html/related_topics.php on line 69'

What does it mean?
Thanks.
I am having the same problem :(

Fatal error: Function name must be a string in /home/websit51/public_html/helponrelation.com/forum/related_topics.php on line 69

Hi,

Did anyone ever manage to run the related_topics.php past this error?  I didn't see any resolution in this thread.  I can't seem to get past this error.  Thanks!

help?  I'd really like to use this too :(

sharks

Here is the error that keeps repeating itself in my forum error log:

http://www.sharks.com/smf/index.php?action=jsmodify;topic=206355;sesc;xml
Database Error: Table 'sharks_db1.db_related_subjects' doesn't exist
File: /home/sharks/public_html/smf/Sources/Subs-RelatedFulltext.php
Line: 72

sharks

#545
Quote from: Duncan85 on July 31, 2010, 08:47:09 AM
Quote from: frozenas on July 30, 2010, 07:54:30 PM
Hi. I am getting this error, although the installation went fine, but there's no such table at the tabase for sure, chcked myself:

Table 'forum.smf_related_subjects' doesn't exist
File: /home/NAME/public_html/forum/Sources/Subs-RelatedFulltext.php
Line: 116


What query i should execute to get it created?

Try attached file,upload to the root directory,where SSI.php is also located and run php file by calling this url

http://www.yoursite.com/related_topics.php



I have tried the file and it gives me this error:

Fatal error: Function name must be a string in /home/sharks/public_html/smf/related_topics.php on line 69

I have also installed and tried this mod with a fresh SMF 1.1.9 (as this mod says it is compatible up to 1.1.9) but with the same failure.

Bugo

@Niko, </tbody> tag is missing in install.xml...

sharks

Quote from: Bugo on November 15, 2010, 07:11:08 PM
@Niko, </tbody> tag is missing in install.xml...

Is that why it's not working for SMF 1.1.11?

sharks

#548
Any help guys? I really would like to enable this nice feature on my SMF 1.1.11 :(

Maybe someone has uploaded a fixed version of this mod as attachment to their reply in this topic, but i can't find it. I have installed the 1.3.3 version from this page: http://custom.simplemachines.org/mods/index.php?mod=189
For those of you who have successfully installed this mod on SMF 1.1.11, can you please confirm that 1.3.3 is the correct package?

sharks

OK, i ran the build index from the link added by the mod and it appeared to be working for at least a few topics on my forum, but then i got this error:

Database Error
Duplicate entry '206847' for key 'PRIMARY'
File: /home/sharks/public_html/smf/Sources/Subs-RelatedFulltext.php
Line: 58

How to fix that and complete the fulltext index?

Neo_TE

Quote from: dsanchez on November 08, 2010, 09:07:57 AM
Just updated to 2.0 RC4 so I had to re-install this mod, and it's not working :(

"Package is corrupt or not compatible with your SMF version"

Thanks.

open package-info.xml

find:
<install for="2.0 RC3">

replace with:
<install for="2.0 RC4">

find
<uninstall for="2.0 RC3">

replace with:
<uninstall for="2.0 RC4">

then upload the package and proceed with installation.

I tested in a website and its working fine without any errors in the log. :)

Neo_TE

Quote from: sharks on November 24, 2010, 09:13:24 AM
OK, i ran the build index from the link added by the mod and it appeared to be working for at least a few topics on my forum, but then i got this error:

Database Error
Duplicate entry '206847' for key 'PRIMARY'
File: /home/sharks/public_html/smf/Sources/Subs-RelatedFulltext.php
Line: 58

How to fix that and complete the fulltext index?
In the forum maintenance, try clearing the cache then run the error check.  now go to the mod & try to re build the index.

crazy_man

thank you very much Neo_TE  :D
Bir Damlasıyım Okyanusun...Ama Okyanusum. (I'm a Drop of the Ocean... But I'm the Ocean.)
Uyanan Gençlik
Arif Hocam

sharks

Can someone provide a working version for RC4?

!RFAN

i have installed this mod for 2 times.. but i can see any related topics??
maybe i'm missing something :(

mkress

#555
I have a very strange, strange bug - in combination with SMF 2.0 RC4 (not tested with RC 3).

in Sources/Display.php there is following line of Code:


echo $topic; //output : 16523
// Added by Related Topics
    if (!empty($modSettings['relatedTopicsEnabled']))
    {
        require_once($sourcedir . '/Subs-Related.php');
        loadRelated($topic);
    }
echo $topic; // output : 16401 - so thats the bug :-)


The problem is following part of code in subs-related.php

if (!empty($settings['message_index_preview']))
        {
            // Limit them to 128 characters - do this FIRST because it's a lot of wasted censoring otherwise.
            $row['first_body'] = strip_tags(strtr(parse_bbc($row['first_body'], $row['first_smileys'], $row['id_first_msg']), array('<br />' => '')));
           
...


if I disable this line  - $row['first_body'] = strip_tags... the variable $topic does not change and all works fine;
The strange thing is that the problem occurs only on this topic - perhaps also on others - but I have not found others untill now.

EDIT: The problem has to do with the first_parameter of parse_bbc in the disabled line - if I remove the third parameter so that no cache  is used - all works fine...

venex

Any chance updating the MOD to RC4??

Vladi246

It's working very well :)
Tanks

impreza

I have a question you see on the left hand icon that is a hot topic, plain or very hot do not show whether you are involved in the thread or not.

How to do that it was also shown that the person logged on as she wrote in this topic and not just kind of how this is the thread - these icons, so to operate as branches in the index?

Thank you for your help

Ps. sorry for the mistakes I write with a translator because English is not my native language
Portal ToTemat.pl - Filmy i Artykuły

perfec2

I had been using it on SMF 1.1.11 , then SMF 1.1.12 came out I upgraded it. I am unble to have it pass installation stage, as I am getting "atleast one error was encountered"
Please how can I get it work for SMF 1.1.12?

Advertisement: