Fatal error: Uncaught Error: Function name must be a string in app/code/core/Mage/Core/Model/Layout.php:555

This is because you need to clarify the `$callback` variable will be called as a method (function). The original bit of code was: (file app/code/core/Mage/Core/Model/Layout.php) Now you need to replace it with this with: 1 $out .= $this->getBlock($callback0)->{$callback1}(); Don’t edit the files directly – instead create a separate extension which overrides Mage_Core_Model_Layout with your own model. If that isn’t to …

Continue Reading

How to disable compilation in Magento

It can be done by two: 1. From Magento admin Navigate to System > Tools > Compilation page and click on Disable button Navigate to System > Cache Management screen and use Flush Cache button. 2. Via SFTP/FTP, by editing the includes/config.php file To disable compilation in Magento, edit includes/config.php. #define(‘COMPILER_INCLUDE_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’src’); define(‘COMPILER_COLLECT_PATH’, dirname(__FILE__).DIRECTORY_SEPARATOR.’stat’);

Continue Reading

please enter a valid url. protocol is required (http // https // or ftp //) in magento instaltion

For this you need to remove the validation for the particular section. 1. Open \app\design\install\default\default\template\install\config.phtml 2. Find the textbox where the base url is entered. It will be around line no 85 with name ‘configunsecure_base_url‘ 3.  Remove ‘validate-url’ from its class and save the file. Replace <li> <label for=”base_url”><?php echo $this->__(‘Base URL’) ?> <span class=”required”>*</span></label><br /> <input type=”text” name=”configunsecure_base_url” id=”base_url” …

Continue Reading