Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#246113 - 09/30/11 04:42 PM Changing profile information errors?
Hawkee Offline
stranger
Registered: 03/28/08
Posts: 5
It was brought to my attention that users were getting an error when changing anything on their profiles. I went and checked, and it came up for me.

The error is: Parse error: syntax error, unexpected $end in keepersboards/cache_builders/custom/portal_box_2.php on line 11

I checked that file, it had nothing but the basic stuff in there. Any idea where else I should look?


Edited by Hawkee (09/30/11 04:43 PM)
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."
#246115 - 09/30/11 05:34 PM Re: Changing profile information errors? [Re: Hawkee]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, it's saying that something is wrong with the portal_box_2 file; could you paste us the contents of custom island #2?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#246117 - 09/30/11 06:50 PM Re: Changing profile information errors? [Re: Hawkee]
Hawkee Offline
stranger
Registered: 03/28/08
Posts: 5
The url is: http://cghunter.com/keepersboards

Here is the code:

Code:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="http://lotro.com/">LOTRO</a><br />
<a href="http://forums.lotro.com">LOTRO Forums</a><br />
<a href="http://lorebook.lotro.com/wiki/Lorebook_home">LoreBook</a><br />
<a href="http://www.cghunter.com/keepers">Keepers Home</a><br />
EOF;?>
?>
Top
#246118 - 09/30/11 06:50 PM Re: Changing profile information errors? [Re: Hawkee]
Hawkee Offline
stranger
Registered: 03/28/08
Posts: 5
Nevermind, now that I pasted it.. I see one possible bad part..

Where it shows ubbwiki is supposed to just be wi-ki (minues the - ) ..At least that is how it shows on my file.


Edited by Hawkee (09/30/11 06:57 PM)
Top
#246120 - 09/30/11 07:21 PM Re: Changing profile information errors? [Re: Hawkee]
Gizmo Online   cat

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
No, Wi-ki is autotext.

The problem looks like the format; when you're in the editor the stock island looks like:
Code:
/* PHP CODE HERE, IF NECESSARY */

/* DO NOT CHANGE THE LINE BELOW */
$body = <<<EOF
EOF;
/* DO NOT CHANGE THE LINE ABOVE */


Yours has significant data after "EOF;" (possibly someone tried editing its file directly, or copied data elsewhere), just update the editor screen with he proper data and you should be fine.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#246121 - 09/30/11 07:54 PM Re: Changing profile information errors? [Re: Hawkee]
Ruben Offline

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Originally Posted By: Hawkee
The url is: http://cghunter.com/keepersboards

Here is the code:

Code:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="http://lotro.com/">LOTRO</a><br />
<a href="http://forums.lotro.com">LOTRO Forums</a><br />
<a href="http://lorebook.lotro.com/wiki/Lorebook_home">LoreBook</a><br />
<a href="http://www.cghunter.com/keepers">Keepers Home</a><br />
EOF;?>
?>

It looks like you added php end tags which is incorrect.

Should be more like:
Quote:
/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<a href="http://lotro.com/">LOTRO</a><br />
<a href="http://forums.lotro.com">LOTRO Forums</a><br />
<a href="http://lorebook.lotro.com/UBB.Wiki/Lorebook_home">LoreBook</a><br />
<a href="http://www.cghunter.com/keepers">Keepers Home</a><br />
EOF;

Note the ?>
?> is removed after the eof.

FYI, you can visit http://www.ubbwiki.com/index.php?title=Custom_Islands
For hints on using custom islands.


Edited by Ruben (09/30/11 08:29 PM)
Edit Reason: Added Comment.
_________________________
Blue Man Group
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