Home arrow Forum Recent topics issues
  Welcome, Guest. Please login or register.
Did you miss your activation email?
August 29, 2008, 02:59:51 PM
Home New Posts Search Calendar


Login with username, password and session length
+  Joomla Forum
|-+  Joomla Hacks
| |-+  Joomla-SMF Forum Support
| | |-+  Joomla-SMF 1.0.x (Moderators: -Wolverine, kai920)
| | | |-+  Recent topics issues
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] Go Down Print
Author Topic: Recent topics issues  (Read 6377 times)
Allen Mitts
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Recent topics issues
« Reply #15 on: November 30, 2005, 07:43:49 AM »

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ml.ID_MSG = t.ID_LAST_MSG
AND IFNULL(lt.logTime, IFNULL(lmr.logTime, 0))' at line 7
File: /home/director/public_html/forum/Sources/Recent.php
Line: 742

Yup, I'm getting this message too!  Sad
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #16 on: November 30, 2005, 08:31:02 AM »

try the latest version of JoomlaSMF Recent topics, 1.4.
Logged

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

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Recent topics issues
« Reply #17 on: December 01, 2005, 04:29:44 AM »

try the latest version of JoomlaSMF Recent topics, 1.4.

Not the same thing. The problem shows up in SMF when clicking on the New Posts and No New Posts icons.
From the SMF help text:
"The New Posts and No New Posts icons in the leftmost column show registered members whether there have been any new posts to the board since they last read it."

Clicking on that yields the following message:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND ml.ID_MSG = t.ID_LAST_MSG
AND IFNULL(lt.logTime, IFNULL(lmr.logTime, 0))' at line 7
File: /home/director/public_html/forum/Sources/Recent.php
Line: 742

Anyone else experience this and found a solution?
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #18 on: December 01, 2005, 10:14:23 AM »

ahhh, I see.  Is your smf db prefix 'smf_'?  SQL syntax errors don't help much since it is usually the line before what is displayed that has the error.  I tried to find this on my forums, is this new posts something enabled in admin?  I modded the source file to display the SQL before it executes it but I can't find where to enable the button to trigger it.
Logged

Need help?  Check Here First!
Get the JSMF User Guide
SEARCH this forum.
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #19 on: December 01, 2005, 10:28:03 AM »

Ok, got the exact SQL to echo but it is very specific to my site.  If you want, make a backup of Recent.php under /home/director/public_html/forum/Sources/.  Copy it to Recent.php.orig.  Then upload the attached file(unzip it first of course) and copy it into /home/director/public_html/forum/Sources/.  Then click the updated topics button/link and it will simply display the SQL it is trying to execute.  After capturing the SQL revert back to the Recent.php.orig file.

You can use this SQL and connect to php myadmin or similar tool to execute it manually.  See what the results are... that might help in diagnosing the problem.
Logged

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

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
Re: Recent topics issues
« Reply #20 on: December 01, 2005, 08:31:48 PM »

Hi Wolverine, thanks for taking the time to attempt to help me!

I don't think it is my site that has an isolated problem. It is happening here as well:

Go to this site's forum home page: http://www.joomlahacks.com/component/option,com_smf/Itemid,94/

Click on one of the icons on the left of a forum that isn't faded (meaning there are new topics within that forum).

The result for me at least is a database error (I've included a pic of this below). JoomlaHacks doesn't show the error, only that there was one. On my site, it provides the text that I entered in my prvious message.

Maybe Cowboy needs to step in and have a look?
Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #21 on: December 02, 2005, 10:27:20 AM »

Probably so, if I can help further just let me know.
Logged

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

Karma: +0/-0
Offline Offline

Posts: 4


View Profile
Re: Recent topics issues
« Reply #22 on: December 10, 2005, 03:16:07 AM »

Is anyone else still having this problem? I have yet to get it squared away. If it helps at all, I learned tonight that it doesn't happen if I follow these steps:
1. Login with the joomlahacks login module.
2. Directly access the SMF forum by going to http://www.mindgamesonline.net/forums/
3. Hit the back button on my browser to return to my site's home page

After this, all the links work... the ones in the login module and the ones at the top of the forums index page.
Logged
Jack Dobbie
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Recent topics issues
« Reply #23 on: March 06, 2006, 05:07:55 PM »

Hello,

No this issue is still here:
Please try again. If you come back to this error screen, report the error to an administrator.

I get this when I click on any board. Reproduceable everytime.

Using version SMF 1.1 RC2.

I'm completely stuck, Any help to resolve is appreciated.

Thanks.

Logged
WaMaR_PL
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Recent topics issues
« Reply #24 on: April 04, 2006, 08:34:09 AM »

I have the same problem when I click at "New Post" icon.

Quote
Databese Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) < t.ID_LAST_MSG' at line 7
File: /home/xxx/public_html/smf/Sources/Recent.php
Line: 748

Quote
8: Undefined index: ID_MSG_LAST_VISIT
File: /home/xxx/public_html/smf/Sources/Recent.php
Line: 747

and new bug with "Insert Quote" button, after click I see quote on the moment and after disappeare. Strange but URL is with "&top" string added.
Quick Replay is working OK with quote.

JSMF 1.1
SMF 1.1 RC2
Joomla 1.08
« Last Edit: April 04, 2006, 08:37:20 AM by WaMaR_PL » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #25 on: April 04, 2006, 09:08:31 AM »

both of those look like SMF errors
Logged

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

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Recent topics issues
« Reply #26 on: April 04, 2006, 09:41:35 AM »

Strange, but when I use direct URL: http://www.somesite.pl/smf all is OK.

and http://www.somesite.pl/smf/index.php?action=unread;board=1.0 is OK.

but when http://www.somesite.pl/index.php?option=com_smf&Itemid=222&action=unread;board=1.0 is ERROR.

« Last Edit: April 04, 2006, 10:21:42 AM by WaMaR_PL » Logged
-Wolverine
Moderator
Joomla Guru
*****

Karma: +374/-34
Offline Offline

Posts: 3393


Lead Developer


View Profile WWW
Re: Recent topics issues
« Reply #27 on: April 04, 2006, 09:59:37 AM »

then my guess is SSI isn't being included... have you patched the Joomla index file?
Logged

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

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Recent topics issues
« Reply #28 on: April 04, 2006, 10:05:04 AM »

I use JSMF 1.1 (I try 1.1.01 also) component to patch index.php.
Logged
EmeraldRuby
Joomla Newbie
*

Karma: +0/-0
Offline Offline

Posts: 1


View Profile
Re: Recent topics issues
« Reply #29 on: September 13, 2006, 04:00:35 AM »

when i use recent topic locally it works but on teh server it does NOT!!!

it may be the mysql version on teh server ( 4.1.21)

what version are you guys using?? (for whom it is not working???)
Logged
Pages: 1 [2] 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