Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Forum Script Error
DjLuki
post Jul 7 2006, 04:55 AM
Post #1


Super Member
*********

Group: Members
Posts: 447
Joined: 2-March 05
Member No.: 4,094



hey, im getting this error when im trying to view a message on my forum,
QUOTE
Parse error: syntax error, unexpected T_VARIABLE in /home/luki/public_html/forum/viewtopic.php on line 26


and this is what is on line 26 in that file.. i don't know waht's wrong with it.
QUOTE
LIMIT$start, ".$board_config['posts_per_page'];


and this is what it loks like all together...
QUOTE
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
Go to the top of the page
 
+Quote Post
Albus Dumbledore
post Jul 7 2006, 05:08 AM
Post #2


Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand...
**************

Group: Members
Posts: 1,523
Joined: 8-January 06
From: Sacramento California
Member No.: 16,756



lol... great coding..

um, if you try this, make a back-up of this file before you try this ok?!?

QUOTE
LIMIT$start, ".$board_config['posts_per_page'];


maybe try putting a " on the other side of the ; like this

QUOTE
LIMIT$start, ".$board_config['posts_per_page'];"



i am taking a wild shot in the dark there!
Go to the top of the page
 
+Quote Post
DjLuki
post Jul 7 2006, 05:50 AM
Post #3


Super Member
*********

Group: Members
Posts: 447
Joined: 2-March 05
Member No.: 4,094



that does not work.

UPDATE

alright 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.
Go to the top of the page
 
+Quote Post
Albus Dumbledore
post Jul 7 2006, 06:17 AM
Post #4


Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand...
**************

Group: Members
Posts: 1,523
Joined: 8-January 06
From: Sacramento California
Member No.: 16,756



pft, figures tongue.gif lol just thought id try... hehe
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Could Someone Make A Php Script For Me?(3)
  2. Error Not A Valid Win32 Application(10)
  3. Free Forum Hosting With No Annoying Ads!(29)
  4. Pet/animal Care Forum(18)
  5. Come Up With New Member Rank Names(36)
  6. Putting A Signature On The Forum(35)
  7. Watermark Your Image With Simple Php Script(34)
  8. Psp Error- Tut On How To Fix(28)
  9. Evilboard (forum Software) - Multiple Categorys - Don't Work :((6)
  10. Background Image Swap Script(15)
  11. How Did You Hear About This Forum(630)
  12. Invite Script..(2)
  13. Error E74? (xbox 360)(7)
  14. Loaing Script(3)
  15. Dead Forum(4)
  1. Hackers Hijack A Half-million Sites: Phpbb Forum Users Must Read(8)
  2. Forum Member's Town Suffers Tornado(10)
  3. Webmasters Forum(8)
  4. Error 28 (on Phpmyadmin)(6)
  5. How To Make A View New Post Script?(5)
  6. Phpizabi Social Network Script(1)
  7. Invisionfree Skin How-to Put On Your Forum(0)
  8. Add Flashing Inbox To Invisionfree Forum(0)
  9. Phpbb3 - Error 28(5)
  10. Azurian Skin(0)
  11. Help Me _ Error Message: "could Not Retrieve Session Record"(2)
  12. Forum Administration Help(2)
  13. Php Guest Online Script(2)


 



- Lo-Fi Version Time is now: 25th July 2008 - 10:06 AM