Blog: Extra-ordinary

XAMPP, Apache – Error: Apache shutdown unexpectedly

10:53:47 PM  Apache     Error: Apache shutdown unexpectedly. 10:53:47 PM  Apache     This may be due to a blocked port, missing dependencies, 10:53:47 PM  Apache     improper privileges, a crash, or a shutdown by another method. 10:53:47 PM  Apache     Press the Logs button to view error logs and check 10:53:47 PM  Apache     the Windows Event Viewer for more …

Continue Reading

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

What is Bash Script?

Bash (Bourne-Again SHell) is a Linux and Unix-like system shell or command language interpreter.Bash scripts an extension of .sh (an.sh for example). Bash is useful when most of what you’re doing is communicating and piping between various programs (many of which are also standard). And there are many environments where bash (or at least a POSIX shell) is available but …

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

RAID 0, RAID 1, RAID 5, RAID 10 Explaination

RAID stands for Redundant Array of Inexpensive (Independent) Disks. Please check following levels of RAIDs. RAID 0 – Striping RAID 1 – Mirroring RAID 5 – striping with parity RAID 10 (also known as RAID 1+0) – combining mirroring and striping RAID level 0 – Striping …………………… Minimum 2 disks. Excellent performance ( as blocks are striped ). No redundancy …

Continue Reading

what is active partition?

An active partition basically means that the computer will boot from this partition. We can say this is the bootable partition that contains the operating system. Only one partition on each hard drive can be set as an active partition or bootable partition. For example, if you are using Microsoft Windows the partition that contains Windows is the active partition.

Continue Reading