4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: bigwave on November 12, 2008, 04:28:31 AM
-
Hello,
All of a sudden I've had this image break, when the detail should display I get this message:
Template Error: Couldn't open Template ./templates/default/comment_bit.html
I can see comment_bit.html is in the right place on the server and the images before and after this one display ok. The thumbnail also shows in the category. Any ideas?
Thanks,
Brian
-
Check permissions on that file. Also make sure the template is not empty.
-
Hello Vano,
Thanks for taking a look and welcome back--your sitemap is the reason I'm using 4images
http://www.maui-tropica.com/maui-tropica-gallery/sitemap.php
Anyway, I checked the permissions for the image and category_bit.html and they are the same as all the other files in their respective directories. Also category_bit.html looks ok to me, at least I can view the source
<table border="0" cellspacing="0" cellpadding="0" width="166">
<tr>
<td>
<a href="{cat_url}" class="maincat">{cat_name}</a> ({num_images})
{if cat_is_new}<sup class="new">{lang_new}</sup>{endif cat_is_new}
</td>
</tr>
</table>
<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="166">
<TR>
<TD>{if cat_description}<span class="smalltext">{cat_description}</span>{endif cat_description}</TD>
</TR>
<TR>
<TD class="subcatbl">{if sub_cats}{sub_cats}{endif sub_cats}</TD>
</TR>
</TABLE>
and is working on all the other images.
The broken image is here:
http://www.maui-tropica.com/maui-tropica-gallery/details.php?image_id=212
and I just found another one-same category:
http://www.maui-tropica.com/maui-tropica-gallery/details.php?image_id=335
Thanks again for any help.
Brian
-
hi Brian,
click here > http://www.maui-tropica.com/maui-tropica-gallery/templates/default/comment_bit.html
comment_bit.html can't be found
-
Hello Nicky,
Thanks for noticing this for me! Where could that file have gone? I uploaded one from a backup and all of a sudden a comment shows up:
Some pages: prozac is about <i>prozac side effects</i>. soma drug interactions is about <i>soma drug interactions</i>. zithromax result site is about <i>zithromax result</i>. fluoxetine prozac site is about <i>fluoxetine prozac</i>. <alprazolam er is about <i>alprazolam er</i>. phentermine for sale is about <i>phentermine for sale</i>. fosamax tells about <i>fosamax</i>. acyclovir tells about <i>acyclovir</i>. fioricet tells about <i>fioricet</i>.
With a ton of links--looks like I've been broken into. Any sugestions?
Thanks,
Brian
-
Looks like simple spam...Unless you disallow guests posting comments, your only solution would be ban the spammers after they posted spam...
-
Hello,
Thanks, I'm a little slow--I guess I tried to disallow comments by taking out comment_bit.html but some spammers had slipped some rubbish in and the picture details page, where there were comments, wouldn't display and I didn't notice up till now.
Thanks again for all the help!
Brian