function load_template( $name, $id='' )
{
global $ibforums, $DB;
$tags = 1;
if ($ibforums->vars['safe_mode_skins'] == 0)
{
// Simply require and return
->->-> LINHA 611
require ROOT_PATH."Skin/".$ibforums->skin_id."/$name.php";
return new $name();
}
else
{
// We're using safe mode skins, yippee
// Load the data from the DB
Pergunta
Guest Navy
Ao terminar a instalacao do invisionboard 1.3 o seguinte erro é exibido:
Parse error: parse error in /home/navytuning.com/www/forums/Skin/s1/skin_global.php on line 287
Fatal error: Cannot instantiate non-existent class: skin_global in /home/navytuning.com/www/forums/sources/functions.php on line 611
não sei mais o que fazer
ai vai os trechos dos arquivos para análise:
arquivo: skin_global.php
<html> <head> <title>{$ibforums->lang['stand_by']}</title> <meta http-equiv='refresh' content='2; url=$Url' /> <script type="text/javascript"> </script> $css </head> <body> <table width='100%' height='85%' align='center'> <tr> <td valign='middle'> <table align='center' cellpadding="4" class="tablefill"> <tr> <td width="100%" align="center"> {$ibforums->lang['thanks']}, $Text<br /><br /> {$ibforums->lang['transfer_you']}<br /><br /> (<a href='$Url'>{$ibforums->lang['dont_wait']}</a>) </td> </tr> </table> </td> </tr> </table> ->->->LINHA 287 </body> </html>e arquivo functions.phpfunction load_template( $name, $id='' ) { global $ibforums, $DB; $tags = 1; if ($ibforums->vars['safe_mode_skins'] == 0) { // Simply require and return ->->-> LINHA 611 require ROOT_PATH."Skin/".$ibforums->skin_id."/$name.php"; return new $name(); } else { // We're using safe mode skins, yippee // Load the data from the DBLink para o comentário
Compartilhar em outros sites
1 resposta a esta questão
Posts Recomendados
Participe da discussão
Você pode postar agora e se registrar depois. Se você já tem uma conta, acesse agora para postar com sua conta.