Code: Select all
SQL ERROR [ mysqli ]
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 'phpbb3_topics t WHERE t.topic_id = p.topic_id AND t.topic_id = 5418' at line 3 [1064]
SQL
SELECT t.topic_title FROM phpbb3_posts p phpbb3_topics t WHERE t.topic_id = p.topic_id AND t.topic_id = 5418
BACKTRACE
FILE: includes/db/mysqli.php
LINE: 143
CALL: dbal->sql_error()
FILE: includes/functions_seo.php
LINE: 170
CALL: dbal_mysqli->sql_query()
FILE: viewtopic.php
LINE: 57
CALL: moved_topic()
http://www.phpbb.com/community/viewtopi ... 5#p5497265NLCrEaTiVe wrote:I installed the following mod: http://www.phpbb.com/community/viewtopi ... &sk=t&sd=a
This mod uses code to display the last post in a topic. But when I press the link it shows the following error:
The only changes you should see is that when you are browsing the forums, instead of for example:adda4u wrote:Installed every thing perfectly and i didnt see any changes ...
Can any one help me ...
How to check weather it is really working or not
Code: Select all
'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread'),
Code: Select all
'U_VIEW_UNREAD_POST' => format_url($topic_title, "t$topic_id", 0, 'view=unread#unread'),
Code: Select all
Tip: This may be a partial find and not the whole line.
global $_SID, $_EXTRA_URL;
Code: Select all
Tip: Add these lines on a new blank line after the preceding line(s) to find.
global $phpbb_root_path, $phpEx;
if ($url === "{$phpbb_root_path}index.$phpEx")
{
return append_sid($phpbb_root_path);
}
Code: Select all
global $_SID, $_EXTRA_URL;
Code: Select all
global $_SID, $_EXTRA_URL,
Yes, I can confirm this problem as well - not sure why - memberlist.php does not appear to be able to pick up the PHPBB_ROOT_PATH and so, sets $phpbb_root_path to './'Milkin wrote:Thanks for this MOD Handyman.
Thanks to everyone with all the fixes and help.
I worked my way through the last 39 pages and now have this SEO MOD installed & working with all bugs fixed except for one small issue:
When a user sends a topic to a friend using the "E-mail friend" link, that person recieves the email ok but the link back to the topic is like this example:
./test-page-etc.html
when the link in the email should be something like:
hxxp://www.myDomain.com/test-page-etc.html (this is not a working link)
Any help would be great.
Thanks.
If you are careful following the instructions for installation and double check the lines where you place additional / replacement code, you should be fine.p0Wer wrote:I really don't know if I should install this mod. Theoretically, it sounds great. I tried installing it a while back but totally messed my board up, but I am willing to try again.
To the above poster, what are all those fixes for? What do they do?
Thanks