PDA

View Full Version : Fatal Error... Goofed Something Up


turbowarp
04-08-2006, 01:46 AM
I thought that all i was doing was updating the footer.tpl but when I saved what I updated, I get this message on all my pages.

Fatal error: Smarty error: unable to write to $compile_dir '/home/texas/public_html/directory/temp/templates'. Be sure $compile_dir is writable by the web server user. in /home/texas/public_html/directory/libs/smarty/Smarty.class.php on line 1088

An example page is:
http://texas-red.com/directory/region/United_States/Massachusetts/

It is supposed to be a directory listing of my categories. What did I do and how can I fix it?

Thanks

anon
04-08-2006, 01:57 AM
post your footer
and your version of the script.

turbowarp
04-08-2006, 02:59 AM
I am using the Regional LD ... I don't know where to look for the version.

But here is my footer.tpl

{strip}
{* Pager (not used yet) *}
{if $list_total gt 0}
<div class="navig">
<div style="float: right">

{if $smarty.const.ENABLE_REWRITE}
{assign var='url_pattern' value='?p=$'}
{/if}

{pager rowcount=$list_total limit=$smarty.const.PAGER_LPP class_num="" class_numon="a" class_text="" posvar="p" show="page" txt_next="Next" txt_prev="Previous" shift="1" separator=" " wrap_numon="[|]" url_pattern="$url_pattern"}
</div>{l}Total records:{/l} {$list_total}
</div>
{/if}

<p align="center"><font size="2" face="Arial" color="red">Directory</font>


Home (http://texas-red.com/) -
Agents (http://texas-red.com/directory/normal/Agents/) -
Appraisers (http://texas-red.com/directory/normal/Appraisers/) -
Inspectors (http://texas-red.com/directory/normal/Inspectors/) -
Miscellaneous (http://texas-red.com/directory/normal/Miscellaneous/) -
Real Estate Attorneys (http://texas-red.com/directory/normal/Real_Estate_Attorneys/)
</p>

</td>
<td width="34" bgcolor="#000080"></td>
</tr>
<tr>
<td width="75"></td>
<td width="681" colspan="3">
<div class="footer">
<font face="Arial" size="2">Link Partners: </font>
&raquo; Regional php Link Directory (http://www.regionaldirectory.org)
&raquo; San Antonio Home Search (http://satxproperty.com/)
&raquo; The Hobby Line Internet (http://hobbyline.com/)
</div>
</td>
<td width="34" bgcolor="#000080"></td>
</tr>
<tr>
<td width="75"></td>
<td width="681" colspan="3" align="center"><font face="Arial" size="2"><a href="http://satxproperty.com/" target="_blank">
A Service of San Antonio Home Search</a> -
Contact Us (http://texas-red.com/directory/contact.php)</font>

<p align="center"><font face="Arial" size="2">Live PageRank For This Page</font>


<a title='Live PageRank for this page'
href='http://livepr.raketforskning.com/?u=referer'>
Content visible to registered users only.
</a>
</p>
</td>
<td width="34" bgcolor="#000080"></td>
</tr>
</table>

</body>
</html>
{/strip}

mikedippel
04-08-2006, 04:26 AM
I fixed it for turbowarp. It was just a matter of deleting the template files from the /temp/templates directory.

turbowarp
04-08-2006, 04:35 AM
Thanks Mike....

JKeats
10-16-2006, 04:25 PM
sorry to drudge up an old post... but i'm having this same issue myself. i'm sure the cause of the problem was my recent hosting account move... but i'm not sure as to the solution. sometimes del the files out of the temp/template dir works but it's a temporary fix as the problem returns after a short while.

my error:

Content visible to registered users only.

Any ideas on a solution? I do know php a bit so am happy to edit a file or something if that's required.