Search the Community
Showing results for tags 'File Permissions'.
-
file upload PrestaShop cant upload file
Jegadeesh posted a topic in Configuring and using PrestaShop
I cant upload files(add files) in prestashop backoffice like add category images, image slider and theme add file images. I dont know whats the problem? can any one tell me possible suggestions to check? -
Hi I have the following error : Check your configuration Required parameters: Please fix the following error(s) Set write permissions for the "cache" folder. Set write permissions for the "img" folder and subfolders. Optional parameters: OK I have tried setting permissions via ftp and they seem to be changed, however if I refresh the BO I still get the above issue. PS ver : 1.5.6.2 Any help would be greatly appreciated. Thanks
- 2 replies
-
- file permissions
- required parameters
-
(and 2 more)
Tagged with:
-
I am attempting to install Prestashop in a local Vagrant environment. For information on Vagrant here's a link. http://www.vagrantup.com Basically it creates a virtual box (in this case CentOS) on your machine ( I'm using a MacBook Pro) During installation, I'm having serious issues. They appear to be permissions based. as a last resort, I've started with CHMOD 0777 on everything to see if it works, but it's still breaking. here's a copy of my error log... [Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning: file_put_contents(/domain/www/translations/en/fields.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning: file_put_contents(/domain/www/translations/en/errors.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning: file_put_contents(/domain/www/translations/en/admin.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning: file_put_contents(/domain/www/translations/en/pdf.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 123, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:11 2013] [error] [client 33.33.33.1] PHP Warning: file_put_contents(/domain/www/translations/en/tabs.php): failed to open stream: Permission denied in /domain/www/classes/Language.php on line 128, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning: include(/domain/www/translations/en/tabs.php): failed to open stream: No such file or directory in /domain/www/controllers/admin/AdminTranslationsController.php on line 579, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning: include(): Failed opening '/domain/www/translations/en/tabs.php' for inclusion (include_path='/usr/share/pear:/vagrant:/usr/include/php:.') in /domain/www/controllers/admin/AdminTranslationsController.php on line 579, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning: Invalid argument supplied for foreach() in /domain/www/controllers/admin/AdminTranslationsController.php on line 581, referer: http://local.domain/install/index.php [Fri Jun 14 21:04:16 2013] [error] [client 33.33.33.1] PHP Warning: copy(/domain/www/img/l/1.jpg): failed to open stream: Permission denied in /domain/www/install/models/install.php on line 323, referer: http://local.domain/install/index.php [Fri Jun 14 21:08:25 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(): Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/fr.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/sql_install.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/prestashop.pub): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/de.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/logo.gif): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(/domain/www/modules//gamification/gamification.php): failed to open stream: Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true [Fri Jun 14 21:08:32 2013] [error] [client 33.33.33.1] PHP Warning: ZipArchive::extractTo(): Permission denied in /domain/www/classes/Tools.php on line 1979, referer: http://local.domain/install/index.php?restart=true it might be the apache user, but I'm still a novice at linux users/groups any suggestions would be appreciated.
-
My Website was hosted at a shared hosting service. It was working fine. Then the same hosting company offered a shared hosting package with unlimited space and bandwidth, so I jumped at the chance and purchased it. I asked them to move my website to the new hosting plan which they did, and asked me to point my domain's name servers to point to the new server. However once the domain name propagated and I was accessing my website on the new server I noticed that some of the tags in the tag cloud are not working properly. There are about 60-70 tags on my website and they are very useful for my customers to find what they want, as all products with that tag can be listed together when clicked on them (Even if they are in different categories)/ However when I click on a few tags, I get this error: Forbidden You don't have permission to access /search on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Server error log: [sun May 20 13:51:48 2012] [error] [client 112.134.241.229] File does not exist: /home/[myusername]/public_html/favicon.ico [sun May 20 13:51:48 2012] [error] [client 112.134.241.229] File does not exist: /home/[myusername]/public_html/403.shtml, referer: http://www.[mywebsite].com/ Please note this only happens on a few tags not all. Most tags are working fine. There does not seem to be a pattern on which tags are affected, but always the same tags are affected even after a re-installation. If it is a permission error, why aren't all tags affected? I have tried the following steps without success. 1. Regenerate the .htaccess file many times. 2. Install a new copy of Prestashop. Problem comes back as soon as the database is imported even without restoring the other customized theme files/modules/Images/config. So basically a new installation with the same database gives the same error. 3. Give 777 permissions recursively to all files and subfolders of download, img, mails, modules, translations, upload folders. I know, I know, It is wrong, but I am desperate. By the way I tried to copy the site back to the old server and this error is not seen when the site is run on that server. So it is most likely a server issue, but my host is just a reseller and is not able to help me without narrowing down the problem. Any help will be greatly appreciated. Thanks in advance. Regards Uditha
- 1 reply
-
- Access Denied Error
- File Permissions
-
(and 1 more)
Tagged with: