I installed GT without any problems, but i think it doesn't work.
I say that because e.g. all the links of my site to the foruns module are:
.../modules.php?name=Forums
and i think it should be
../Furums.html
and if i type the URL in the browser ../Furums.html i go to the forums module, but when i click on the first forum, i go to:
_________________ Life would be so much easier if we just had the source code...
Audioslaved Elite Nuker
Joined: Jun 14, 2003
Posts: 420
Location: Hawaii and The Fan Forum
Posted:
Tue Oct 21, 2003 7:17 pm
It looks to me as though you do not have the header.php, .htaccess, and footer.php all installed correctly. FYI, for the header.php array to convert the URL's correctly throughout the pages, you need to add this in the footer.php
Put this code under the foot function.
Code:
$contents = ob_get_contents(); // store buffer in $contents
ob_end_clean(); // delete output buffer and stop buffering
echo replace_for_mod_rewrite($contents); //display modified buffer to screen
Note, not inside the foot function but under it as the following.
Inside footer.php
thank you, it works, but now i have another problem, when i try to print a topic with the print friendly option i have an error:
Could not obtain topic information
DEBUG MODE
SQL Error : 1064 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 f.forum_id = t.forum_id' at line 4
SELECT t.topic_id, t.topic_title, t.topic_status, t.topic_replies, t.topic_time, t.topic_type, t.topic_vote, t.topic_last_post_id, f.forum_name, f.forum_status, f.forum_id, f.auth_view, f.auth_read, f.auth_post, f.auth_reply, f.auth_edit, f.auth_delete, f.auth_sticky, f.auth_announce, f.auth_pollcreate, f.auth_vote, f.auth_attachments FROM eol_bbtopics t, eol_bbforums f WHERE t.topic_id = AND f.forum_id = t.forum_id
Line : 212
File : .../modules/Forums/viewtopic.php
_________________ Life would be so much easier if we just had the source code...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum