Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [magento-1]

General questions about Magento 1 not specific to a minor version. You can use it to distinguish from Magento 2, but if you have issues with a specific installation, use the appropriate magento-1.x tag instead.

1
vote
3answers
47 views

magento 1 malicious code attack in app/Mage.php

I have been working on a project and recently i am observing some malicious code is being added to the file app/Mage.php at the top of file. I have tried removing this code multiple times but it again ...
0
votes
0answers
10 views

Can't login to staging servers without deleting cookies first

We have multiple clones of our main shop for testing and developing. e.g. test1.mainsite.com, test2.mainsite.com, test3.mainsite.com ... There is a heavy issues with the cookies... Users very often ...
1
vote
1answer
23 views

Product Category is not displaying in front end in magento 1

I have created a new category in the backend. But it is not automatically showing in front end.
1
vote
1answer
26 views

Magento 1.x Custom Module - get wrong Frontend Url

I have Mage 1.9 with my custom module installed. I have checked that the function Mage::getUrl('mymodule/api/users/1'); return wrong url with admin path. We also use a custom path for the admin ...
0
votes
1answer
10 views

Using ngrok with Magento 1 issue

I have a virtual host set up. My local url is http://test.local When I start ngrok, my local url will become: http://test.local.ngrok.io so I changed my base secure and unsecure url to: http://test....
0
votes
0answers
18 views

Magento 1 Observer not overriding core observer

I am trying to override a core observer, but nothing I have tried has worked. I am trying to observe the event sales_order_save_before. Here is my config file: Location: app/code/local/DBCustom/Order/...
1
vote
0answers
21 views

Migrate category and product urls from magento 1 to magento 2

How to migrate only category and product urls from magento 1 database to magento 2. I am using magento 2.2.6 Thanks Pradeep
0
votes
1answer
19 views

Magento does not use specified default value on attributes of type yes/no

I added a new attribute with Default Value set to Yes. I added the attribute to my attribute set and edited the product, but it is set to No by default. How can I fix it?
0
votes
1answer
16 views

where in clause in magento 1

I am new to magento. How can I use where in clause in magento 1. I have array of ids and I want rows from those ids from database. Please help me here. $stateDealersCollection = $stateDealerModel-&...
0
votes
0answers
16 views

Magento 1 layout best practice

So on a multistore Magento 1 we need to change the html on a page depending on the store, everything is done with one theme. And we have 2 implementations, but I'm not sure which one is better. ...
2
votes
0answers
27 views

Select logic changed with latest versions - product resource collection

While performing an upgrade of a Magento 1 shop, noticed a change in core class Mage_Catalog_Model_Resource_Product_Collection, within method _initSelect The change that has happened is, that ...
2
votes
0answers
7 views

Why did the Payment section stopped working after switching primary domain? And - does Form Key Validation On Checkout need to be enabled?

Porto theme I switched the primary domain in our Magento 1.9.4 store and then the Payment section of the checkout stopped working altogether - you could select a Payment method by placing a tick in ...
1
vote
0answers
15 views

tinyMCE always changes URL after edit configurable article and save

If I edit a configurable product and save then it loads and if load finisihed then URL changes from: https://www.example.com/index.php/login/catalog_product/edit/id/4 to https://www.example.com/...
2
votes
1answer
36 views

What does Magento 1's end of life mean for security?

With Magento 1 nearing it's end of life in June 2020, what are the biggest threats when it comes to security?
1
vote
0answers
18 views

Magento 1.x core config values in mysql upgrade?

I have the following lines to get a core_config_data value in a mysql upgrade script $installer = $this; $installer->startSetup(); $adapter = $installer->getConnection(); $my_store = Mage::...
0
votes
1answer
18 views

Easiest way of adding a script to the order confirmation page in Magento 1?

I need to add a script that tracks orders on a Magento shop. This script is to be inserted onto the order confirmation page. What is the easiest way of inserting this script onto the order ...
1
vote
0answers
30 views

The use of function html_entity_decode is forbidden. What should we use instead?

Ecg coding standards forbids using html_entity_decode method. What should we use instead?
0
votes
1answer
81 views

which dedicated patch file to Install patch SUPEE-11086 for Magento 1.14.2.0 EE

I know how to install a patch file. But which dedicated patch file to Install patch SUPEE-11086 for Magento 1.14.2.0 EE. Does anyone know which is the patch I should apply for 1.14.2.0 EE?
0
votes
0answers
33 views

Magento 1.9.4.0 suddenly stops working with PHP 7.2, needed to downgrade to PHP 5.6

We changed our PHP to 7.2 a week ago. There were no problems but suddenly after a week there was a problem. Users were redirected to the cart after pressing the "Confirm Order" button on Checkout page ...
2
votes
0answers
28 views

Magento 1.9 patch error

I trying to patch 1.9.2.1 from supee-752 to supee-10888 and getting next error: Cant find the any solution. Any ideas?
1
vote
2answers
82 views

Why is Magento still showing old version in backend after installing Patch?

I installed the Patch SUPEE-11086 but my Magento Version still shows 1.9.4.0 instead of 1.9.4.1 Why is the version not changed?
1
vote
1answer
523 views

Magento1 SUPEE-11086 Potential Issues? [duplicate]

The Description of the patch SUPEE-11086 is: SUPEE-11086, Magento Commerce 1.14.4.1 and Open Source 1.9.4.1 contain multiple security enhancements that help close remote code execution (RCE), ...
23
votes
17answers
4k views

Security Patch SUPEE-11086 - Possible issues?

Magento has released a new security patch for M1, and updates for M1 and M2. These releases include critical security fixes. "We strongly recommend that all merchants upgrade as soon as possible." ...
0
votes
1answer
16 views

Magento 1: Email Marketing

I have a virtual store in magento and I want to know which is the best plug-in email marketing or platform that can be synchronized with magento 1, to do: an automatic email to send when the customer ...
1
vote
1answer
22 views

How to load all products with certain type - e.g. all configurable products?

How can I get a collection of all products from a specific type example given: "configurable" ? I want to show the name of all products of type configurable for example.
1
vote
0answers
25 views

Attribute set sort order has gone - how to rebuild?

This code returned attributes set for dropdown menu - ordered by attribute set name ... $sets = Mage::getResourceModel('eav/entity_attribute_set_collection') ->setEntityTypeFilter(Mage::...
0
votes
0answers
38 views

Added CMS block to contacts page layout XML, but doesn't show up

I am trying to add a CMS static block, to the magento 1 contacts page, in the right column. I've tried adding the following to app/design/frontend/{client}/{theme}/layout/local.xml <...
2
votes
2answers
26 views

Magento 1 - Free Shipping after applying Gift Card Code

I've been struggling with an issue regarding free shipping and gift card codes. So basically I have a free shipping rule which applies to orders above $100, based on subtotal after applying discount ...
2
votes
1answer
29 views

Magento does not show template

I can't figure out why magento is not loading my template: The template is located at app/design/frontend/base/default/template/fekete/Newsletter2Go/customer/account/dashboard/info.phtml I double ...
0
votes
1answer
31 views

Magento does not create cache, reports and logs

I noticed that my magento onlineshop does not create any files in var/cache, var/report and it does not report anything to the logfiles in var/log. The var directory has the permissions drwxrwxr-x ...
0
votes
1answer
23 views

How to throw exception with stacktrace?

I need my extension to throw an exception which includes a stack trace. I tried Mage::throwException('message') but nothing is logged in var/log/exception.log nor at var/log/system.log nor in the ...
0
votes
0answers
39 views

PCI Compliance Scanning Tool For Any Version Of Magento Site

I am looking for a PCI Compliance scanning tool that can scan Magento websites ( Any version ) or Piece of Magento code. Please suggest. I know there is a checklist available in DevDocs (https://...
1
vote
1answer
59 views

Disable sort/filter for existing grid column

Is it possible to disable filterable/sortable for an existing grid column via observer or layout update?
6
votes
1answer
87 views

Which license should I use for my own extension to prevent others to use it without my permission/paying?

I developed a few extensions and I try to figure out which license I should use to "prevent" others e.g. our agencies to copy them and spread them to their own customers w/o my permission.
3
votes
1answer
34 views

Adding Message under Payment Method (like paypal redirect message)

I need to add message under Redsys Payment Method (like paypal redirect message) when you click it. Example: Where i can add this?
1
vote
0answers
21 views

Can't get Magento 1 adminhtml layout file to load

I was working on a large module and I couldn't get an adminhtml layout XML file to load. So I created a new test module to isolate the issue and I still can't get the layout file to load. I don't ...
0
votes
1answer
21 views

How to check if extension has cronjobs and start them?

I installed the extension algolia search. But I think its cron job is not running anymore since we moved to another hoster, the term "algolia" is not in the Aoe-Schedueler List. How can I check if ...
0
votes
0answers
20 views

Magento1 add image functionality via content editor iframe popup breaks with Stackpath CDN

Any suggestions on how to remedy the below? Stackpath say it is issue with code. I find it hard to believe that the inherent features of Magento1 would break though? It occurs on any of the editor ...
2
votes
1answer
44 views

Can't change customers groupId in observer

I try to change the customers group id in the observer sales_order_place_after but it seems to be impossible. I successfully managed to change the firstname of the customer just for test, but groupId ?...
1
vote
1answer
38 views

Get total in observer sales_order_place_before

I try to get the total value (price of his order) of the customer in the sales_order_place_before event. How can I read the total value? This is a part of my observer, it is getting called, I only ...
0
votes
0answers
35 views

Magento1 Security patch `SUPEE-10975` Not able to upload images using Media store in static block

While trying to upload images using Media store in static block getting logout from admin. I am trying to upload image from cms block. see attached screenshot. I am getting logout on controller ...
1
vote
0answers
24 views

Disable image cdn stuck

I am having an issue with my Magento site and any assistance would be greatly appreciated. I recently migrated my Magento (1.4.1.1) site from Rackspace to a private server. The site was configured to ...
2
votes
0answers
21 views

How to deal with multiple extensions overriding the same template file?

I have two extensions which load their own template for the block with name customer_form_register in customer_account_create The first extensions overrides the template to add a new field to the ...
1
vote
0answers
36 views

Connection to remote MySQL Database fails

We copied our domain, database and filesystem to another server @ rackspeed. I opened the cPanel and added the ip address of the old server in "Remote-MySQL" so that the old server can connect to the ...
1
vote
0answers
32 views

Customers receiving order confirmation with another customer's details

We recently upgrade out Magento 1.9.0.1 site to the latest patches through to SUPEE-10975. We have started seeing a number of problems like so; Some backend orders show customer email address and ...
2
votes
1answer
37 views

Magento programmatically refresh statistics. - Magento1

How to refresh statistics programmatically in Magento 1?
1
vote
1answer
35 views

how fix invalid url in magento

Invalid base url type Trace: #0 C:\xampp\htdocs\magento\app\code\core\Mage\Core\Model\Store.php(620): Mage::exception('Mage_Core', 'Invalid base ur...') #1 C:\xampp\htdocs\magento\app\Mage.php(382): ...
0
votes
0answers
32 views

Authorize.net payment method errors

We are receiving below errors in a Magento 1 store while using Authorize.net payment method on checkout At Frontend: Soap request error due to invalid configuration At Backend: Soap-Error: Parsing ...
0
votes
3answers
199 views

Magento 2 : Admin category products getting wrong count

I am using the Magento 2.1.8 version. Facing an issue of products count next to the category name. The categories of Anchor is enabled. I did reindex and flush the Magento cache. In addition, ...
3
votes
1answer
44 views

Override OnepageController.php Not Working

I'm trying to override the successAction in the app/code/core/Mage/Checkout/controllers/OnepageController.php. I have done the following: I've created my override folder here: app/code/...