erro com editor.php line 268

Mais
15 anos 6 meses atrás #28213 por brunodyjorge
brunodyjorge replied the topic: Re: erro com editor.php line 268
Para quem estiver com o mesmo erro, faça o seguinte:

Vá até o arquivo 'libraries\joomla\html\editor.php', procure o bloco abaixo (próximo a linha 268) e troque:
// Try to authenticate -- only add to array if authentication is successful
			$resultTest = $plugin->onDisplay($editor);
			if ($resultTest) $result[] =  $resultTest;
		}
Por este:
// Try to authenticate -- only add to array if authentication is successful
				if (method_exists($plugin, 'onDisplay'))
				$result[] = $plugin->onDisplay($editor);
			}
Postei assim, pois fiquei meio confuso com o modo que o poimen postou acima.

Mas saber resolver, às vezes não basta, temos que conhecer o problema. Assim pergunto, alguém sabe o que aconteceu, o porque acontece este erro?

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 6 meses atrás #29403 por srmonserratt
srmonserratt replied the topic: Re: erro com editor.php line 268
Testei o código e funcionou!

Muito obrigado!!!

[img:144lqw3w]http://www.joomlaclube.com.br/site/img/images/4365.jpg[/img:144lqw3w]

Please Entrar ou Registrar to join the conversation.

Mais
15 anos 3 meses atrás #34533 por shitao
shitao replied the topic: Re: erro com editor.php line 268
No meu joomla ocorreu após a instalação do Joomla SEO, antes estava ok, mais após adcionar as tags e depois tentar criar ou alterar um topico ocorreu o erro

Please Entrar ou Registrar to join the conversation.

Mais
14 anos 10 meses atrás #41365 por renesarli
renesarli replied the topic: Re: erro com editor.php line 268

brunodyjorge escreveu: Para quem estiver com o mesmo erro, faça o seguinte:

Vá até o arquivo 'libraries\joomla\html\editor.php', procure o bloco abaixo (próximo a linha 268) e troque:

// Try to authenticate -- only add to array if authentication is successful
			$resultTest = $plugin->onDisplay($editor);
			if ($resultTest) $result[] =  $resultTest;
		}
Por este:
// Try to authenticate -- only add to array if authentication is successful
				if (method_exists($plugin, 'onDisplay'))
				$result[] = $plugin->onDisplay($editor);
			}
Postei assim, pois fiquei meio confuso com o modo que o poimen postou acima.

Mas saber resolver, às vezes não basta, temos que conhecer o problema. Assim pergunto, alguém sabe o que aconteceu, o porque acontece este erro?



Grande Bruno!!!! Me salvou. Valeu cara!!!

Please Entrar ou Registrar to join the conversation.

Mais
14 anos 9 meses atrás #42256 por drigopaz
drigopaz replied the topic: Re: erro com editor.php line 268
Parabéns e muito obrigado, Bruno dy Jorge, sua dica foi de grande valia. Por isso considero o Joomla Clube o melhor Fórum em Joomla.

Solus Christus, Soli Deo gloria!!!
[b:4vzqcg7r]Rodrigo Sousa[/b:4vzqcg7r]
Oficina Digital Web
<!-- w --><a class="postlink" href=" www.oficinadigitalweb.com.br " onclick="window.open(this.href);return false;"> www.oficinadigitalweb.com.br </a><!-- w -->
Digno é o trabalhador do seu salário" (Lucas 10.7)
"o...

Please Entrar ou Registrar to join the conversation.