Hello Friends,
Joomla update from 2.5.x to 3.x.x
Sites update from joomla 2.5.X to 3.X.X here is list of some errors with solutions.
-----------------------------------------------------------------------------------------------------------------------
Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in serive/templates/yoo_infinite/warp/systems/joomla/layouts/com_content/article/default.php on line 13
Line 54 reads:
$menus = JSite::getMenu();
But it should be:
$menus = $app->getMenu();
If $app is not defined before please define app before calling.
$app = JFactory::getApplication();
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to a member function isAdmin() on a non-object in serive/plugins/system/remember/remember.php on line 42
replace serive/plugins/system/remember/remember.php
with old remember.php [old means old versions of your project in 2.5.X before start update]
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to a member function getInt() on a non-object in serive/administrator/components/com_postinstall/models/messages.php on line 37
need to fof folder copy.
replace a serive/libraries/fof folder
with latest version which you install.like Joomla_3.3.0-Stable-Update_Package.zip
Warning: DOMDocument::loadHTML(): Invalid char in CDATA 0xC in Entity, line: 2 in serive/templates/yoo_infinite/warp/helpers/dom.php on line 44
@$dom->loadHTML($input);
// $dom->loadHTML($input);
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to undefined method InvalidArgumentException::get() in serive/templates/yoo_infinite/error.php on line 20
OLD
//$error = $this->error->get('code');
//$message = $this->error->get('message');
NEW
$error = $this->error->getCode();
$message = $this->error->getMessage();
-----------------------------------------------------------------------------------------------------------------------
JHtmlBehavior::mootools not found.
Somewhere in your template, you are using:
JHtml::_('behavior.mootools');
or
JHtmlBehavior::mootools();
but this code is no longer supported in Joomla 3.x and it has been removed. It should be replaced with something like:
JHtml::_('behavior.framework');
-----------------------------------------------------------------------------------------------------------------------
Notice: Use of undefined constant DS - assumed 'DS' in serive/modules/mod_jvbingtranslator/tmpl/flag.php on line 13
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
-----------------------------------------------------------------------------------------------------------------------
Joomla update from 2.5.x to 3.x.x
Sites update from joomla 2.5.X to 3.X.X here is list of some errors with solutions.
-----------------------------------------------------------------------------------------------------------------------
Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in serive/templates/yoo_infinite/warp/systems/joomla/layouts/com_content/article/default.php on line 13
Line 54 reads:
$menus = JSite::getMenu();
But it should be:
$menus = $app->getMenu();
$app = JFactory::getApplication();
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to a member function isAdmin() on a non-object in serive/plugins/system/remember/remember.php on line 42
replace serive/plugins/system/remember/remember.php
with old remember.php [old means old versions of your project in 2.5.X before start update]
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to a member function getInt() on a non-object in serive/administrator/components/com_postinstall/models/messages.php on line 37
administrator/index.php?option=com_installer&view=manage
see it working admin panel then follow next step.need to fof folder copy.
replace a serive/libraries/fof folder
with latest version which you install.like Joomla_3.3.0-Stable-Update_Package.zip
-----------------------------------------------------------------------------------------------------------------------
Warning: DOMDocument::loadHTML(): Invalid char in CDATA 0xC in Entity, line: 2 in serive/templates/yoo_infinite/warp/helpers/dom.php on line 44
@$dom->loadHTML($input);
// $dom->loadHTML($input);
-----------------------------------------------------------------------------------------------------------------------
Fatal error: Call to undefined method InvalidArgumentException::get() in serive/templates/yoo_infinite/error.php on line 20
OLD
//$error = $this->error->get('code');
//$message = $this->error->get('message');
NEW
$error = $this->error->getCode();
$message = $this->error->getMessage();
-----------------------------------------------------------------------------------------------------------------------
JHtmlBehavior::mootools not found.
Somewhere in your template, you are using:
JHtml::_('behavior.mootools');
or
JHtmlBehavior::mootools();
but this code is no longer supported in Joomla 3.x and it has been removed. It should be replaced with something like:
JHtml::_('behavior.framework');
-----------------------------------------------------------------------------------------------------------------------
Notice: Use of undefined constant DS - assumed 'DS' in serive/modules/mod_jvbingtranslator/tmpl/flag.php on line 13
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
-----------------------------------------------------------------------------------------------------------------------
For more details mail me on nelson.desai@gmail.com or comments here.
--
Thank You
Nelson Desai
1 comments:
goruntulu show
ücretli
VUHKU
Post a Comment