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

I had this problem with EE 1.14.2 and it looks like the same issue has come up in CE 1.9.2. I documented my problem and solution on this SE question. Basically due to the following code being added to the constructor of Mage_Cms_Block_Block: $this->setCacheTags(array(Mage_Cms_Model_Block::CACHE_TAG)); $this->setCacheLifetime(false); CMS static ...


51

I use "CENTOS PHP 5.4.43 cURL 7.19.7" In downloader/lib/Mage/HTTP/Client/Curl.php, try changing: $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); to $this->curlOption(CURLOPT_SSLVERSION, CURL_SSLVERSION_TLSv1);


28

It seems a re-indexing issue. Try the following Steps to Re-index: Magento Admin Panel System Index Management Select All Submit (Re-index Data) Below are steps to follow if you can't login to the Admin Console ...which is probably the case if you're getting that SQL Error when you access any page... To do perform the following steps, you'll need to be ...


18

Nice wrap up of the bug above, Fabian! For any further users who will come accross this bug, there is already a patch from Magento for this. As an Enterprise customer, you can request/download PATCH_SUPEE-6190_EE_1.14.2.0_v1.sh to fix this. Update 24.02.2016: This was also addressed in the latest SUPEE-7405 v 1.1 patch. According to Fabian on Twitter (see ...


15

There's two things that would likely cause this. You aren't using OpenSSL Your OpenSSL build is out of date To solve 1. Check that you aren't using OpenSSL, php -r "print_r(curl_version());" | grep ssl_version If it displays anything other than OpenSSL - then that's your answer. The solution would be to remove/comment the line in question. To Solve 2. ...


15

It turned out that this is a bug in Mage_Sales_Model_Quote_Item::compare() that was introduced in Magento CE 1.9.2 / EE 1.14.2. The method is used to compare items to decide if they are the same product and can be merged (during login and when adding products to the cart). When comparing all custom options, it should skip the options that are not ...


14

Try a workarround: in CMS > SALES EMAILS Set Order > Sent Emails via seperate Mail (BCC is Buggy) Magento know this bug and will fix in 2.0.


14

That looks like they tried to make sure to destroy the image resource, but instead introduced a memory leak. I cannot think of a valid reason for this code, to be honest, but I can explain what has been changed: Originally, imagedestroy() would have been called in the desctructor __destruct() function __destruct() { @imagedestroy($this->...


13

I just upgraded to 1.9.2.0 and I'm experiencing this too. Categories that are set to display Static Blocks + Products are randomly displaying the wrong Static Block. This did not exist prior to my 1.9.2.0 upgrade. Temporary Fix Disable the Blocks HTML output cache and the blocks displayed are correctly.


13

Here we go with local module based solution as above solution does not provide whole steps. We need to create Custom module because you all know that Magento Boogieman will get you! if change the core :) You will need to following files: app/etc/modules/Bhupendra_Cms.xml <?xml version="1.0"?> <config> <modules> <...


11

Since this was EE, I was able to utilize Magento support but I also worked things out on my own to help focus the issue and get a solution as fast as possible. The code changes were provided by Magento so applying them to the actual app/code/core files is fine though you could always duplicate the files in your /app/code/local and apply the changes there. ...


11

Magento CE 1.9.2 has been released Update: Today 7th of July, 2015 Magento CE 1.9.2 has been released: https://www.magentocommerce.com/download Magento Community Edition 1.9.2 includes SUPEE-5344, SUPEE-5994, and the also today released SUPEE-6285 patch. History: FIRST ANSWER (May 8): I have contacted Magento through the Partner Portal support panel (...


10

I think proper way is we need to create Custom module because you all know that Magento Boogieman will get you! if change the core :) You will need to following files: app/etc/modules/Bhupendra_Cms.xml <?xml version="1.0"?> <config> <modules> <Bhupendra_Cms> <active>true</active> <...


9

Three days were spent investigating and addressing those hiccups, and I can now share my newly found knowledge of the possible problems arising from updating Magento to 1.9. First of all, Magento 1.9+ relies completely on cron jobs to send transactional emails. If you didn’t have cron jobs set up properly before, you are going to have to do it now. First ...


9

I donot know why this is happing but you can prevent using registry variable (Mage::registry('VARIEABLE')). <?php class Test_SupplierNotification_Model_Observer { public function notifySupplier(Varien_Event_Observer $observer) { /*check registry variable and on first time Mage::registry('prevent_observer') does not save value So, it will ...


8

Make read/write permission for var directory. That means var directory should be 0777.


7

There is no official patch for this, however, it was resolved in CE 1.9.2.1 diff -r magento-CE-1.9.2.0/app/code/core/Mage/Cms/Block/Block.php magento-CE-1.9.2.1/app/code/core/Mage/Cms/Block/Block.php 74a75,94 > > /** > * Retrieve values of properties that unambiguously identify unique content > * > * @return array > ...


7

I asked Nexcess (referencing this post) and got this answer: The page you found is actually correct. We've been seeing this a lot with the new update. What happened is that Magento updated some code to be more secure, but they made the assumption that curl would be compiled against SSL libraries that they could check with certain commands. ...


7

Found the solution. I replaced <?php echo $this->getBlockHtml(‘formkey’); ?> with <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>"/> inside the fieldset of the form. Got info from this article http://www.bricksandmortarweb.com/blog/update-cart-working-magento-1-9/


6

Use a version control system (like GIT). Put the "old" code in your version control on your dev environment Upload this to your production (I think VCS folders only should be sufficient, e.g. .git folder in root) Commit the new code (upgraded to CE 1.9.2.0) into the repository on your dev environment Set the maintenance.flag on your production env Pull the ...


6

Having the same problems with my Magento 1.9.2.0... I only get this to work by changing Varien_Image_Adapter_Gd2 in /lib/Varien/Image/Adapter/Gd2.php as follows: public function __construct() { // Initialize shutdown function // register_shutdown_function(array($this, 'destruct')); } /** * Destroy object image on shutdown */ public function ...


6

A (temporary - until the developers release a new version) fix that worked for me: In file app/code/community/Magestore/Bannerslider/Model/Mysql4/Banner/Collection.php at line 60 comment the following: return parent::addFieldToFilter("IF($field.value IS NULL, main_table.$field, $field.value)", $condition); and replace it with $this->getSelect()->...


6

Good question! The trick here is to extend a block based on catalog/product_list. I think the best way here is to add some xml to the "Layout Update XML" section. <reference name="content"> <block type="catalog/product_list" name="multiple_categories" template="catalog/product/list.phtml"> <action method="...


5

In file downloader/lib/Mage/HTTP/Client/Curl.php I changed the code $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); to if(isset($var)){ $this->curlOption(CURLOPT_SSL_CIPHER_LIST, 'TLSv1'); } and problem will be solved for now.


5

on our server Centos 6, NSS is up to date for this release but not the last release. other solutions commenting line, adding line are not working. the only solution which works is forcing https to false by adding line $https = false; before line $uriModified = $this->getModifiedUri($uri, $https); and commenting $this->curlOption(...


5

The upgrade happens the first time your magento application boots. Usually this is the first http request that gets to a magento page. So basically you just need to look at a page to trigger the database update. An alternative approach is to use the handy magerun cli tool to trigger the updates: n98-magerun.phar sys:setup:run I like this approach as it ...


5

It was part of fixing security issues with unserialize. Magic methods like __destruct have inherent issues with serialization. We have seen exploits proposed that were using serialization and __destruct to create files in the file system - and this change (you will see more similar changes in other places) was done to avoid this. Does it cause memory ...


5

I suspect that because I'm re-using the block dynamically that it will always have the same block id and therefore the fix will not work That's right. And by adding dynamic content to a static block you are using it not as it is intended. You should use layout XML to add dynamic blocks with more flexibility. If you insist on adding the content by selecting ...


5

In a phtml file, if you need to instantiate a block without cache you can use this: echo $this->getLayout()->createBlock('cms/block')->setBlockId('block_id')->setCacheKey(uniqid())->toHtml(); In the block you can instantiate the page/content that you need like this: {{block type="core/template" template="page/some_page.phtml"}} or just ...


5

For Magento 1.9.2.x, You need to create permission for 'catalog/product_list' block from 'System->Permissions->Blocks'


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