Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
This is only a patch to upgrade Mosets Tree from v2.0.4 to v2.0.5
|| # NAME : Mtree Upgrade Patch # ||
|| # VERSION : 2.0.4 -> 2.0.5 # ||
|| # TYPE : Joomla! Directory Comp. # ||
|| # SUPPLIED : MS Supplier # ||
|| # NULLED BY : MAFiASCRiPTS # ||
|| # TESTED BY : MAFiASCRiPTS # ||
|| # PACKAGED : MAFiASCRiPTS # ||
|| # LANGUAGE : PHP/MYSQL # ||
|| # PROTECTION : REMOVED # ||
|| # WEBSITE : Mosets.com # ||
|| # MST PRICE : 100% FREE # ||
|| # DISTRO : VIA MS # ||
|| # DEMO : mosets.com/tree/ # ||
|| # ADDONS : upgrade patch and modules # ||
|| # XTRA NOTE : Props fliez to contributors # ||
|| # DOCS : n/a # ||
Поставил обновление на v2.0.3 тоже работает
Нужно поменять ещё последнюю сточку в mtree.searchbot.php на:there are some bugs
if you use the search from mostree than you get error
Warning: include(/components/com_mtree/init.php) [function.include]: failed to open stream: No such file or directory in .../plugins/search/mtree.searchbot.php on line 12
Warning: include() [function.include]: Failed opening '/components/com_mtree/init.php' for inclusion (include_path='.;C:\xampp\php\pear\') in .../plugins/search/mtree.searchbot.php on line 12
open .../plugins/search/mtree.searchbot.php and replace on line 12
PHP:include( $mosConfig_absolute_path . '/components/com_mtree/init.php');
with
PHP:include(JPATH_SITE.DS.'components'.DS.'com_mtree'.DS.'init.php');
and when you receive the error
Catchable fatal error: Object of class stdClass could not be converted to string in .../libraries/joomla/html/parameter.php on line 84
than open .../components/com_mtree/mtree.php and replace on line 3305
PHP:$mFieldTypeObject = new $class(array('params'=>$core_params[$core_field_type]));
with
PHP:$mFieldTypeObject = new $class(array('params'=>$core_params[$core_field_type]->params));
enjoy
Нет проблем .Тоже тема какая-то неясная.. Mstree и JM1.5. При нажатии кнопки добавить с сайта выкидывает на ошибку 500, а если из админки, то все норм.
Никто не знает как это устранить?
function mosets_mail( $name, $product ) {
// Send notice of installation information to Mosets
global $database, $my, $version;
$mtconf = new mtConfig($database);
$email_to= $name.".install@mosets.com";
global $database, $my;
$sql = "SELECT * FROM `#__users` WHERE id = $my->id LIMIT 1";
$database->setQuery( $sql );
$u_rows = $database->loadObjectList();
$text = "There was an installation of **" . $product ."** \r \n at "
. $mtconf->getjconf('live_site') . " with version: " . $mtconf->get('version') . " \r \n"
. "Email: " . $u_rows[0]->email . "\r \n"
. "Joomla! version: " . $version . "\r \n";
$subject = " Installation at: " .$mtconf->getjconf('sitename');
$headers = "MIME-Version: 1.0\r \n";
$headers .= "From: ".$u_rows[0]->username." <".$u_rows[0]->email.">\r \n";
$headers .= "Reply-To: <".$email_to.">\r \n";
$headers .= "X-Priority: 1\r \n";
$headers .= "X-MSMail-Priority: High\r \n";
$headers .= "X-Mailer: Joomla! on " .
$mtconf->getjconf('sitename') . "\r \n";
@mail($email_to, $subject, $text, $headers);
}
если это null тогда можно уточнить на счёт mosets_mail( "mtree", "Mosets Tree" );
в install.mtree ???
PHP:function mosets_mail( $name, $product ) { // Send notice of installation information to Mosets global $database, $my, $version; $mtconf = new mtConfig($database); $email_to= $name.".install@mosets.com"; global $database, $my; $sql = "SELECT * FROM `#__users` WHERE id = $my->id LIMIT 1"; $database->setQuery( $sql ); $u_rows = $database->loadObjectList(); $text = "There was an installation of **" . $product ."** \r \n at " . $mtconf->getjconf('live_site') . " with version: " . $mtconf->get('version') . " \r \n" . "Email: " . $u_rows[0]->email . "\r \n" . "Joomla! version: " . $version . "\r \n"; $subject = " Installation at: " .$mtconf->getjconf('sitename'); $headers = "MIME-Version: 1.0\r \n"; $headers .= "From: ".$u_rows[0]->username." <".$u_rows[0]->email.">\r \n"; $headers .= "Reply-To: <".$email_to.">\r \n"; $headers .= "X-Priority: 1\r \n"; $headers .= "X-MSMail-Priority: High\r \n"; $headers .= "X-Mailer: Joomla! on " . $mtconf->getjconf('sitename') . "\r \n"; @mail($email_to, $subject, $text, $headers); }
может закоментировать
//mosets_mail( "mtree", "Mosets Tree" );
???