Questions tagged [admin]

Can denote questions related to Magento admin panel, admin session or admin user.

Filter by
Sorted by
Tagged with
84
votes
3answers
24k views

Access Denied errors after installing SUPEE-6285

After installing the SUPEE-6285 patch on our Magento 1.7.0.2 store the system is showing an "Access Denied" error when attempting to access all custom modules for users who have selective permissions (...
82
votes
6answers
12k views

What is the best deploy strategy?

Setting up a Magento store is not only a matter of developing self-installable extensions but requires also a lot of "manual entry" operations such as creating end editing attributes, categories, ...
52
votes
7answers
43k 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 ...
45
votes
3answers
14k views

APPSEC-1057 How to add variables or blocks to the white list tables

APPSEC-1057 (part of SUPEE-6788) states Magento now includes a whitelist of allowed blocks or directives. If a module or anyone uses variables like {{config path=”web/unsecure/base_url”}} and {{...
41
votes
9answers
55k views

How to reset lost admin password in Magento 2?

I tried to reset the admin password via Phpmyadmin in admin_user table but this doesn't seems to work. Also on chrome I am getting "This webpage has a redirect loop" error when loading admin page.
35
votes
6answers
6k views

How to create an EAV entity?

How to create an EAV entity? This is a question that pops up a lot on the web. There are some good blog articles that explain how to do that, but none of them are satisfying for me. So I decided to ...
29
votes
14answers
63k views

magento 2 admin url not working and loaded frontend is all messy

Admin url is showing 404 error after installing magento 2 on wamp server and frontend design is all messy and css is not linked to it.Error visuals are shown below. Frontend error:
29
votes
4answers
2k views

New patch supee-6788 how to apply patch

After weeks of waiting for the patch today (27.10.2015) it was released: SUPEE-6788 A lot of things were patched and also is encouraged to review installed modules for possible vulnerabilities. I ...
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?
27
votes
3answers
53k views

Correct way to change the magento 1.9 admin url

Correct way to change the Magento 1.9 admin url anyone can provide me the correct way. I see a lot of different suggestion online.
27
votes
4answers
32k views

How to avoid 404 error on new extension installation

It is a very common error that shows in Magento when you install a new extension with system.xml config: When you go to the System->Configuration->Extension tab, a 404 error is shown. You need ...
27
votes
10answers
9k views

Magento 2: Fails to upload a transactional email logo from admin

I'm trying to change transactional email logo from. Admin > Content > Design > Configuration > Edit any record -> Transactional Emails It's on Magento 2.1 but logo showing broken image after ...
25
votes
14answers
32k views

Magento 2 admin this webpage has a redirect loop

Magento 2 just released last night and I can't wait to work on it. I tried installing it with all prerequisites. Frontend works fine but when I tried to open backend it says "this webpage has a ...
23
votes
10answers
25k views

How to disable Magento 2 reviews

I'm trying to disable the Magento 2 product reviews feature. I tried Disabling the Module at the Magento 2 admin Stores\Advanced\Advanced\Magento_Review but the reviews tab on each product is still ...
22
votes
3answers
8k views

How did they find my custom admin URL?

I have a custom admin url, still I saw someone trying to login into admin. I even changed it, and shortly after the next login was tried. How could this happen, I thought its secure?
21
votes
4answers
36k views

Add Column to Admin > Sales > Orders Grid

How can I add a column to the grid in the Admin section under Sales > Orders?
19
votes
3answers
15k views

Magento 2 custom grid column sort order

I made a custom grid in Magento admin using the UI Component. Basically, all is working fine, besides the order of the columns that is not showing right. as you can see the action column is right at ...
19
votes
5answers
19k views

Adding a CMS block via setup script

I am working on a site that has, I believe 9 separate Magento instances, same site. Therefore there are strict procedures surrounding any back-end data - config and even for CMS blocks. I would like ...
19
votes
5answers
5k views

Issue using “having” in Magento collection

I am trying to build a custom collection for a grid in Magento admin module. I have created a new collection method called "addAttributeHaving" which just does the following: public function ...
18
votes
1answer
7k views

How to Copy Code/Core system.xml file into Code/local in magento

i wanted some customization in admin panel so i have made changes in 1) "app/code/core/../system.xml file its working fine. But I don't want to change code inside core folder. Because of my ...
18
votes
3answers
10k views

Creating Custom Option on Product Save

I'm working on creating a custom option for my products automatically any time a product is created. What I've got so far is an observer that fires on the catalog_product_save_before event and runs ...
17
votes
8answers
45k views

“invalid form key. please refresh the page” - cannot login to admin panel

I regularly visit my site to make sure its working and noticed that images for products were not appearing, thinking it was a problem with indexing cache I tried to login to the admin panel and ...
17
votes
11answers
32k views

There are no commands defined in the “cache” namespace

Update Everything is working now but There are no commands defined in the "cache" namespace is still there. I tried chmod 777 -R var/generation, didn't fix a thing. AFAIK no module is enabled ...
17
votes
4answers
14k views

Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in admin

I am facing this error Required parameter 'theme_dir' was not passed when i try to save the product in admin. I checked the theme configuration it was assigned to the stores. Recently i have upgraded ...
17
votes
6answers
12k views

Magento 2 Custom Admin Action Redirected to Dashboard

I am taking the Magento 2 fundamentals development course and the Admin Router / Controller exercise seems out of date. The router does work, but the controller does not, it always just re-routes to ...
15
votes
3answers
10k views

One or more integrations have been reset because of a change to their xml configs

I have installed Magento2 in AWS server. After deploying, I get this warning message on top of admin dashboard. Warning : One or more integrations have been reset because of a change to their xml ...
15
votes
9answers
23k views

How to change magento2 admin url?

Once the installation is completed, is there a posibility to change admin url? If yes how can I do that?
15
votes
1answer
7k views

Where do I find the SYSTEM VALUE defaults? magento 2.1

I want to change the url rewrite area a bit - and I thought I would ask this question that has been bugging me for a bit: Where are the defaults set? For example for url rewrites, I have to uncheck "...
14
votes
20answers
40k views

Magento 2 Error ERR_TOO_MANY_REDIRECTS

I'm new to Magento, after installation of Magento 2 community edition.I am not able to access the admin panel. I am getting below error. This web page has a redirect loop Error ...
14
votes
2answers
4k views

How to change date format of magento 2 admin grid filter without using ui component?

Below is some_grid_block.xml , How can I change date format in calendar filter. <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
14
votes
2answers
4k views

Autologin on frontend from the backend

See the following scenario. I have some custom module that allows the frontend user to perform some actions on some custom entities. (details are not really important). The request is that an admin ...
13
votes
10answers
37k views

404 not found error for admin page

I installed Magento successfully, but the Admin page gives error: 404 not found. Please suggest a solution for this. The following is the error: 404 Not Found nginx/1.10.0 (Ubuntu)
13
votes
6answers
9k views

Admin config error: Undefined index: id in Iterator.php on line 59

Can someone please explain this error to me? Exception #0 (Exception): Notice: Undefined index: id in /home/staging/vendor/magento/module-config/Model/Config/Structure/Element/Iterator.php on line 59 ...
13
votes
1answer
5k views

Magento 2 : How can I load an admin grid with pre-defined filter values?

I want to create a link to a custom grid in my admin with pre-defined filters. The grid is made with a UI Listing Component (XML) and it has a column called form_id that is setup like this: <...
13
votes
3answers
2k views

How to insert an <iframe> in an Admin Panel <field>?

I'm creating a custom module which displays Google Maps in the frontend of Magento. To get those maps the Admin would have to enter and save the URL of the map location in the Admin Panel. This all ...
12
votes
9answers
18k views

Magento 2 “Attention Something Went Wrong” Clicking Content>Blocks; Page Doesn't Load Correctly

I am using Magento 2.0.4, and whenever I click on Content>Elements>Blocks I receive the following error message: "Attention Something went wrong." There is no more information, and after clicking OK ...
12
votes
5answers
11k views

Can I edit an Order and keep the payment information?

I have a customer that ordered 5 products, but 2 are out of stock and cannot fulfill the full order. However, when I edit the order (delete it and create a new one) to remove the two SKUs, the credit ...
12
votes
1answer
689 views

Create VCL for Magento 2

In the official documentation it says Varnish is supported out of the box and there should be an option to generate a VCL file compatible with Varnish 3 and Varnish 4. I can't find this using the ...
11
votes
23answers
38k views

Magento2 admin menu panel doesn't work

magento2 dashboard: All admin menu link don't work and have a strange icons. Why? I can't do anything.
11
votes
4answers
5k views

Cookies not working with subdomains

We have a main site at example.com. Logging into example.com/admin works fine there. But on a testing site at test.example.com/admin I cannot log into the admin without first deleting all example.com ...
11
votes
3answers
2k views

Email templates from admin

I have this strange issue with the Magento Transactional Emails. I have the same files on my local, development and production servers. From Admin > System > Transactional Emails > Add new template ...
11
votes
5answers
10k views

How to create a button in Magento 2 configuration section?

How can I add a button in Magento 2 backend configuration section and call a simple PHP method when clicked the button? This method call can be an AJAX call.
11
votes
2answers
3k views

What do “source” and “dataScope” mean in admin form Ui component configuraion file

There are source and dataScope nodes in Magento2 admin form UI component configuration. What do they mean and how are they supposed to be used? <field name="title"> <argument name="data" ...
11
votes
4answers
12k views

To add default filter to grid in Magento2?

I have created one custom module with title & status field attribute in admin grid. Grid collections in module_test_grid_block.xml <arguments> <argument name="id" ...
11
votes
2answers
200 views

Show Default values option in store switcher in admin product edit page

I am using Magento Enterprise Edition and I am super admin of it. For some admins, I have allowed only particular store to be accessed. For me, the default values option in store switcher of ...
10
votes
5answers
15k views

Restrict access to admin area by IP

What is the best way to restrict the access to the admin area by IP in Magento? Bear in mind that admin can work either from /admin or index.php/admin
10
votes
3answers
18k views

How do you create a new order state for an order status to be assigned to?

It's clear how to create a new order status. System > Order Statuses > Create New Status But how do you create a new state? "processing", "complete", "new" are examples of the default Magento order ...
10
votes
4answers
14k views

Hide Attributes and Other Fields in Product Edit Backend

To make editing of products (and maybe also categories) for the shop owner easier, we would like to hide some unnecessary tabs and fields from some users in the admin backend. This means: Hiding some ...
10
votes
3answers
6k views

How to apply a category's display setting to all categories?

I have many categories and instead of applying new settings to all categories one by one, i would like to know if this is possible to apply new settings to all categories at once? Thanks!
10
votes
3answers
13k views

why magento product url duplicating

I am using magento 1.7. i am faceing strange problem. magento making duplicate product url with random number with wrong url key please my attached screenshot I also empty table rewrite_urls and ...