Seite 1 von 1

Parse error: parse error in /var/www/board/includes/template

Verfasst: 14.05.2004 10:32
von steerk228
Hallo wenn im board jemand pms verschickt bekommt der empfänger folgenden fehler

Code: Alles auswählen

Parse error: parse error in /var/www/board/includes/template.php(127) : eval()'d code on line 80
installierte mods

attachment mod
portal mod von asws
und news mod
chronicles style

ich denke mal das der teil für die pms ist

Code: Alles auswählen

      /**
	 * 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.
		eval($this->compiled_code[$handle]);
		return true;
	}

Verfasst: 14.05.2004 11:12
von Markus67
Hi ...

Hast du mal den Link zu deinem Board .... Der Fehler liegt in einer tpl-Datei ....

Dein Fehler ist analog zu dem hier zu sehen ....
http://www.phpbb.de/topic53016.html

Markus

Verfasst: 14.05.2004 12:49
von steerk228

Verfasst: 14.05.2004 13:19
von Markus67
Hi ...

Erstelle eine Sicherungskopie von deiner prvmsgs_body.tpl

suche und lösche :

Code: Alles auswählen

<!--    	OLD GAUGE CODE HERE!

			<table cellspacing="0" cellpadding="1" border="0">
			  <tr> 
				<td bgcolor="{T_TD_COLOR2}"><img src="templates/Chronicles/images/spacer.gif" width="{INBOX_LIMIT_IMG_WIDTH}" height="8" alt="{INBOX_LIMIT_PERCENT}" /></td>
			  </tr>
			</table>
-->

Markus

Verfasst: 14.05.2004 17:57
von steerk228
hab ich gemacht funzt aber leider nicht immer noch selber fehler ...

Verfasst: 14.05.2004 18:17
von steerk228
... habs gefunden nach ner stunde suchen aber war in der datei auch ...

da fehlte nen < vorm begin :( naja aber hast mich in die richtige richtung geleitet thx