Questions tagged [configuration]

General settings of all the modules, either core or third party.

Filter by
Sorted by
Tagged with
120
votes
5answers
49k views

What is the Best Magento Server Setup?

We are currently working with a requirement that first response from the web server must come in under 200ms in the UK. Currently under 2 dedicated web servers under load balancer and 1 db server, we ...
23
votes
5answers
8k views

How do I get a list of all class rewrites?

Is there a way to list all rewrites and maybe other potential conflicts besides reviewing all configuration files? I have to analyse some projects with lots of extensions and custom modifications and ...
29
votes
5answers
21k views

Different storeviews or websites in subfolders

A client wants his multistore shop to be set up like this: http://www.domain1.org/de/ -> website 1, store view 1 http://www.domain1.org/en/ -> website 1, store view 2 http://www.domain1.ch/de/ -> ...
59
votes
17answers
61k views

Required parameter 'theme_dir' was not passed

What is the error message: Required parameter 'theme_dir' was not passed Is it related to in Magento 2? And how can this problem be fixed?
24
votes
2answers
24k views

product attribute to quote item and order item

What is the correct way in Magento to have a product attribute be automatically persisted to quote an item and then finally to order item? Is it as simple as a little config XML or is it a manual ...
47
votes
5answers
51k views

Search Type: Like, Full Text or Combined?

What is the difference between the different search types? Like Full Text Combined I am specially interested in how the search behavior and performance changes for those settings.
23
votes
3answers
40k views

How can I change the default product images sizes on Magento 2?

In magento 1.x.x, we could change default thumbnail images in admin : System > Configuration > Catalog But in magento 2.0, how can I change theses value I can not seem to find any configs to allow ...
23
votes
6answers
33k views

Permanent solution for the common indexing issue

We have developed some magento project with large inventory record and always face the indexing issue we have tried every thing found on the internet for solving day-to-day indexing issue like ...
22
votes
4answers
44k views

Best Practices Way to Edit Magento Top-Links

Let's say we want to add a shopping cart icon right before the "My Cart" link on Magento's top links (see top links below). What is the best way to do this? Do something to toplinks.php? Do ...
29
votes
2answers
24k views

Magento CSS and JavaScript not loading due to using file system path

I was unable to install a module using Magento Connect, getting a Connection Error try again later error. Following the instructions of the module developer I attempted to fix permissions in the ...
16
votes
3answers
27k views

Magento : Fatal error: Class 'Mage_Giftcards_Helper_Data' not found in …/app/Mage.php on line 546

I have installed one module extension which throws an fatal error "Fatal error: Class 'Mage_Giftcards_Helper_Data' not found in ..../app/Mage.php on line 546" in admin. I have reffered this link ...
7
votes
6answers
25k views

Magento: Add captcha to custom contact form

I created a new custom contact form in Magento website, I am trying to add captcha at the end of it. I have added to app/code/core/Mage/Captcha/etc/config.xml <customcontacts> ...
14
votes
4answers
18k views

How do I enable version 1.9 maintenance flag with admin access

Because I do not see Maintenance Mode in the version 1.9 UI System > Configuration, I dropped a maintenance.flag file in the site root. However that also blocks my admin panel access. Can someone ...
3
votes
2answers
7k views

Magento parser error “Start tag expected, '&lt;' not found”

I am getting these errors in system.log. 2017-06-20T11:59:55+00:00 ERR (3): Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '&lt;' not found in home/www/lib/...
6
votes
2answers
9k views

Redirect 'non www prefix to 'www' prefix still not working after disabling 'Auto-redirect to Base URL'

Magento install was redirecting all 'non-www' urls to the root home page. I found these questions on the same subject: Redirected to the Homepage when add www. in any URL Redirected to the Homepage ...
16
votes
5answers
10k views

Configuring Design “Exception” Strings for “Mobile” Devices

What Exception strings are "state of the art" for redirecting iPhone, iPad, Android, tablet, etc. users to a different design? That is, I realize in the System -> Configuration -> Design user ...
52
votes
7answers
44k views

Magento 2 backend session timeout

In Magento 1.x the backend session timeout was set via: Backend -> System -> Configuration -> Admin -> Security -> Session Lifetime (seconds) Initially, my question was how to set this ...
15
votes
1answer
15k views

How to override config.xml

I need to change contact us page email template type from "text" to "HTML". I found it is in the config.xml <email> <contacts_email_email_template translate="label" module="contacts">...
3
votes
2answers
5k views

How to set up second store in multi-domain configuration?

I am trying to set up a second store based on a single magento installation. I have created the website, store, and store view as indicated in http://www.magentocommerce.com/knowledge-base/entry/...
8
votes
7answers
19k views

Magento 1.7.0.2 cannot login to admin locally

I installed locally magento 1.7.0.2 BUT i cannot login to admin panel! WHAT TO DO?! I try absolutely everything solution in WEB! I tried these suggested solutions Clear the contents of the ...
4
votes
1answer
9k views

rewrite url using config.xml

I'd created a module and the url for the same is something like: http://magento.korenpub.com/designer/index/index/id/26/value/Joseph%20B.%20Soloveitchik but I need to rewrite the url to http://...
3
votes
1answer
250 views

What is <fieldsets/ > stands for?

When I have gone through Mage_Bundle module in magento, I found this code snippet inside app/code/core/Mage/Bundle/etc/config.xml. <admin> <fieldsets> <...
2
votes
5answers
2k views

Disable extension in one of the store views that uses same theme as others

Is there any way to disable a third party extension for one of the store views. Since, all the store views are using same theme, I can not do it through xml file in layout folder.
21
votes
3answers
12k views

Magento 2 - How to get the extension's configuration values in the phtml files?

I'm working with Magento 2 - beta. But cannot find how to get the configuration values in the phtml files. eg: I want to get my custom modules configuration values in Magento_Catalog/templates/...
14
votes
2answers
21k views

What is the cause of “Front controller reached 100 router match iterations” error?

As a Magento developer I have faced this problem tons of times, I know it is a misconfiguration problem when it occurs some modules are not loaded, neither their routers, causing the error. Most of ...
27
votes
9answers
43k views

How to change the Admin session time in Magento?

It is possible that sometimes the time that the admin session is active is too short. How to change the time it takes to auto-logoff the user from the back-end?
24
votes
2answers
19k views

Magento 2: Default Values for `system.xml` Configuration

In Magento 1, it was possible to Configuration a user interface for the System Configuration section in etc/system.xml files Set default values for those fields in the etc/config.xml files Behind ...
7
votes
2answers
6k views

Check if EE version or CE by code

Is there a clean way to make a difference code wise between EE and CE? The problem. I'm updating an extension so it will work nicely on ce-1.9. The extension is not for EE, but it seams to work on ...
5
votes
2answers
2k views

Magento 2: How to change Contact Us Email Type?

magento\vendor\magento\module-contact\etc\email_templates.xml <?xml version="1.0"?> <!-- /** * Copyright © 2016 Magento. All rights reserved. * See COPYING.txt for license details. */ --&...
2
votes
1answer
2k views

Magento 2: use a chooser widget as a system configuration field

Is there an easy way to use the Magento\Catalog\Block\Adminhtml\Category\Widget\Chooser in my system.xml file for a field ? The idea is to be able to pick a category from the chooser widget to store ...
17
votes
6answers
9k views

How to get store phone number in magento 2

I want to display phone number saved in magento admin in frontend in magento 2. Like in magento 1.9 its like $storePhone = Mage::getStoreConfig('general/store_information/phone');
8
votes
1answer
21k views

Custom helper in custom module in Magento 2

How to create new Helper or override/rewrite Core Helper in Magento 2 module ? I tried adding dependency into my module.xml of Custom Module, but it doesn't load Helper class at all. Below is my ...
12
votes
3answers
17k views

Rewrite controller magento

I need to overwrite action called _initAction from Controller: /app/code/core/Mage/Adminhtml/controllers/Catalog/Product/AttributeController.php into my own module and controller: /app/code/local/...
8
votes
2answers
10k views

How to add acl in custom module in magento

I created custom module in magento. I created that menu under customer menu. I need to add acl for custom module. I need to know that how to create acl in custom module i m giving here my config.xml.....
5
votes
2answers
2k views

Default configuration value for serialized_array settings is ignored

I have an extension which adds panel to System > Configuration, but suddenly in 1.9.3 it ignores default values for settings with <backend_model>adminhtml/system_config_backend_serialized_array&...
1
vote
4answers
14k views

Can't reindex Catalog Category/Product Index via admin

I have a Magento Enterprise 1.13 installation that won't allow me to trigger reindexing the Catalog Category/Product Index and other indexes through the admin. The "Reindex Data" Action is not ...
24
votes
5answers
12k views

Magento 2: Programmatically Add a Value to `core_config_data`

Does Magento 2 have a high level abstraction that allows end-user-programmers to update configuration values in the core_config_data table? Or is using straight SQL the only way to do this in Magento ...
22
votes
1answer
3k views

How can I have a custom XML file in modules merged as one in Magento 2? (MageStackDay mystery question 2)

MageStackDay bonus question for 500pts Bounty AND a the possibility of winning a free Z-Ray license for a year. More info can be found >> here << The questions are provided/inspired by Magento ...
16
votes
5answers
7k views

what is the difference between disable module output and module active = true

In magento I come to knew that we can disabel our module by two ways By navigating in the Magento backend to System > Configuration > Advanced > Disable modules output we can easily disable certain ...
7
votes
4answers
11k views

Call action after “Save Config” was clicked in the admin

How can I call an action of my controller in a custom module after "Save Config" was clicked in System --> Configuration --> Catalog? (image) Settings of my module are inside that section, and I need ...
6
votes
1answer
2k views

Magento 2: How to Read From Configuration Tree

What's "the right" way to read from a merged module XML configuration tree in Magento 2. For example, in Magento 2, many modules have a pdf.xml configuration file ./Bundle/etc/pdf.xml ./Downloadable/...
16
votes
2answers
18k views

When should I use the category flat table option?

As a follow-up to a previous question I would like to know: When should I use the category flat table option? While googling I found an advice to enable it "when you have very much categories". But ...
14
votes
1answer
11k views

404 not found error while creating custom group and fields in system configuration

I am trying to create a group and some fields for my custom section under custom tab Tab and section is getting created.But when i click on the section in the content area it shows 404 not found ...
6
votes
2answers
6k views

Create beautiful image upload in configuration magento 2

add image in create new product How to make an similar image upload in configuration instead of In add product, it uses phtml file. In configuration, it uses xml file.
1
vote
2answers
6k views

If condition in layout xml tag

I have create one module for displaying latest product review, module works perfectly and reviews are display on frontend side. But what I have requirement is admin can select where to display this ...
8
votes
1answer
4k views

what it means by Magento cache fast-backend and slow-backend?

What it means by cache backend slow_backend slow_backend_store_data auto_refresh_fast_cache I have see this types of caches config in local.xml.additional file. I want to is know what is meant ...
5
votes
2answers
3k views

What the meaning of <fieldsets> in config.xml [duplicate]

Here is my code. <global> <fieldsets> <customer_account> <customeattribute> <create>1</create> <update>1</...
4
votes
3answers
14k views

php extension mcrypt/curl must be loaded

I was following a tutorial online about installing magento on ubuntu, but when I refresh the page at step 8/9/10(correct writable permissions on files) I get 2 errors: php extension mcrypt must be ...
4
votes
1answer
6k views

Magento 2: how to declare a custom email template for your module

In Magento 1, you could declare email templates directly in the config.xml like this: <template> <email> <custom_email_template translate="label" module="modulename"> ...
4
votes
4answers
10k views

cron job command in Cpanel

I am using Magento CE 1.7.0.2 on Linux, cPanel environment. Search for proper command for cron job in cpanel So far I got: PATH to PHP /home/USERNAME/PATH_TO_MAGENTO/cron.php wget -O /dev/null -q ...