Parse error: syntax error, unexpected mboard SOLVED

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
mrsray
Posts: 2
Joined: Sun Jan 12, 2014 12:52 am

Parse error: syntax error, unexpected mboard SOLVED

Post 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
Last edited by mrsray on Sun Jan 12, 2014 2:43 am, edited 1 time in total.
mrsray
Posts: 2
Joined: Sun Jan 12, 2014 12:52 am

Re: Parse error: syntax error, unexpected mboard

Post 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:
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Parse error: syntax error, unexpected mboard SOLVED

Post by Klemen »

Yes, a small error like a single/double quote makes all the difference in PHP :wink:
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Locked