Page 1 of 1

Parse error: syntax error, unexpected mboard SOLVED

Posted: Sun Jan 12, 2014 1:03 am
by mrsray
Script URL: would rather not post
Version of script: the latest as of today, just downloaded today from http://www.phpjunkyard.com/php-message-board.php
Hosting company: hudsonvalleyhost
URL of phpinfo.php: rather not post
URL of session_test.php: shows red box that says 'works' for gd_test.php
What terms did you try when SEARCHING for a solution:
Parse error: syntax error, unexpected

Write your message below:

just installed and got
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /home/.../settings.php on line 23

line 23 is:
$settings['autosubmit']=1;

tips or suggestions please

thanks in advance

Re: Parse error: syntax error, unexpected mboard

Posted: Sun Jan 12, 2014 1:24 am
by mrsray
UPDATE:

got it, it was line 20

thank God for color coded notepad ++ :lol:

$settings['mboard_url']="...mydomain.com/mBoard';

needed to be
$settings['mboard_url']="...mydomain.com/mBoard";

just in case someone else has this issue

:mrgreen:

Re: Parse error: syntax error, unexpected mboard SOLVED

Posted: Sun Jan 12, 2014 8:22 am
by Klemen
Yes, a small error like a single/double quote makes all the difference in PHP :wink: