Hot topics problem

Started by LN, January 11, 2008, 06:08:54 PM

Previous topic - Next topic

LN

Hi,
I have a problem with showing topics that have been marked Hot topics and Very hot topics. Any member with administrator or global moderator privileges can't see it but registered users can and they can write new posts. To be exact, topic is visible in the list but posts in it are not. When user, for example, with administrator privilege try to enter any Hot topic, a blank page is shown. All other topics work fine. So, if someone can help me or give me advice I would appreciate it. Thank you.

jerm

SMF Version?
Mods installed?
Theme?
Error log?

LN

#2
Here are details:

SMF version is 1.1.2
There are no mods installed.
Theme is Classic YaBB SE Theme. I tried to change theme, but problem is the same.

Errors are:
8: Undefined offset: 0
File: /public_html/components/com_smf/smf.class.php
Line: 447 or Line: 453

com_smf/smf.class.php code:

439            if (empty($headers) || empty($keywords) || empty($css)) {
440               //if one is empty rebuild all
441                $headers = '';
442               $keywords = '';
443                $css = '';
444                $this->debug .= 'loading headers';
445                $regex = '/<head>.*<\/head>/smi';
446               preg_match($regex, $buffer, $matches);
447               $headers = $matches[0];
448
449                $regex = '/name="keywords" .*" \/>/i';
450                preg_match($regex, $headers, $matches);
451               $search = array ('/.*content="(.*)".*/i');
452               $replace = array ('$1');
453               $keywords = preg_replace($search, $replace, $matches[0]);
454
455               $regex = '/<link rel="stylesheet" .*" \/>/';
456              preg_match_all($regex, $headers, $matches);

Rumbaar

Are you sure there aren't any mods installed? or some other portal or bridge, as the file smf.class.php doesn't exist in a base install of SMF 1.1.2.

Can you link to your site?

PS: You should really update to 1.1.2 as soon as you can.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

LN

Hi,
I have Joomla site and SMF forum. I've installed Community Builder and Jomla-SMF bridge. But I didn't put any mods to forum. It looks like it is a bridge problem between Joomla and SMF.
I tried something else - in a forum administration I've changed number of posts whitch defines some topic like hot topic. Default number is 15, and I change it to 35. Now, new posts from hot topics I can see but not the older ones.
I wouldn't be so confused but everything worked fine for almost a year.
I will run update on my site and when I'm finished I will put new post to this forum. I hope update will help cause I don't have any more ideas.
tnx 

Rumbaar

Well that bridge would be classed as a modification to the base code of SMF.  So that kind of thing is what we were asking about.

Yes it seems to be an issue, as they file is part of the bridge.  I'll move this to the Joomla section of the forum, but as that bridge is no longer supported I'm not sure of the level of support we can give.
"An important reward for a job well done is a personal sense of worthwhile achievement."

[ Themes ]

Orstio

You will find better support for that integration at joomlahacks.com.

Advertisement: