Search the Community
Showing results for tags 'folders'.
-
Hello, I am trying to understand how some tables of prestashop work to develop my own product import software from my ERP. I generate the products and their combinations, the categories, features and other options, but when I get to the table of images I can't understand it. In the ps_image table, the id_image is what determines the path of the image, that is, the id_image 123 tells us that its images are stored in the path img/p/1/2/3. But when we get to image 1234, there are no more images in the path img/p/1/2/3. What about id_image 123? Are the files reassigned and moved to another folder?
- 1 reply
-
- autoincrement
- id_image
- (and 5 more)
-
Hello, I've recently updated my shop from 1.4 to 1.5. When I was using 1.4, I loaded tons of products with CSV-import. During the upgrade I realized that even though the shop have just over 30,000 products, the img/p contained hundreds of thousands of files, some of which were associated with products deleted from the site, surely because of various imports and batch product deletion. My images were originally in "1.4" filesystem ( img/p/x-y.jpg) After using the PS "move" tool to move the to the new img/p/x/y/z/... filesystem and regenerating thumbnail , I see I still have over 100.000+ images in img/p/ root directory. However, the "move image" said that all images were moved succesfully. Having so many products, I do not know if it's true or not, because I did not have the possibility to check for all product pictures. I think/hope that the "move images" feature rely on database ps_img table to check what are the "right" images to move... Am I right ? Questions : - Is it safe to delete those img/p/...jpg images (they are eating up a lot of space) ? Are those "orphans" images or should I keep them on the server ? - Is there a way or a tool to cleanup unused images from ftp in order to keep img/p clean and get rid of "unlinked" images ? Any suggestion is really appreciated.
-
Hi all! I'm currently working on moving shop from one server to another and I need to clear all cache folders (not only those that are being cleaned using PA Performance section). There's a folder named "cache" in main folder, but it only contains other folders with the same index.php file. I don't know where exactly I should start.
-
Hello, From some days ago, when someone visits my site, my cpanel error log shows this message: /home/mysite/public_html/es: No such file or directory WARNING: /home/mysite/public_html/es: Can't access file Or this one if the English version is the one accessed: /home/mysite/public_html/en: No such file or directory WARNING: /home/mysite/public_html/en: Can't access file Despite of this, the web works all right. I don't have any /en or /es folders in /public_html. Does anyone know what can this be about and how to fix it?
-
Hi all, I just updated to the latest version on ps 1.6.0.9, and I lost many on my customisation... but the problem is another one... On the mobile theme (I'm working with the default theme), is there any way to hide the label "categories" or change it to the label "menù" which should be more correct? I'll post a screenshot to be more clear. And, the last thing, is it possible to change the order of the modules? Should be better to show at first the pictures (home sliders), menu, and only then, the chart (carrello in Italian). If not possibile, the team should fix it in further version of ps; because final customers may want to see products at first, above all if they have'nt bought anything yet. Thanks for any hint. site here
- 6 replies
-
- categories
- folders
-
(and 4 more)
Tagged with:
-
In order to end the settings for my store, where can I find a correct list with the permission to be set to any file or folder? In setup phase, most folders are 777 and this is not good...
-
Hello, I am new onboard. After install prestashop i correct chmod of files and folder but after a while i noticed some files is created with chmod 777 ..! prestashop/themes/default/cache/b8a41e8cac611f9c98048de467bfbaec_all.css 777 prestashop/themes/default/cache/1cb60e3dc620d48c0f81ea86f24f8a89.js 777 prestashop/themes/default/cache/b68aa8c2d10c011851f75aca6dc62f0d_all.css 777 prestashop/themes/default/cache/0e9a6cabd657d23d7e829b4cd7ae64ae.js 777 ... Advices needed.
-
Hi all, like many, I've found myself in the impossibility to install Prestashop due to lack of permissions with a handful of folders and files. I've thought about 777 CHMOD all the red X folders recursively. Not only it's an annoying task (/modules/ folder anyone?), but you'll have to CHMOD again any time you need to modify/upgrade something. I've come across a definitive solution for this problem. It's for Pro, though. 1-> Connect to your hosting via SSH (any client). 2-> Log in as @root and then write 3-> adduser writeanynamehere 3a-> (Optional) You can also give sudo permission to the user you just created via visudo 4-> Then write cd /var/www/ 5-> chown www-data:www-data * -R 6-> usermod -a -G www-data usernameaddedatstep2 7-> (Optional) restart your web server No more write permissions error. Have fun Edit: Sorry, I've forgot to mention that this solution has been tested on Ubuntu Server x64 12.10 (Quantal Quetzal) although it's safe to assume that, syntax aside, it should be similar for all Linux distros and versions.
-
- 1
-
-
- write
- permissions
- (and 4 more)
-
Hello, This is what I use: Prestashop v1.4.7 freehosting.com FileZilla I get an error on system compatibility test: Allowed to create new files and folders [X] I ran test that I found in another forum: <?php $funcs = array('fopen', 'fclose', 'fread', 'fwrite', 'rename', 'file_exists', 'unlink', 'rmdir', 'mkdir', 'getcwd', 'chdir', 'chmod'); foreach ($funcs as $func) if (!function_exists($func)) echo "$func: missing\n"; ?> I got the result: 'fwrite' is missing Another person who used this test got problem with 'chmod' and he said that this function was disabled in php.ini file by his hoster. (more info: http://ffct.cc/prestashop-allowed-to-create-new-files-and-folders/ ) What should I do in my situation? I contacted with freehosting.com maybe they can enable 'fwrite' function in php.ini file. Is there any things that I should do? Any help is appreciated!