Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (mmkk, JAISP), 64 guests, and 377 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
TGCsanderson
TGCsanderson
Hackelton U.K.
Posts: 67
Joined: September 2007
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
M4TT 9
Ruben 8
mmkk 4
FREAK 3
isaac 3
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
[FIXED for 7.5.1] 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder #223225
02/26/09 02:57 PM
02/26/09 02:57 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline OP

Ruben  Offline OP


Joined: Dec 2003
Posts: 5,827
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


There is no such thing as stupid questions. Just stupid answers
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."
Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben] #223244
02/26/09 06:17 PM
02/26/09 06:17 PM
Joined: Jun 2006
Posts: 33
D
DonB Offline
newbie
DonB  Offline
newbie
D
Joined: Jun 2006
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

Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: DonB] #223246
02/26/09 06:23 PM
02/26/09 06:23 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline OP

Ruben  Offline OP


Joined: Dec 2003
Posts: 5,827
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


There is no such thing as stupid questions. Just stupid answers
Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben] #223250
02/26/09 06:32 PM
02/26/09 06:32 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline OP

Ruben  Offline OP


Joined: Dec 2003
Posts: 5,827
Lutz,FL
Rick,
Car 54 where are you?


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Ruben] #223254
02/26/09 06:44 PM
02/26/09 06:44 PM
Joined: Jun 2006
Posts: 10,177
Aberdeen, WA
R
Rick Offline
Former Developer
Rick  Offline
Former Developer
R
Joined: Jun 2006
Posts: 10,177
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,");

Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Rick] #223257
02/26/09 06:51 PM
02/26/09 06:51 PM
Joined: Dec 2003
Posts: 5,827
Lutz,FL
Ruben Offline OP

Ruben  Offline OP


Joined: Dec 2003
Posts: 5,827
Lutz,FL
Looks like that corrects the item problem.
WoW

Okay you can light that nasty thing back up.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: 7.5: Parse error, T_CONSTANT_ENCAPSED_STRING written to error_log in forum folder [Re: Rick] #223258
02/26/09 06:52 PM
02/26/09 06:52 PM
Joined: Jun 2006
Posts: 33
D
DonB Offline
newbie
DonB  Offline
newbie
D
Joined: Jun 2006
Posts: 33
Those pesky semicolons will get you every time!


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Users Unable to Upload Avatar [Not a Bug]
by M4TT. 12/13/17 08:51 AM
Shout Box Sound Effect
by M4TT. 11/29/17 08:28 PM
Ad island
by TGCsanderson. 11/25/17 06:41 PM
Taking to long to connect to DB
by AstroCat. 11/24/17 12:34 PM
Forum Statistics
Forums36
Topics35,015
Posts190,544
Members12,045
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)