Unexpected string -- non-programer
 
Balonar 2. maj 2009 14:35:44 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#1

Zdravo



Sicer sem proizvajalcem že postal problem, vendar je vikend in bom ziher na suhem do ponedeljka .. mailing rabim pa nujno :)



Updateal sem software in mi javlja error




Parse error: syntax error, unexpected ')' in domena/com/init-legacy.php on line 721




where line 721 says "irectory)) {" cel "kompletek" kode pa je spodaj


/**
* LoggedIn (Deprecated)
* @return Mixed No longer used
*/
function LoggedIn()
{
trigger_error('Session class is no longer being used, and will be deprecated in IEM the near future. Use IEM::getCurrentUser() methods instead.', E_USER_NOTICE);
return IEM::getCurrentUser();
}
}
irectory)) {
throw new Exception('Template directory does not exists');
}

$directory = $templateDirectory;
}

if (!is_dir($cache_directory)) {
if (!@mkdir($cache_directory)) {
throw new Exception('Cannot create template cache directory');
}
}

$tpl = new IEM_InterspireTemplate();
$tpl->SetLangFunction('GetLang');
$tpl->SetCachePath($cache_directory);
$tpl->SetTemplatePath($directory, 'tpl');
$tpl->SetCharacterSet(SENDSTUDIO_CHARSET);

return $tpl;
}

nisem programer in se mi ne sanja kje je kakšen oklepaj unexpected :)



Hvala lepa


všeč(0) ni všeč(0) spam(0)
 
Vini 2. maj 2009 14:44:51 Pridružen od:
1. sep 2006
6612 objav
5234 611 56
#2

Tole izgleda, kot da pol vrstice manjka :) Pa glede na indentation verjetno se kaj zraven...



Vsekakor počakaj na proizvajalca skripte...


všeč(0) ni všeč(0) spam(0)
 
Balonar 2. maj 2009 15:02:12 Pridružen od:
27. jan 2008
2350 objav
2609 255 41
#3

hvala lepa za hiter odgovor .. vem, da bo odgovor v ponedeljek, so ažurni .. bo pač mailing počakal do ponedeljka :)


všeč(0) ni všeč(0) spam(0)
 
cyman 2. maj 2009 18:45:03 Pridružen od:
20. dec 2008
545 objav
282 28 3
#4

EDIT: pozabi!


všeč(0) ni všeč(0) spam(0)
 
 

🔒 Za odgovor na to temo se moraš prijaviti.

Prijavi se