Questions tagged [configuration]
General settings of all the modules, either core or third party.
138
questions
125
votes
5
answers
50k
views
What is the Best Magento 1 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
5
answers
9k
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 ...
90
votes
31
answers
129k
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?
30
votes
5
answers
24k
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/ -> ...
25
votes
2
answers
27k
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 ...
50
votes
5
answers
57k
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.
32
votes
3
answers
68k
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 ...
7
votes
6
answers
28k
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>
...
31
votes
2
answers
28k
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 ...
23
votes
6
answers
35k
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 ...
23
votes
4
answers
45k
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 ...
16
votes
3
answers
28k
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 ...
3
votes
2
answers
18k
views
Magento parser error "Start tag expected, '<' 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, '<' not found in home/www/lib/...
16
votes
4
answers
20k
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 ...
16
votes
5
answers
11k
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 ...
6
votes
2
answers
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 ...
61
votes
8
answers
67k
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 ...
35
votes
2
answers
39k
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 ...
25
votes
5
answers
27k
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/...
15
votes
1
answer
17k
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">...
8
votes
7
answers
20k
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
1
answer
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
1
answer
269
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>
<...
3
votes
2
answers
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/...
2
votes
5
answers
3k
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.
31
votes
10
answers
48k
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?
29
votes
6
answers
27k
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 ...
18
votes
6
answers
17k
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');
15
votes
3
answers
27k
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 ...
12
votes
3
answers
18k
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/...
10
votes
1
answer
25k
views
How to add a custom helper in my module?
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 ...
8
votes
2
answers
12k
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.....
8
votes
2
answers
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 ...
6
votes
2
answers
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&...
5
votes
1
answer
4k
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 ...
5
votes
2
answers
3k
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.
*/
--&...
1
vote
4
answers
15k
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 ...
23
votes
1
answer
4k
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 ...
20
votes
3
answers
18k
views
Magento 2.2.0 missing admin developer configuration
I tried to upgrade my Magento into 2.2.0. And I see that is missing Advanced and Developer items. Is it me? Why it's happening this?
16
votes
5
answers
8k
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 ...
16
votes
1
answer
12k
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 ...
16
votes
2
answers
19k
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 ...
10
votes
5
answers
13k
views
app:config:dump locks everything in configuration
I am using pipeline deployment. As suggested in Magento 2.2 documentation, to use pipeline deployment process use below code:
app:config:dump
and add config.php to source control. But when i ...
10
votes
3
answers
14k
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.
9
votes
3
answers
22k
views
turn off url rewrites from sql / database
I have a mage install with url rewrites turned on, but the server does not do rewrites, so I need to turn rewrites off just to get into admin!
I deleted core_url_rewrite, but did not help.
It ...
8
votes
1
answer
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 by ...
7
votes
1
answer
3k
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/...
7
votes
5
answers
7k
views
Magento 2: How to setup separate theme for desktop and mobile?
I want to load device wise (like mobile and tablet) theme in Magento 2.
How can I do that?
I have tried below code in User Agent Rules but not working for me:
iPhone|iPod|BlackBerry|Palm|Googlebot-...
7
votes
2
answers
6k
views
How to set cronjob dynamic schedule from database in Magento 2
I am working on a custom module for Magento 2. I did setup crontab there and it is working good with static schedule.
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
7
votes
4
answers
13k
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 ...