Author Topic: Category error  (Read 1062 times)

0 Members and 1 Guest are viewing this topic.

Offline 68555

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Category error
« on: August 31, 2009, 12:24:56 PM »
I have phpdirector on my server ( www.guglam.com/tube_alternative ) and I have a problem on category page. The categorys appear totally right on the page. I tried reinstalling, but no help. Can anyone help me. Tnx in advance.

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Category error
« Reply #1 on: August 31, 2009, 02:16:53 PM »
Tell me if this fixes it...

delete everything within the templates_c directory (except admin folder)
Go into admin folder (Located within templates_c) and delete the contents of that folder(not nessicary because its not related to the problem but when you clear part of the cache you want to clear it all)

Hope that helped

Offline 68555

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Category error
« Reply #2 on: August 31, 2009, 02:51:06 PM »
Affraid not mate, but thanks for trying.

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Category error
« Reply #3 on: August 31, 2009, 03:07:10 PM »
can you paste your category.TPL page for me please

Offline 68555

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Category error
« Reply #4 on: August 31, 2009, 05:24:50 PM »
{include file="header.tpl"}
<div align="center">
<table border="0" align="center">
{section name=i loop=$cat step=4 max=6} <!--ROWS EG change max=???-->
    <tr align="center">
{section name=cat loop=$cat start=$smarty.section.i.index max=4}<!-- COLUMNS EG change max=??? to the ammount and step=??? to the same ammount-->
   <td align="center"><a href="index.php?cat={$cat[cat].id}">{$cat[cat].name}
<img border="0" width="153" height="120" src="{$cat[cat].picture}" {if $firefox eq "1"}class="reflect" alt="No Image Yet"{/if} />[/url]</td>
    {/section}
    </tr>
{/section}
</table>
</div>
{include file="footer.tpl"}

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Category error
« Reply #5 on: August 31, 2009, 07:20:11 PM »
it seems to be a firefox bug or something.....

code looks fine... and i tested it in IE and it looks fine.....

(remember firefox renders everything as its coded and IE doesnt) HAHA

so it might be somewhere in the core script somehow...(although its the template)

so right now all i can think of is creating your own theme.... if you need help i can create you a unique theme you name the price....

Offline FireDart

  • Project Leader
  • Pro Member
  • *****
  • Posts: 406
  • Karma: 4
    • View Profile
    • FireDart
Re: Category error
« Reply #6 on: September 01, 2009, 07:01:58 PM »
Works fine for me in FireFox.

I feel so bad, he's using my template, I must of coded wrong. :'(

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: Category error
« Reply #7 on: September 02, 2009, 12:10:48 AM »
Oooo... it does it in my firefox... :-P even after i clear everything....

Hmmmmm

hey it happens.... iv done it MANY times