Profile Tab in UCP 500 Error

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Get Involved
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
AxeGaming
Registered User
Posts: 14
Joined: Sat Oct 16, 2010 1:10 am

Profile Tab in UCP 500 Error

Post by AxeGaming »

Support Request Template
What version of phpBB are you using? phpBB 3.0.14
What is your board's URL? http://play3rcoms.hopto.org/forum/
Who do you host your board with? Self Hosted Windows 2008
How did you install your board? I used a tool provided by my host
What is the most recent action performed on your board? Fresh Install
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? Yes
Do you have any extensions installed? No
What MODs do you have installed? WP-UNITED: WordPress-phpBB Integration Package
Multiple ranks (not linked to usergroups) 1.0.3
Multiple Ranks - Teams Page Add-on
jQuery Pack for phpBB
Profile Fields Control MOD
What styles do you currently have installed? prosilver
What language(s) is your board currently using? english
Which database type/version are you using? MS SQL Server
What is your level of experience? New to PHP but not phpBB
What username can be used to view this issue? Test
What password can be used to view this issue? test123
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Install Profile Fields Control MOD
Please describe your problem. After installing profile fields control mod, the profile tab in UCP now gives a 500 error. I have attempted uninstalling the MOD, but this does not fix the problem.

Site was backed up before the Mod was installed. But this is a very useful mod, that I have had on previous broads, and would like to have it on this one too.

Please let us know of any files you might need to look at, and I'll chuck them up :)

Thanks in advance.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22443
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Profile Tab in UCP 500 Error

Post by Mick »

To receive MOD support please visit our Modifications Database and post in the specific MOD’s designated support area. The link to the support area for each released MOD is also available in the first post of each released MOD listed in the MOD Database Releases forum.

No support is available here for MODs not obtained from this site or for MODs marked as abandoned.
"The more connected we get the more alone we become" - Kyle Broflovski©

AxeGaming
Registered User
Posts: 14
Joined: Sat Oct 16, 2010 1:10 am

Re: Profile Tab in UCP 500 Error

Post by AxeGaming »

The mods support seems to have been dead for a few years. This is also relating to phpbb's core files, as even after uninstalling the mod, the problem persists.

So let me rephrase the question. How do I get the UCP working again, even though I have uninstalled the mod?
As I'm not even 100% sure its the mod causing the issue.

AxeGaming
Registered User
Posts: 14
Joined: Sat Oct 16, 2010 1:10 am

Re: Profile Tab in UCP 500 Error

Post by AxeGaming »

Ok so I seem to have fixed this now.

From the backup I copied UCP_profile_profile_info.html (Backup was created before any issues started) After clearing the cache this has seemed to fix all the issues. Have now reinstalled the mod, and its now working as well.

Incase anyone has the same issues, or someone can be bothered looking deeper in the the issue of what caused this, below is the two files I switched around. (I'm not going to go poking, because if its not broken, don't fix it)

Broken:

Code: Select all

!-- INCLUDE ucp_header.html -->

<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>

<h2>{L_TITLE}</h2>

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>
	<p>{L_PROFILE_INFO_NOTICE}</p>

	<fieldset>
	<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->

	<!-- IF S_USER_UCP_ICQ -->

	<!-- IF S_USER_UCP_ICQ -->
	<dl>
		<dt><label for="icq">{L_UCP_ICQ}:</label></dt>
		<dd><input type="text" name="icq" id="icq" maxlength="15" value="{ICQ}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="aim">{L_UCP_AIM}:</label></dt>
		<dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="msn">{L_UCP_MSNM}:</label></dt>
		<dd><input type="text" name="msn" id="msn" maxlength="255" value="{MSN}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="yim">{L_UCP_YIM}:</label></dt>
		<dd><input type="text" name="yim" id="yim" maxlength="255" value="{YIM}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="jabber">{L_UCP_JABBER}:</label></dt>
		<dd><input type="text" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="website">{L_WEBSITE}:</label></dt>
		<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="location">{L_LOCATION}:</label></dt>
		<dd><input type="text" name="location" id="location" maxlength="255" value="{LOCATION}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="occupation">{L_OCCUPATION}:</label></dt>
		<dd><textarea name="occupation" id="occupation" class="inputbox" rows="3" cols="30">{OCCUPATION}</textarea></dd>
	</dl>
	<dl>
		<dt><label for="interests">{L_INTERESTS}:</label></dt>
		<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
	</dl>
	<!-- IF S_BIRTHDAYS_ENABLED -->
		<dl>
			<dt><label for="bday_day">{L_BIRTHDAY}:</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
			<dd>
				<label for="bday_day">{L_DAY}: <select name="bday_day" id="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select></label>
				<label for="bday_month">{L_MONTH}: <select name="bday_month" id="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select></label>
				<label for="bday_year">{L_YEAR}: <select name="bday_year" id="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></label>
			</dd>
		</dl>
	<!-- ENDIF -->
	<!-- BEGIN profile_fields -->
		<dl>
			<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
			<!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --></dt>
			<!-- IF profile_fields.ERROR --><dd class="error">{profile_fields.ERROR}</dd><!-- ENDIF -->
			<dd>{profile_fields.FIELD}</dd>
		</dl>
	<!-- END profile_fields -->
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>

<fieldset class="submit-buttons">
	{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp;
	<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
	{S_FORM_TOKEN}
</fieldset>
</form>

<!-- INCLUDE ucp_footer.html -->
Working:

Code: Select all

!-- INCLUDE ucp_header.html -->

<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>

<h2>{L_TITLE}</h2>

<div class="panel">
	<div class="inner"><span class="corners-top"><span></span></span>
	<p>{L_PROFILE_INFO_NOTICE}</p>

	<fieldset>
	<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
	<dl>
		<dt><label for="icq">{L_UCP_ICQ}:</label></dt>
		<dd><input type="text" name="icq" id="icq" maxlength="15" value="{ICQ}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="aim">{L_UCP_AIM}:</label></dt>
		<dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="msn">{L_UCP_MSNM}:</label></dt>
		<dd><input type="text" name="msn" id="msn" maxlength="255" value="{MSN}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="yim">{L_UCP_YIM}:</label></dt>
		<dd><input type="text" name="yim" id="yim" maxlength="255" value="{YIM}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="jabber">{L_UCP_JABBER}:</label></dt>
		<dd><input type="text" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="website">{L_WEBSITE}:</label></dt>
		<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="location">{L_LOCATION}:</label></dt>
		<dd><input type="text" name="location" id="location" maxlength="255" value="{LOCATION}" class="inputbox" /></dd>
	</dl>
	<dl>
		<dt><label for="occupation">{L_OCCUPATION}:</label></dt>
		<dd><textarea name="occupation" id="occupation" class="inputbox" rows="3" cols="30">{OCCUPATION}</textarea></dd>
	</dl>
	<dl>
		<dt><label for="interests">{L_INTERESTS}:</label></dt>
		<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
	</dl>
	<!-- IF S_BIRTHDAYS_ENABLED -->
		<dl>
			<dt><label for="bday_day">{L_BIRTHDAY}:</label><br /><span>{L_BIRTHDAY_EXPLAIN}</span></dt>
			<dd>
				<label for="bday_day">{L_DAY}: <select name="bday_day" id="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select></label> 
				<label for="bday_month">{L_MONTH}: <select name="bday_month" id="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select></label> 
				<label for="bday_year">{L_YEAR}: <select name="bday_year" id="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></label>
			</dd>
		</dl>
	<!-- ENDIF -->
	<!-- BEGIN profile_fields -->
		<dl>
			<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
			<!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --></dt>
			<!-- IF profile_fields.ERROR --><dd class="error">{profile_fields.ERROR}</dd><!-- ENDIF -->
			<dd>{profile_fields.FIELD}</dd>
		</dl>
	<!-- END profile_fields -->
	</fieldset>

	<span class="corners-bottom"><span></span></span></div>
</div>

<fieldset class="submit-buttons">
	{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />&nbsp; 
	<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
	{S_FORM_TOKEN}
</fieldset>
</form>

User avatar
AmigoJack
Registered User
Posts: 5715
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: Profile Tab in UCP 500 Error

Post by AmigoJack »

AxeGaming wrote:Broken:
!-- INCLUDE ucp_header.html -->
Unless you copied only partly here's a missing < at the start.
AxeGaming wrote:

Code: Select all

	<!-- IF S_USER_UCP_ICQ -->

	<!-- IF S_USER_UCP_ICQ -->
No corresponding <!-- ENDIF -->s - your server.log should have told you PHP compiling errors in exactly this file.
The worst thing about censorship is ███████████
Affin wrote:
Tue Nov 20, 2018 9:51 am
The problem is probably not my English but you do not want to understand correctly.
...
We will not come anybody anyway, nevertheless, it's best to shit this.

AxeGaming
Registered User
Posts: 14
Joined: Sat Oct 16, 2010 1:10 am

Re: Profile Tab in UCP 500 Error

Post by AxeGaming »

AmigoJack wrote:
AxeGaming wrote:Broken:
!-- INCLUDE ucp_header.html -->
Unless you copied only partly here's a missing < at the start.
I believe it was cut off then I C&P it.
AxeGaming wrote:

Code: Select all

	<!-- IF S_USER_UCP_ICQ -->

	<!-- IF S_USER_UCP_ICQ -->
No corresponding <!-- ENDIF -->s - your server.log should have told you PHP compiling errors in exactly this file.
Sadly the server log has been rewitten since then. But by the looks of things, this seems to been what caused the issue. It might have actually been me when I was trying to remove the contacts options from the UCP.
Thanks for spotting Amigo, know what to look for now in the future. :D

Locked

Return to “[3.0.x] Support Forum”