Skip to main content
11 votes

Getting 404 - Page Not Found after upgrading to

My solution, go to file app/Mage.php on line 808, replace $file = empty($file) ? 'system.log' : basename($file); to $file = empty($file) ? 'system.log' : $file; and comment the following line /...
Ansyori's user avatar
  • 841
8 votes

Magento - How do you return a JSON array from a controller to ajax

use this one. public function suburbSearchAction() { /* Get Suburb text from POST Request */ $suburbNameQuery = $this->getRequest()->getParam('inputSuburbData'); /*...
Magento2 Devloper's user avatar
7 votes

How to unlock admin in magento using database?

Select the corresponding database from the drop down menu on the left side. After that click on the SQL tab in order to be able to execute the following MySQL query and use the following code to ...
Robert's user avatar
  • 2,176
6 votes

Magento 2 Migration: Communication link failure: 1153 Got a packet bigger than 'max_allowed_packet' bytes

I've faced the same issue while migration. You can fix this issue by following the below steps: Change the MySQL max_pocket_size from the MySQL console to 1000000000. run below query in MySQL ...
Sumit's user avatar
  • 4,885
5 votes

Programmatically adding product to cart returns empty cart

<?php include 'app/Mage.php'; Mage::app(); ini_set('display_errors', 1); Mage::getSingleton('core/session', array('name' => 'frontend')); try { $product_id = '394'; // Replace id with your ...
Raghu's user avatar
  • 1,710
4 votes

Override Extension Helper

change this in your config.xml <global> <helpers> <mirasvit_helpdesk> <rewrite> <email>Company_Helpdesk_Helper_Email</email&...
Marius's user avatar
  • 198k
4 votes

SUPEE-9767 Patch/CE + checkout form validation breaks multishipping in default theme

Magento forgot to add the formkey block to the following template: app/design/frontend/base/default/template/checkout/multishipping/addresses.phtml Magento should fix this in an update of the SUPEE-...
Aad Mathijssen's user avatar
3 votes

Need magento to apply patch

Its very easy to find the security patches that your website needs.Visit this link and click go to security scan.There you will have to enter your domain name and it will scan the site for you.It will ...
tru.d's user avatar
  • 325
3 votes

New Patch for PayPal Instant Payment Notification (IPN) Changes. Upgrade to or SUPEE-8167 by June 30, 2017 to Avoid Service Disruptions

You need to click the release archive tab at Scroll down to the bottom of the page for the CE 1.x patches and CE source code downloads. Apply the ...
paj's user avatar
  • 5,904
2 votes

Magento - How do you return a JSON array from a controller to ajax

You are not specified the header type. So only it take as array. try like this it will work. $suburbResultArray = Mage::registry('suburb_resultset'); $this->getResponse()->clearHeaders()->...
Rama Chandran M's user avatar
2 votes

Magento one page checkout - Unable to go ahead of Payment Information tab

This is most probably the issue related to checkout Javascript code. Open skin/frontend/<package>/<theme>/js/opcheckout.js Find the line: if (elements[i].name=='payment[method]') { ...
Mukesh Chapagain's user avatar
2 votes

infected file in magento /public_html/skin/Signedint.php

The file is indeed a malware. Here is a great list of commonly known vulnerabilities that can be found in Magento and WordPress. If ...
Icon's user avatar
  • 2,439
2 votes

how to display recently viewed products on homepage in magento

Make sure your block is whitelisted You can make block whitelisted from your admin panel in System > Permission > Blocks Add new entry if not present say for example reports/product_viewed and ...
Priyank's user avatar
  • 7,702
1 vote

Need magento to apply patch

It's probably easier to upgrade to the latest which includes all security patches. For Magento you need the following patches. SUPEE-11155 SUPEE-11086 SUPEE-10975 SUPEE-10888 SUPEE-...
Anna Völkl's user avatar
  • 17.3k
1 vote

How add a country selector in the header section?

”Language switcher” (country selector) which you can see in the top corner in the header frontend section is Magento’s standard store view switcher. You can, for example, configure 3 store views (each ...
fmsthird's user avatar
  • 4,592
1 vote

How to fix "Cannot send headers; headers already sent" error in magento version

Refer the below link,It will help you. How to fix “Cannot send headers; headers already sent” in Zend? Check,have any space issue before start <?php and also check any raw HTML area in .php file.
Nagaraj Juro's user avatar
1 vote

How to unlock admin in magento using database?

This is the SQL way of unlocking a Magento admin account: UPDATE admin_user SET failures_num=0, first_failure=NULL, lock_expires=NULL WHERE username='<username>'; Replace the <username> ...
Richard Feraro's user avatar
1 vote

CSS custom design not applied after upgrading my magento

How the custom css are applied? If you add the custom css on new file declared on core files (bad practice), maybe the update procedure deleted the changes.. You should declare a new child theme and ...
AntonioC's user avatar
  • 187
1 vote

Magento upgrade from to

Maybe you are facing it due to cache so try to clear it. If still not resolved, then try to upgrade manually.
Syed Muneeb Ul Hasan's user avatar
1 vote

Wrong price cart exeeding stock

This seems to be a bug introduce in Magento Not sure what reason for the change but this person's post was the same solution that I came to:
Tom Robertshaw's user avatar
1 vote

infected file in magento /public_html/skin/Signedint.php

Also look in you var/package directory and you will find instance there. The malware will try to create the file again: Here is the file I found added when I did git status on the site: Lib_Js_Int-1....
Mexcellence's user avatar
1 vote

Multiple Conflicts trying to update to

It turns out the issue is down to a previous problem during Magento updates and a flaky Connect Manager. What's happening is that Connect Manager is bugging out at the first unexpected issue, leaving ...
Adam Lavery's user avatar
1 vote

Unable to Upload Product Images

Please check this post: Security Patch SUPEE-9767 - Possible issues? For image upload errors read this: Image Upload callback The image gallery controller has been updated to add a validation ...
sv3n's user avatar
  • 11.7k

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