Input:
set VAGRANT_LOG=debug
vagrant up
Output:
INFO synced_folders: Invoking synced folder prepare for: smb
INFO interface: output: Preparing SMB shared folders...
INFO interface: output: ==> default: Preparing SMB shared folders...
D:\development\vagrant\puphpet>vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'debian-wheezy72-x64-vbox43'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: puphpet_default_1395615581257_62562 | |
==> default: Preparing SMB shared folders... | |
default: You will be asked for the username and password to use for the SMB | |
default: folders shortly. Please use the proper username/password of your | |
default: Windows account. | |
default: |
INFO synced_folders: Invoking synced folder prepare for: smb | |
INFO interface: output: Preparing SMB shared folders... | |
INFO interface: output: ==> default: Preparing SMB shared folders... | |
==> default: Preparing SMB shared folders... | |
INFO interface: detail: You will be asked for the username and password to use for the SMB | |
folders shortly. Please use the proper username/password of your | |
Windows account. | |
INFO interface: detail: default: You will be asked for the username and password to use for the SMB | |
default: folders shortly. Please use the proper username/password of your |
Input:
set VAGRANT_LOG=debug
vagrant up
Output:
INFO synced_folders: Invoking synced folder prepare for: smb
INFO interface: output: Preparing SMB shared folders...
INFO interface: output: ==> default: Preparing SMB shared folders...
Open app/code/community/Ebizmarts/MageMonkey/Helper/Data.php
and search for
$last_order = Mage::getResourceModel('sales/order_collection')
->addFieldToFilter('customer_email', $customer->getEmail())
->addFieldToFilter('state', array('in' => Mage::getSingleton('sales/order_config')->getVisibleOnFrontStates()))
->setOrder('created_at', 'desc')
->getFirstItem();
and replace it with
<?xml version="1.0"?> | |
<config> | |
<modules> | |
<Emzee_Sorter> | |
<active>true</active> | |
<codePool>community</codePool> | |
<depends></depends> | |
</Emzee_Sorter> | |
</modules> | |
</config> |
I was just playing around with CE 1.8 and tested how many of the more important modules (catalog, checkout, sales, ...) you can deactivate without running into apparent problems. Turns out: pretty much all of them.
I'll put the list of my deactivated modules here just in case I want to move my blog from WordPress to Magento sometime. :P
This would be a healty base for general purpose websites. If you want you could disable even more modules.
Colins tweet made me curious so I also did a dumb test with CE 1.7.0.2 and CE 2.0.0.0-dev45.
I kept it simple:
--- a/app/code/core/Mage/Core/Model/App.php | |
+++ b/app/code/core/Mage/Core/Model/App.php | |
@@ -511,11 +511,7 @@ class Mage_Core_Model_App | |
if ($this->_currentStore == $store) { | |
$store = $this->getStore($store); | |
- if ($store->getWebsite()->getDefaultStore()->getId() == $store->getId()) { | |
- $this->getCookie()->delete(Mage_Core_Model_Store::COOKIE_NAME); | |
- } else { | |
- $this->getCookie()->set(Mage_Core_Model_Store::COOKIE_NAME, $this->_currentStore, true); |
<?php | |
$input = new StringInput('cache:flush'); | |
// ensure that n98-magerun doesn't stop after first command | |
$this->getApplication()->setAutoExit(false); | |
// without output | |
$this->getApplication()->run($input, new NullOutput()); |
<?php | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) | |
* that is bundled with this package in the file LICENSE.txt. | |
* It is also available through the world-wide-web at this URL: | |
* http://opensource.org/licenses/osl-3.0.php |