Wednesday, August 14, 2013
PHP Extensions "0" must be loaded.
It appears that one of the configuration XML files, namely magento/app/code/core/Mage/Install/etc/config.xml isn't parsed correctly by PHP 5.4
To fix this error, open above file and replace
<extensions>
<pdo_mysql/>
</extensions>
with
<extensions>
<pdo_mysql>1</pdo_mysql>
</extensions>
Now, you will be able to proceed the installation.
To fix this error, open above file and replace
<extensions>
<pdo_mysql/>
</extensions>
with
<extensions>
<pdo_mysql>1</pdo_mysql>
</extensions>
Now, you will be able to proceed the installation.
Session management in Magento
To set the value of Magento session variable:
$theValue = 'Bhavana';
Mage::getSingleton('core/session')->setMySessionvariable($theValue);
You can retrieve the value of session variable as following:
Mage::getSingleton('core/session')->getMySessionvariable();
To unset the value of session variable:
Mage::getSingleton('core/session')->unsMySessionvariable();
$theValue = 'Bhavana';
Mage::getSingleton('core/session')->setMySessionvariable($theValue);
You can retrieve the value of session variable as following:
Mage::getSingleton('core/session')->getMySessionvariable();
To unset the value of session variable:
Mage::getSingleton('core/session')->unsMySessionvariable();
Subscribe to:
Posts (Atom)
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method... magento 2
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining met...
-
Fatal error: Class Zend\Stdlib\Parameters contains 1 abstract method and must therefore be declared abstract or implement the remaining met...
-
The Frontend Properties is used to specify how an attribute can be used in your store. Properties Description Use In Quick Sear...