Ho tenuto sotto controllo il registro errori, e di tutti quelli citati nel primo post non vi è piu traccia.
Ora ho visto 2 errori (credo siano banali ma già che ci siamo....) che fanno riferimento a 2 file.
Il primo è:
8: Undefined index: manual_posting_Change_size
File: /.................../public_html/forum/Themes/default/Help.template.php
Riga: 1652Ho controllato questo file alla riga 1652, e ho trovato questo:
</select><br />
<select onchange="surroundText(\'[size=\'+this.options[this.selectedIndex].value+\']\', \'[/size]\', document.forms.postmodify.message); this.selectedIndex = 0;" style="margin-bottom: 1ex; margin-left: 2ex;">
<option value="" selected="selected">
', $txt['manual_posting_Change_size'], '
</option>
<option value="9pt">
', $txt['manual_posting_Change_Font_9'], 'Il secondo è:
8: Undefined offset: 1
File: /.................../public_html/forum/Sources/Subs.php
Riga: 1066Ho controllato questo file alla riga 1066 e ho trovato una modifica che avevo fatto tanto tempo fà (circa un anno fà) che mi è servita per aggiungere la funzione ed2k-stats accanto ai link di emule.
Questa modifica stà funzionando da sempre senza alcun problema, e comunque ieri mentre spulciavo SMF Italia ho visto che poco tempo fà un altro utente ha chiesto info in merito in
questo post e vedendo quello che gli hai detto ho avuto la conferma di aver fatto giusto.
Questa è la riga incriminata:
}
function link_from_a_ed2k ($m)
{
preg_match('/ed2k:\/\/\|file\|.+?\|.+?\|(.+?)\|.*/i', $m[0], $match);
$stats = ' <a href="http://ed2k.shortypower.org/?hash=' . $match[1] . '"><img src="http://www.mioforum.net/forum/Themes/default/images/stats.gif" alt="" /></a>';
$ed2k_img = '<img src="./ed2kfile/donkey.gif" alt="ed2k:" title="Edonkey Link" /> ';
return $ed2k_img .'<a href="' . $m[1] . '">' . $m[5] . '</a> (' . human_size($m[3]) . ')' . $stats;
}
function link_from_ed2k ($m)
{
preg_match('/ed2k:\/\/\|file\|.+?\|.+?\|(.+?)\|.*/i', $m[0], $match);
$stats = ' <a href="http://ed2k.shortypower.org/?hash=' . $match[1] . '"><img src="http://www.mioforum.net/forum/Themes/default/images/stats.gif" alt="" /></a>';
$ed2k_img = '<img src="./ed2kfile/donkey.gif" alt="ed2k:" title="Edonkey Link" /> ';
return $m[1] . $ed2k_img . '<a href="' . $m[2] . '">' . $m[3] . '</a> (' . human_size($m[4]) . ')' . $stats . $m[5];
}
// end of ed2k links functions Premeto che ho lasciato in
Disable template evaluation? la spunta come mi avevi detto.
Grazie mille in anticipo....