We’re rewarding the question askers & reputations are being recalculated! Read more.
11

I have temporarily implemented this solution: Copy app/code/core/Mage/Wishlist/Block/Customer/Wishlist/Item/Options.php to app/code/local/Mage/Wishlist/Block/Customer/Wishlist/Item/Options.php and replace function getTemplate() line 104 - 123 with this code: /** * Retrieve block template * * @return string */ public function getTemplate() { $...


7

I had the same issue, and beside clearing the cache, I had to set folder permissions on /var and subdirectories to 777 (don't worry, the .htaccess file in /var prevents everything to be "human" readable).


6

The Magento Connect Manager (System > Magento Connect > Magento Connect Manager) provides a nice way to upgrade - click the "check for upgrades" option, then select the latest version of Mage_All_Latest. After that you can pick and choose which non-core modules to update as well. Surely lots of people are aware of this option, so why is it that nobody seems ...


6

Take a Code backup as well as DB backup before upgrade. Use SSH to upgrade. Follow below steps to upgrade.. Open a command terminal. Go to your Magento directory by cd command like cd /var/www/yourmagento/ & run below commands step by step... chmod -R 755 lib/PEAR chmod 550 pear ./pear mage-setup ./pear channel-update connect.magentocommerce.com/core ...


6

I asked Piotr Kaminski (Magento product manager) on Twitter: @piotrekkaminski For B2B customers you create tax rates with a 0% rate. That's not possible anymore in CE 1.8 (see Can't set 0% tax rate …). His response was: @mzeis oh I think this will be fixed in next version, will try to check So it seems that this behaviour (introduced in CE 1.8.0....


6

Mage_Page_Block_Html_Toplinks is indeed deprecated since 1.4.0.1. The new block for adding links is now Mage_Page_Block_Template_Links, which also holds a addLink method. If you check the page.xml you will notice the new block within the header block: <block type="page/template_links" name="top.links" as="topLinks"/>. So the functionality stays the ...


5

Looking at line 165 #File: app/code/core/Mage/Core/Controller/Varien/Front.php $this->_getRequestRewriteController()->rewrite(); The method _getRequestRewriteController should return an object. For some reason, it's not returning an object in your system. Taking a look at that method definition, we see the following protected function ...


5

The sales_order table and other tables related to sales are dropped in the upgrade script that changes the structure of the sales entities from EAV to flat. The actual file is: app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-1.3.99-1.4.0.0.php. Near the end of the file there is this code: // Remove previous tables $tablesToDrop = array( '...


4

And awesome-but-non-obvious events strike again! Both of your use cases involve user requests. There are always two unique events for actions. The sequence of method calls in a typical dispatch is as follows: Mage_Core_Controller_Varien_Action::dispatch() ::preDispatch() (the action) ::postDispatch() The automagic events are called in this action ...


4

I prefer to use Mage::helper('somehelper')->__('...') because that way I'm sure the translation is done using the specified language file. You can avoid issues in this case when you rewrite core classes. Let's say for example you rewrite some block from the catalog module. If you use in your new block $this->__() then Magento will try to use the ...


4

One possible option would be to create an observer that listens to the event controller_action_layout_generate_blocks_after. It would need to check that the action is only the one you desire and and then it could add the class if the user is logged in if ($root = $this->getLayout()->getBlock('root')) { $root->addBodyClass('logged-in'); } The ...


4

As suggested by 7ochem and Adarsh Khatri I am writing my answer, The path to your observer Model is wrong. It should be, app/code/community/Atwix/Orderhook/Model/Observer.php Thanks,


3

sales_order is an old table from the EAV olden days (<=1.3.2.4CE/1.8EE) of the sales module. This may be evidence of an upgrade gone awry. To my knowledge getTable should always return sales_flat_order after 1.4CE. Check to make sure that the Mage_Sales module is correctly installed, all upgrade scripts are in place, and that the config.xml file lists ...


3

Wow, quite the delta for that class from 1.7.0.2 -> 1.8.0.0! Whereas there are substantial changes this class, and that this is "breaking behavior", it should be considered a bug and should be submitted to EE support. There is nothing exceptionally novel or edgy about this previously-valid functionality, and even in a minor version update breaking changes ...


3

Catalog rules are applied by cron every day for current day. In CatalogRule extension cron is set to 1:00 am. But in 1.8 this task is sheduled some hours earlier (depending on your time zone). I have not found reason for this now, but you can to chage cron start later in file /app/code/core/Mage/CatalogRule/etc/config.xml from <cron_expr>0 1 * * *...


3

The timezone select is rendered by the method Mage_Install_Block_Locale::getTimezoneSelect() that looks like this: public function getTimezoneSelect() { $html = $this->getLayout()->createBlock('core/html_select') ->setName('config[timezone]') ->setId('timezone') ->setTitle(Mage::helper('install')->__('Time Zone'...


3

Community Edition In the old version (CE 1.7.0.2) magento hashed passwords with md5 and a 2 char salt. No iterations, just one hashing. With 1.8 the method changed ... a little bit. They changed the salt lentgh from 2 to 32. The method is still bad. Enterprise Edition The enterprise edition does nearly the same. The difference is (before 1.13!) they use ...


3

You can create the install script using the resource name dwi_customer_setup. In this case the upgrade scripts go under inside the folder sql/dwi_customer_setup of your extension. This way you avoid the collision with the customer_setup resource. In config.xml add the tag and changed version to 1.0.2.: <global> <resources> <...


2

I tried to follow the explanation by @AlanStorm, but ultimately found it was a caching issue. I just had to rm -rf * all the files in ~/public_html/var/cache and I found that the site loaded correctly.


2

If you have a cache server like memcached try to restart it as well. I had the same issue and I resolved this way.


2

Clear redis cache; redis-cli FLUSHALL Its solved problem.


2

Delete file from local folder (or rename it to keep changes if you need them). Magento will use original file and there will be no error more. /app/code/local/Mage/Catalog/Model/Category.php


2

touch maintenance.flag - Set exception for you IP Address! Make a full backup of both site and database If you can, test your upgrade on your local rsync all the 1.8CE files into your application.- It would help to have GIT or SVN installed so you can track files Run update test - remove flag Upgrade should take less than one minute


2

A tab does not appear if you don't have sections in it (most probably). Add a section with at least a group and a field in it. [EDIT] Here is my system.xml that worked: <?xml version="1.0"?> <config> <tabs> <test_module translate="label" module="test_module"> <label>Test Module</label> &...


2

This has happened to me before when using a URL without a FQDN, for example magedev. I had to change it to magedev.local in order to get Magento working correctly. Not using the FQDN also caused Magento to not install the database fully (all of the tables were there but some of the core data was missing). Another solution, if you are sure that you are using ...


2

I search where customer_eav_attribute_website is defined grep -R "customer_eav_attribute_website" app And got: app/code/core/Mage/Customer/etc/config.xml I dumped my config with a test_script.php: include "app/Mage.php"; Mage::app(); echo Mage::app()->getConfig()->getXmlString(); and found customer_eav_attribute_website there so this was not ...


2

Problem was a module's etc/config.xml which was overwriting resourceModel of <sales>: <models> <sales> <class>Mage_Sales_Model</class> <resourceModel>sales_mysql4</resourceModel> </sales> ... It was a copy of the old Sales config that did not include ...


2

The drop and drag functionality is still standard in Magento. I created a video which you can view that shows me moving two root categories into a third root category and they become sub categories and visible on the frontend. http://youtu.be/NAHE1SOAMMM Also, make sure your categories are active and set to display: The video and the image were done on ...


2

In the admin Panel go to System->configuration->Sales->Tax. For shopping cart Display Settings follow as if in the image. You will get the answer as you wished.


2

There are two different patch files for 1.8.0.0 and 1.8.1.0, that means at least some of the files affected by the patch have been changed in between. That being said, you should find a way to apply the patch instead of downloading files from third party sites. For example, if you cannot get it done on your installation, download a fresh 1.8.0.0 Magento, ...


Only top voted, non community-wiki answers of a minimum length are eligible