Small Subdomain Issue - Joomla! Forum - community, help and support


hello joomloids,

i have brief question i'm sure has gone though similar scenario , (as always) immensely appreciate assistance...

i attempting create 10 subdomains separate joomla sites , databases, translating our site 10 different languages. , before ask have assessed best route this. ;)

now - created subdomain copied files , databases on - no problem, except error on every page on subdomain site:

* @gnu general public license */ // no direct access defined('_jexec') or die('restricted access'); // register handler $mainframe->registerevent( 'onpreparecontent', 'plginserthtmleditorbutton' ); function plginserthtmleditorbutton( &$row, &$params, $page ) { global $mainframe; $pattern = '/\{html\}(.*?)\{\/html\}/i'; // match {html}...{/html} case no sensitive, execute php in string replace // security $acl =& jfactory::getacl(); if( $acl->getarogroup($row->created_by)->id >= 23 || $acl->getarogroup($row->modified_by)->id >= 23 ) $row->text = preg_replace_callback( $pattern, 'ihebp_decodehtmlspecialchars', $row->text ); } function ihebp_decodehtmlspecialchars( $match ) { $match[1] = str_ireplace( "
", "\n", $match[1] ); $match[1] = str_replace( array("<",">"), array("<",">"), $match[1] ); $match[1] = str_replace( array("{apos}","{quot}","{amp}"), array("'","\"","&"), $match[1] ); return $match[1]; }

any ideas?

thank in advance,
dan

well removed inserthtmlcore.php code directory , worked, meaning error gone.

but question why happen?

cheers,
dan





Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい