Jump to content

Problema Ipb The Moderating Team: Catchable Fatal Error


Recommended Posts

Posted

Am o mare problema.. am un forum IPB .. si incerc sa fac sa functioneze butonu` pt echipa de moderare (The Moderating Team) .. Versiunea este Ip.Board 3.3.4 ..

Apare cam asa cand apas pe buton: "Catchable fatal error: Object of class ipsRegistry could not be converted to string in /home/xstrikep/public_html/cache/skin_cache/cacheid_59/skin_stats.php on line 93" ... Ideea este ca am inlocuit acest link:

<li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$this->registry->class_forums->forum_by_id[ $id ]['name_seo']"}">{$name}</a></li>

cu acesta:

<php>$seoName = $this->registry->class_forums->forum_by_id[$id]['name_seo'];</php>
                                <li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$seoName"}">{$name}</a></li>

Dar tot nu merge.. am intrat Tema-> Templates-> Statistics-> Groupstrip .. am schimbat de acolo.. dar in zadar.. eroarea tot apare.. Ce imi recomandati?

  • Moderators
Posted

Incearca sa modifici cu

<php>seotitle="{$this->registry->class_forums->forum_by_id[ $id ]['name_seo']}";</php>
                                <li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$seoName"}">{$name}</a></li>
  • Upvote 1
Posted

There is a syntax error in the template, usually caused by PHP code not properly formed.  Please correct the error and hit save again

Posted

Daca primim aceasta eroare :

Catchable fatal error: Object of class ipsRegistry could not be converted to string in /srv/www/otakuboards.com/public_html/cache/skin_cache/cacheid_1/skin_stats.php on line 93 Inseamna ca IPB-ul nostru are un bug si trebuie rezolvat. Ca sa il rezolvati mergeti in tema dvs. -> templates -> statistics -> group strip si cautati :

<li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$this->registry->class_forums->forum_by_id[ $id ]['name_seo']"}">{$name}</a></li>

Il vom inlocui cu codul de mai jos:

 

<php>$seoName = $this->registry->class_forums->forum_by_id[$id]['name_seo'];</php>
                                                             <li><a href="{parse url="showforum={$id}" base="public" template="showforum" seotitle="$seoName"}">{$name}</a></li>

Apoi, o stergere de cache la browser/forum si totul este rezolvat !

  • Upvote 1

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.