Questions tagged [folder]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
3answers
4k views

No Inode space!; How to delete Magento sessions folder's contents?

Hopefully, someone can help me, A Magento website I'm managing keeps going down, I've determined it to be the fact that it has used up all of the Inode space on the server. The output to df -i is ...
0
votes
3answers
722 views

How do I open a csv file in the root of my module directory?

I've been writing a rather complicated module as of late. One of the steps I need to do is pre-populate one of the models with all of the data it needs to work right. This data is slowly replaced ...
0
votes
2answers
107 views

Writeable permissions error 777 | Magento 2

I am upgrading Magento 2, and all Readiness checks are passed after giving 777 permission to pub/meda, generated folder. But during upgrade process it stops throwing error of non-writeable folder for ...
0
votes
0answers
43 views

Pub folder index file not working

Here is my website url of pub folder https://www.marketplace.jawadditaksal.org/pub/ when I installed Magento in the server by default Magento adds two .htaccess files: one in the domain directory and ...
0
votes
1answer
89 views

What is the use of Test/Unit folder in module ? What is the purpose?

In magento 2, I see in so many modules that there are Test/Unit folder available. I know little bit about that it used for unit test purpose. But, I want to know that : What is the purpose of this ...
7
votes
4answers
15k views

Cleaning up Magento installation: Which files & folders can be deleted?

I want to make some space on disk and clean What file & folders are safe to delete? I found /media/import/ files are safe to delete Deleting files and folder effect performance too? Is it ...
0
votes
1answer
679 views

Override Magento UI js file

How can I override this file on my theme? /vendor/magento/module-ui/view/frontend/web/js/view/messages.js I'm a newbie to M2
1
vote
2answers
319 views

How to know the correct path to extend in Magento?

I am new in Magento. I am having a lot of problems to achieve each step in the learning curve. I needed to add a custom shipping method. I was fallowging this tutorial: https://www.mageplaza.com/...
1
vote
0answers
26 views

need the CMS path directive for a app/code module folder

i added my own module under /app/code/my/module/ , activated it and put a java script under /app/code/my/module/view/frontend/web/js/myjs/myjs.js it works so far. The javascript is called within a ...
4
votes
3answers
123 views

alias for login page as /accounts

We have a magento website on /store folder. Idea is, on root folder, index.php will have company website. /store folder will have magento folder. Idea is, www.example.com/account should load login ...
1
vote
0answers
41 views

Magento 2 : How to Get List Image in Custom Folder

In magento 2, I have custom folder images in Namespace_Module:images/default. So I want show all image/info in this folder like Wysiwyg in
0
votes
1answer
665 views

How to move test store to new directory or domain? [duplicate]

I am messing around with a test store so I can get my settings right and theme adjusted. My plan is to move from Bigcommerce to Magento 2.0, so I want to have it all ready to go before I move and "...
1
vote
0answers
21 views

Root folder structure different depending on where you download [duplicate]

I'm brand new to Magento and I have gone straight to M2. I had some initial issues getting M2 up and running and worked through a number of different solutions. What I have noticed is that depending ...
2
votes
2answers
5k views

Magento2 static-content:deploy not generating admin

When using: bin/magento setup:static-content:deploy Only the blank and luma theme will be generated but not the admin one. Does anyone know if there is a setup somewhere to specify the themes?
1
vote
1answer
192 views

Magento Extension - Where to store images?

I am coding an extension for Magento 1.9. Now I need an image in my template. Where (which folder) should I store it? And how to access it with an <img>-tag?
1
vote
1answer
61 views

I have a wordpress site that I would like to add a Magento store to

I have an existing wordpress site with a magento instance in a subfolder named /shop. When I type in my address and add /shop to the domain it just routes back to the wordpress site. However when I ...
1
vote
1answer
547 views

Magento 2: Updated file not working

I want to update the class Select and its getValuesHTML() method which is saved here: module-catalog/Block/Product/View/Options/Type/Select.php I have made a copy of this file and placed it in my ...
2
votes
2answers
2k views

How do I stop Folder Structure from being visible in browser (directory listing)?

I have the following problem: In the browser it is possible to access the folder structure of skin/frontend/.... folders and subfolders. The browser shows an index of the respective folder with all ...
0
votes
1answer
15 views

Add a group of attributes to all products

I created a new folder of attributes to a product category, and its working fine. There is a way to add this folder of attributes to all products categories automatically? Or should i add one by one?
2
votes
3answers
455 views

Can we IP protect the Magento Cron?

Is it ideal to IP protect the Magento cron.php? instead of folder protecting it (as referred in the http://devdocs.magento.com/guides/v2.0/config-guide/secy/secy-cron.html) because we want to harden ...
0
votes
1answer
37 views

Second website on another domain's folder

Is this possible: Main Website A: www.domain.com Website B: www.second-domain.com/sitefolder We need a second website to work on different domain's sub folder. Both sites are on the same server. I ...
2
votes
2answers
1k views

File and folder structure to download [duplicate]

I am new in Magento. Which files and folders should exclude while downloading a running Magento site to install in localhost ??
3
votes
2answers
561 views

magento subfolder protect apache

I have some subfolders in my Magento DocumentRoot like /vendor/ and /media/ this folders are not protected and are reachable from the web for everyone. Now I want to protect these folders through ...
0
votes
0answers
33 views

_MACOSX folder in Magento directory

An old webshop of ours has a _MACOSX folder in its directory. When I backup the webshop it takes a very long time to backup _MACOSX folder. Probally because it is a whole copy of the files in the ...
2
votes
2answers
226 views

Change folder structure

I have a custom module in which i want to change folder structure...how to change default folder structure for image upload..i want to upload and fetch images from newly created folder for e.g "r->...