Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#223225 - 02/26/09 02:57 PM [FIXED for 7.5.1] 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
I started getting this error after upgrading from 7.4.2 to 7.5 final. The error is written in the forum directory as error_log not visible in the cp error log.
Everything seems to be working though.
Quote:
PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /public_html/forums/scripts/printthread.inc.php on line 203

Added comment.
I don't have any moderated forums. At least that I did not set up anyways.

Can't seem to figure out what triggers the error. I have deleted the file twice and right now there are only two line entries with the same error.
_________________________
Blue Man Group
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#223244 - 02/26/09 06:17 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben]
DonB Offline
newbie
Registered: 06/06/06
Posts: 33
I just came here to report this bug, but searched first.

The error occurs when you click on Topic Options/Print Topic. It was reported by one of my users, who sees:
Parse error: parse error in C:\Inetpub\lostcoastcachers\forums\scripts\printthread.inc.php on line 203

Testing it here, on this very topic, I see:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/ubbcentral/domains/ubbcentral.com/public_html/forums/scripts/printthread.inc.php on line 203
Top
#223246 - 02/26/09 06:23 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: DonB]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Cool Don, more clues I was not using the print topic option so maybe another user was or a spider.
I was pulling my hair out trying to duplicate this. Because in my post it was not a visible error unless you ftp to the site and look for error_log.

Yep just tried this on my site."Print Topic" adds a line item to the error_log file.
_________________________
Blue Man Group
Top
#223250 - 02/26/09 06:32 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Rick,
Car 54 where are you?
_________________________
Blue Man Group
Top
#223254 - 02/26/09 06:44 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Line 201 of scripts/printthread.inc.php is a bit wrong. Currently it looks like this:

$UserStatus = $html->user_status($Posterid,$groupimages,",$Posterid,")'

Needs to be:

$UserStatus = $html->user_status($Posterid,$groupimages,",$Posterid,");
Top
#223257 - 02/26/09 06:51 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Rick]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Looks like that corrects the item problem.
WoW

Okay you can light that nasty thing back up.
_________________________
Blue Man Group
Top
#223258 - 02/26/09 06:52 PM Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Rick]
DonB Offline
newbie
Registered: 06/06/06
Posts: 33
Those pesky semicolons will get you every time!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image