DjLuki 0 Report post Posted July 7, 2006 hey, im getting this error when im trying to view a message on my forum, Parse error: syntax error, unexpected T_VARIABLE in /home/luki/public_html/forum/viewtopic.php on line 26and this is what is on line 26 in that file.. i don't know waht's wrong with it.LIMIT$start, ".$board_config['posts_per_page'];and this is what it loks like all together...define('IN_PHPBB', true);define('IN_CASHMOD', true);define('CM_VIEWTOPIC', true);LIMIT$start, ".$board_config['posts_per_page'];$cm_viewtopic->generate_columns($template,$forum_id,$sql);$phpbb_root_path = './';include($phpbb_root_path . 'extension.inc');include($phpbb_root_path . 'common.'.$phpEx);include($phpbb_root_path . 'includes/bbcode.'.$phpEx);does anybody know waht's wrong? also maybe if you can open up this file in your forum dir. and tell me if it loks the same. im using phpbb.Thanks Share this post Link to post Share on other sites
Albus Dumbledore 0 Report post Posted July 7, 2006 lol... great coding..um, if you try this, make a back-up of this file before you try this ok?!? LIMIT$start, ".$board_config['posts_per_page'];maybe try putting a " on the other side of the ; like thisLIMIT$start, ".$board_config['posts_per_page'];" i am taking a wild shot in the dark there! Share this post Link to post Share on other sites
DjLuki 0 Report post Posted July 7, 2006 that does not work.UPDATEalright alright, i figured it out, i had posted that whole line in the wrong place thats why it didn't fix it.. i got it working now. Notice from BuffaloHELP: Our board is now enabled with EDIT feature. Please use it instead of double posting. Share this post Link to post Share on other sites
Albus Dumbledore 0 Report post Posted July 7, 2006 pft, figures lol just thought id try... hehe Share this post Link to post Share on other sites