i have a problem with the recent topics. When i login into my page the module have a problem see below:
Code:
Error fetching Recent Topics: 1064 You have an error in your SQL syntax near ') LEFT JOIN smf_log_mark_read AS lmr ON (lmr.ID_BOARD = b.ID_BOARD ' at line 8
When i go to the wrapped forum then i see the last recent topics.
I have tested with annother template but the same problem.
It will simply put the SQL query in the recent topics module. Copy that query and go into phpmyadmin and execute it under SQL. Is it failing there?
I hope this was it what you want?
Code:
SELECT mem.realName, m.posterTime, ms.subject, m.ID_TOPIC, m.ID_MEMBER, m.ID_MSG, b.ID_BOARD, b.name AS bName, t.numReplies, t.ID_LAST_MSG, IFNULL( mem.realName, m.posterName ) AS posterName, IFNULL( lt.ID_MSG, IFNULL( lmr.ID_MSG, 0 ) ) >= m.ID_MSG_MODIFIED AS isRead, IFNULL( lt.ID_MSG, IFNULL( lmr.ID_MSG, -1 ) ) +1 AS new_from, LEFT( m.body, 384 ) AS body, m.smileysEnabled, m.icon FROM (
smf_messages AS m, smf_topics AS t, smf_boards AS b, smf_messages AS ms ) LEFT JOIN smf_members AS mem ON ( mem.ID_MEMBER = m.ID_MEMBER ) LEFT JOIN smf_log_topics AS lt ON ( lt.ID_TOPIC = t.ID_TOPIC AND lt.ID_MEMBER = ) LEFT JOIN smf_log_mark_read AS lmr ON ( lmr.ID_BOARD = b.ID_BOARD AND lmr.ID_MEMBER = ) WHERE t.ID_LAST_MSG >= -175 AND t.ID_LAST_MSG = m.ID_MSG AND b.ID_BOARD = t.ID_BOARD AND AND ms.ID_MSG = t.ID_FIRST_MSG ORDER BY t.ID_LAST_MSG DESC LIMIT 5
MySQL meldet:
#1064 - You have an error in your SQL syntax near ') LEFT JOIN smf_log_mark_read AS lmr ON ( lmr.ID_BOARD = b.ID_BOARD AND lmr.ID' at line 4
I believe he is not patched properly or at all. The smf functions are not being pre-loaded by his template.
that is why the Recent topics code works when he goes to the forum, because there the SMF code explicitly checks for and includes (if not already included) the relevant (and needed) code
I have the component Bridge... but when i patch the joomla.php i can't login into my page and the login modul from joomlahacks dosen't work on my site.
« Last Edit: March 11, 2006, 04:22:57 PM by Holger »
I have the component Bridge... but when i patch the joomla.php i can't login into my page and the login modul from joomlahacks dosen't work on my site.
Ok, but you do realize that you waste our time trying to diagnose a problem that is caused by you not completing the installation of the bridge. And that detracts from time improving the bridge on top of taking me away from my personal life. Not be on a soap box here but that isn't fair to the people who are here trying to give support to everyone. Especially myself...
Now, have you double checked all your settings in SMF? I just pointed out a problem where the individual had mistakenly set the Forum URL under server settings in SMF admin to the Joomla URL which is incorrect. This causes the inability to login and failure of the login module. What is yours set to?
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