Autor Zpráva
error414-
Profil *
pouzivam na blogu texy,
kdyz vlozim odkaz tak to pise ze neexistuje jedna trida, tak se cely blog smaznul a nahral znovu, poprve to ulozilo odkaz a podruhe zase neexistujici trida, setkal se stim uz nekdo,
juneau
Profil
Neexistuje? Nepise to spis neco o nepovolene referenci nebo tak nejak? php4 to prekousne jako warning, php5 to zarizne jako fatal error... nebo to spise delalo.
error414-
Profil *
Fatal error: Call to undefined method TexyInlineTagElement::texyinlinetagelement() in /data/www/www_error414_com/include/modules/tm-link.php on line 263
juneau
Profil
mohly byste sem zkopirovat vasi konfiguraci texy! ? Tedy



$texy = new Texy();
$texy->utf = true;
...


Z te bych toho zjistil vic.
error414-
Profil *
zjistil jsem ze to zapricinilo kesovani na strane serveru

public function inicializace_texy()
{
include_once("include/modules/fshl/fshl.php");
include_once("include/modules/texy/texy.php");
$fshlPath = dirname(__FILE__).'/include/modules/fshl/';
$texyPath = dirname(__FILE__).'/include/modules/texy/';

/* nastaveni texy */
$this->texy = new Texy();
$this->texy->blockModule->codeHandler = 'myUserFunc';
$this->texy->imageModule->linkedRoot = 'file/';
$this->texy->imageModule->root = 'file/';
$this->texy->smiliesModule->allowed = 1;
$this->texy->smiliesModule->icons = Array(

":-)" => "emo-1.png",

">:->" => "emo-2.png",

":-P" => "emo-7.png",

'$$' => "emo-12.png",

':-(' => "emo-6.png",

'|-/' => "emo-4.png"

);

$this->texy->smiliesModule->root = 'obr/smajl/';


function myUserFunc(&$element)

{

$lang = strtoupper($element->lang);

if ($lang == 'JAVASCRIPT') $lang = 'JS';

if (!in_array(

$lang,

array('CPP', 'CSS', 'HTML', 'JAVA', 'PHP', 'JS', 'SQL'))

) return;



$parser = new fshlParser($element->texy->utf ? 'HTML_UTF8' : 'HTML', P_TAB_INDENT);

$element->setContent($parser->highlightString($lang, $element->content), true);

}

}
juneau
Profil
Takze uz to funguje... s impementaci do jinych red.systemu bych stejne neporadil.
Toto téma je uzamčeno. Odpověď nelze zaslat.

0