Template Error

LadyLannie

Up-and-Coming Sensation
Joined
Jun 15, 2013
Messages
453
Reaction score
32
FP$
489
When ever i go into my styles template and pick a stylesheet like overall footer the content thats supposed be there is not there.I was woundering if it had to do using auto script installer.But i check it re-installed theme and still the same problem.Is their anyway i can fix this.

Link to site: http://promotionnetwork.my-board.org

Link to hosting provider: http://www.lazbit.com
 
What mods have you installed that have modified the ACP files?

Does the page load a blank white page, or is it loading the page but the content in the editor is not loading?
 
I currently have no mods installed,and the content in the editor is not loading..
 
Did you install phpBB via an auto-installer or by a fresh install via the download package from phpBB.com? I had this issue once before a couple years back and it was caused by the auto-installer.

Can you post lines 250-273 of your acp_styles.html file please? It is located in adm/styles.
 
He used a auto installer..
Code:
<form id="acp_template" method="post" action="{U_ACTION}">

251. 

252.		<fieldset>

253.			<legend>{L_EDITOR}</legend>

254.		<!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->

255.		<dl>

256.			<dt><label>{L_SELECTED_FILE}:</label></dt>

257.			<dd>{TEMPLATE_FILE}</dd>

258.		</dl>

259.		<!-- ENDIF -->

260.		<dl>

261.			<dt><label for="text_rows">{L_EDITOR_HEIGHT}:</label></dt>

262.			<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="button2" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>

263.		</dl>

264.		<textarea id="template_data" name="template_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{TEMPLATE_DATA}</textarea>

265.		</fieldset>

266. 

267.		<fieldset class="submit-buttons">

268.			<legend>{L_SUBMIT}</legend>

269.			{S_HIDDEN_FIELDS}

270.			{S_FORM_TOKEN}

271.			<input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />

272.		</fieldset>

273.		</form>
 
Try replacing those lines with this:

Code:
<form id="acp_template" method="post" action="{U_ACTION}">

		<fieldset>
			<legend>{L_EDITOR}</legend>
		<!-- IF S_EDIT_TEMPLATE or (S_EDIT_THEME and not S_THEME_IN_DB) -->
		<dl>
			<dt><label>{L_SELECTED_FILE}:</label></dt>
			<dd>{TEMPLATE_FILE}</dd>
		</dl>
		<!-- ENDIF -->
		<dl>
			<dt><label for="text_rows">{L_EDITOR_HEIGHT}:</label></dt>
			<dd><input id="text_rows" type="text" maxlength="3" value="{TEXT_ROWS}" /> <input class="button2" type="button" name="update" onclick="change_editor_height(this.form.text_rows.value);" value="{L_UPDATE}" /></dd>
		</dl>
		<textarea id="template_data" name="template_data" style="font-family:'Courier New', monospace;font-size:9pt;line-height:125%;width:100%;" cols="80" rows="{TEXT_ROWS}">{TEMPLATE_DATA}</textarea>
		</fieldset>

		<fieldset class="submit-buttons">
			<legend>{L_SUBMIT}</legend>
			{S_HIDDEN_FIELDS}
			{S_FORM_TOKEN}
			<input class="button1" id="save" type="submit" name="save" value="{L_SUBMIT}" />
		</fieldset>
		</form>

That is taken from a fresh download of phpBB 3.0.11. If that does not work, I would suggest deleting the auto-installed version and upload and install the package from phpBB.com
 
Back
Top Bottom