Questions tagged [core]

The tag has no usage guidance.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
3answers
284 views

Fatal errors are coming after i run static-content:deploy with third party theme

I am facing some strange issues in Magento 2.1.3, i have configured third party theme and working fine, once i run setup:static-content:deploy, am getting fatal errors like i added below from core ...
5
votes
0answers
1k views

How To Modify Tax Calculations in Magento 1.9

For Testing - Learning purposes I would like to modify Tax Calculations in my magento installation. (not for production so no problem to modify core files). Based on the fact that Taxes are displayed ...
2
votes
1answer
503 views

Transferring website from server to localhost using WAMP

I'm trying to transfer live website to me localhost. Steps I did: 1. Made folder in wamp/www 2. Copied FTP files there 3. Imported database 4. Changed core_config_data for unsucure/base url and ...
2
votes
1answer
172 views

Override a function from app/code/core/Mage/Core/functions.php file into a Custom module

Recently I came across a site which contains some modifications in app/code/core/Mage/Core/functions.php file. I would like to keep code clean and move the changes to custom module in local scope; but ...
2
votes
1answer
129 views

How to add new parameters to a core model in Magento2?

I am trying to develop a Module to support saving card_id for a Gateway handling such functionality. So basically you send the card information in frontend, the gateway returns a token then you call ...
1
vote
0answers
121 views

Magento 1 EE 1.14.3.10 - Mage::getSingleton('core/resource')->getConnection('core_read') is returning null sometimes

We have Magento 1 EE 1.14.3.10. In the production, I tried to deploy some of the updates, took a code pull from GIT and cleared the cache. Since then it started throwing this error. No error if Amasty ...
1
vote
0answers
61 views

Magento 2 contributing tests to the new MFTF

I would like to know if it's possible to contribute tests to the new MFTF framework. In the documentation it talks about contributing to the MFTF core itself, but not how to contribute tests for it, ...
1
vote
1answer
99 views

Mage_Core_Exception: Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal

I am new in Magento and in Magento (Magento ver. 1.9.3.2), it show Exception of Invalid block type: Mage_Adminhtml_Block_Sales_Order_Totals_Subtotal(in exception.log) And reason of that Exception ...
1
vote
0answers
25 views

Is there a good program to run against the magento EE DB to analyze corruptions?

If core resource and other tables are corrupted. Common errors would be certain core functions trying to re-instantiate tables or views. I notice i get lots of errors for weird install files from ...
1
vote
0answers
322 views

Magento 2 Can Magento\Framework\Filesystem\File\Write be “preference” or “plugin”?

Tried to use preference to override it, but errors appear when running "magento setup:static-content:deploy". Then I tried to use plugin, but I found that the system did not go to my customized ...
1
vote
0answers
513 views

Trouble with core/session Messages

I'm worked on a new project with a own theme. Everything is fine, but any messages from modules, like the newsletter subscription, doesn't show in the frontend. Take a look in the ...
1
vote
0answers
83 views

Magento2 - Managing Module Activation at Store Level

Is it possible to manage activation of a Magento module at the store level. I am aware that there is a setting to Disable Modules Output at Stores -> Configuration -> ADVANCED -> Advanced -&...
1
vote
0answers
468 views

Why is Configurable Product getChildrenIds result an encapsulated array?

This is the implementation of getChildrenIds in the class Mage_Catalog_Model_Resource_Product_Type_Configurable: /** * Retrieve Required children ids * Return grouped array, ex array( * group =&...
0
votes
0answers
61 views

Magento 2 getting error Source class “\Magento\Framework\Filter\Zend” for “Magento\Framework\Filter\ZendFactory” generation does not exist

I am getting this error on the checkout page Source class "\Magento\Framework\Filter\Zend" for "Magento\Framework\Filter\ZendFactory" generation does not exist. I deleted var folder I deleted ...
0
votes
0answers
149 views

How to Solve Response to preflight request doesn't pass access control check error in Magento-2.2.7?

I have some issue in magento-2.2.7. I am using Magento API's in Angular frontend. When we used api's it show CORE Policy Error. How to solve this error ? Access to XMLHttpRequest at 'https://stg....
0
votes
0answers
127 views

HEADERS ALREADY SENT

I keep getting HEADERS ALREADY SENT in my logfile (system.log). [6] /home/company/public_html/index.php:82 \</pre> 2018-09-17T10:49:23+00:00 DEBUG (7): HEADERS ALREADY SENT: \<pre>[0] /...
0
votes
1answer
128 views

adminhtml config action location

I am trying to learn about creating modules by looking at the core code to see how the directory structure is formatted. I was looking at the Magento 1.9 sales module. In the adminhtml.xml file, The ...
0
votes
0answers
65 views

What does this code do for Paypal?

I am currently trying to create a module for Magento to show if the payment method used is Paypal Express via credit card or via Paypal account. Digging through the files I come accross app/code/core/...
0
votes
0answers
25 views

Magento Catalog URL Rewrites not indexing (site hosted in AWS EC2)

I have two magento sites hosted in AWS. Two different sites and two different server. Only the Catalog URL Rewrites is not indexing. Is there something i have to configure in AWS? magento v1.9.2.2 ...
0
votes
1answer
37 views

How can I change the template loading order?

As we all may know, when you set a template package at the admin it'll use it's default folder to provide the .xml and .phtml files. If the system doesn't find the necessary file, it will load it from ...
0
votes
1answer
130 views

When extending Mage_Tax_Helper_Data admin menu Sales>Taxes disappears

I'm trying to extend properly the core class Mage_Tax_Helper_Data with a module named "smartvat". All seem ok, my config.xml file: <?xml version="1.0"?> <config> <modules> <...
0
votes
1answer
34 views

Magento 2, rerwite entire core module

I need to rewrite newsletter module. I nedd to add some fields to database and grid. And I need to change the form. What is the best way to do it in magento2? Shoud I add fields to ...
0
votes
1answer
27 views

Disabling core extensions not working

I have followed the answer in this question however when I test my results are coming back the the extensions are still enabled I have created a file in app/etc/modules called zzz_Disabled_Modules....
-1
votes
1answer
196 views

How to call a function from Mage_Payment_Model_Method_Abstract?

I'm trying to call a function from Mage_Payment_Model_Method_Abstract core model in a observer. How can I do?