When trying to access my magento site I keep getting 404 errors and running sudo tail /var/log/nginx/error.log I see the following: 2023/10/19 20:26:32 [warn] 318594#318594: *166 using uninitialized "mage_root" variable, client: x.xx.xxx.xx, server: example.com, request: "GET /subdirectory/ HTTP/1.1", host: "example.com" 2023/10/19 20:26:32 [error] 318594#318594: *166 open() "/var/www/example.com404" failed (2: No […]
Magento1
I am trying to show all my attachments in my grid but the grid is showing only the last one that I uploaded, but in the database and on the frontend it shows all and when i do filter it show all without filter its only show last one. can […]
how do i remove “More Information” its showing up on the bottom of the product page. where is this coming from? its in the main tabs which is fine, but separately its also showing up at bottom, before the footer.
I am transfering a magento website and I have lost nginx settings. But I have full access in the database. In my case I want to find out upon each store url what values must have the MAGE_RUN_CODE and MAGE_RUN_TYPE fastcgi params. Therefore I have tried the following query directly […]
In particular, there’s an attribute for the banner at the top of the product page that gets updated when there’s a new promotion/event that includes that product, currently, it’s being done manually going through each product one by one, it’s very time-consuming. Is there a better way?
I looked at this question but I believe magento has changed since then I am trying to set the location block for calling magento 2.4.6-p3 from a subdirectory with the following in my nginx 1.24 server configuration: location ^~ /subdirectory/ { set $MAGE_ROOT /var/www/example.com/subdirectory; include /var/www/example.com/subdirectory/nginx.conf.sample; } but when running […]
I have a problem with the json output when sending a request to the API. I receive data in this format: "{n "name": "John",n "age": 30,n "car": null,n "address": {n "street": "123 Main St",n "city": "Anytown",n "zip": "12345"n }n}" I need the data in this format: { "name": "John", "age": […]
I am experiencing a very strange issue on Magento (version 2.4). Due to a mistake, we imported some incorrect products. To rectify this, we reimported the correct ones. Now, all the products are correct, and the ecommerce works fine but the search function no longer works. When attempting to search […]
I’ve enabled single-store mode and created a new product using the async/bulk/V1/products functionality (MagentoAsynchronousOperationsModelMassSchedule). Initially, all attributes of this product are saved under store_id = 0 (admin store). When editing the product via the admin panel, the attribute values are appropriately updated in the respective tables (e.g., varchar) for the […]