Parse error

Detta är ett arkiv för phpBB2 Support, Diskussion, MODar, Stilar och översättningar. Den tillhandahålls endast för referensändamål.

Moderatorer: Moderatorgrupp, Supportgrupp

GustaFsson
Ny medlem
Ny medlem
Inlägg: 3
Blev medlem: 2004-10-06 16:13
Svar: 0

Parse error

Inlägg av GustaFsson »

Har ett litet fel här, när jag ska trycka på någon profil i t.ex. medlemslistan så får jag detta felmeddelande, jag har försökt rätta till det ett bra tag nu så nu ber jag om hjälp istället
Parse error: parse error, unexpected '}' in d:\wwwroot\users\web_gustafsson\gustafsson.webhosting.tant102.mine.nu\fbu_hv\includes\template.php(119) : eval()'d code on line 33
Någon som vet?
Användarens profilbild
PazZze
Support
Support
Inlägg: 1028
Blev medlem: 2004-05-10 10:19
Svar: 0
Ort: Stockholm

Inlägg av PazZze »

det verkar som om det hittade en oförvänad symbol } tror du måste lyckats peta dit en sådan. (eller tagit bor om jag är gissar helt fel :roll:)
Joel PazZze Martinsson - phpBB Sverige Support
Användarens profilbild
Holger
Support - Ledare
Support - Ledare
Inlägg: 6554
Blev medlem: 2004-06-09 08:32
Svar: 1
Ort: Hannover/Tyskland
Kontakt:

Inlägg av Holger »

Posta din template.php fil här så tar vi oss en titt.
Har du installerat ngn modd som medförde ändringar i template.php?
Holger Gremminger
Ingen support via PM!
GustaFsson
Ny medlem
Ny medlem
Inlägg: 3
Blev medlem: 2004-10-06 16:13
Svar: 0

Inlägg av GustaFsson »

har dessa moddar installerade
smartor album
ezportal
rank in memberlist
admin userlist 202
userlist
Stop Author View Increase


Line 33: (är nog inge fel med den så jag fattar inte varför det stog "on line 33")
// Hash of filenames for each template handle.
/**
* Load the file for the handle, compile the file,
* and run the compiled code. This will print out
* the results of executing the template.
*/
function pparse($handle)
{
if (!$this->loadfile($handle))
{
die("Template->pparse(): Couldn't load template file for handle $handle");
}

// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}

// Run the compiled code.
<!--här är line 119--> eval($this->compiled_code[$handle]);
return true;
}
GustaFsson
Ny medlem
Ny medlem
Inlägg: 3
Blev medlem: 2004-10-06 16:13
Svar: 0

Inlägg av GustaFsson »

GustaFsson skrev:har dessa moddar installerade
smartor album
ezportal
rank in memberlist
admin userlist 202
userlist
Stop Author View Increase
newsmod203


Line 33: (är nog inge fel med den så jag fattar inte varför det stog "on line 33")
// Hash of filenames for each template handle.
/**
* Load the file for the handle, compile the file,
* and run the compiled code. This will print out
* the results of executing the template.
*/
function pparse($handle)
{
if (!$this->loadfile($handle))
{
die("Template->pparse(): Couldn't load template file for handle $handle");
}

// actually compile the template now.
if (!isset($this->compiled_code[$handle]) || empty($this->compiled_code[$handle]))
{
// Actually compile the code now.
$this->compiled_code[$handle] = $this->compile($this->uncompiled_code[$handle]);
}

// Run the compiled code.
<!--här är line 119--> eval($this->compiled_code[$handle]);
return true;
}
Skriv svar

Vilka är online

Användare som besöker denna kategori: 11 och 0 gäster