Miha02 Posted January 11, 2020 Share Posted January 11, 2020 (edited) Hello, I'm trying to modify email templates in International->translations and then I choose Email translations -> body -> mytheme -> English. It loads all the templates, but when I try to save changes, it just loads and doesn't load. Eventually it would throw me 500 error after 5-10mins of loading, but changes are not saved. When I modify my template file- file from server (/themes/mytheme/mails/en/file-template.html), the changes are visible in BO, but I cant make any changes on template file in BO. The problem is the same if I try to modify "classic" theme email templates. This is the error message that I get from debug mode: Warning on line 2074 in file /home/*username*/public_html/classes/Tools.php [2] file_exists(): open_basedir restriction in effect. File(/home/*username*/public_html/modules/.ftpquota/mails/) is not within the allowed path(s): (/home/*username*:/usr/lib/php:/usr/local/lib/php:/tmp) Warning on line 2074 in file /home/*username*/public_html/classes/Tools.php [2] file_exists(): open_basedir restriction in effect. File(/home/*username*/public_html/modules/ps_bestsellers.zip/mails/) is not within the allowed path(s): (/home/*username*:/usr/lib/php:/usr/local/lib/php:/tmp) Warning on line 2074 in file /home/*username*/public_html/classes/Tools.php [2] file_exists(): open_basedir restriction in effect. File(/home/*username*/public_html/modules/ps_newproducts.zip/mails/) is not within the allowed path(s): (/home/*username*:/usr/lib/php:/usr/local/lib/php:/tmp) Warning on line 2074 in file /home/*username*/public_html/classes/Tools.php [2] file_exists(): open_basedir restriction in effect. File(/home/*username*/public_html/modules/ps_specials.zip/mails/) is not within the allowed path(s): (/home/*username*:/usr/lib/php:/usr/local/lib/php:/tmp) Has anyone faced the same problem ? Can someone help me with that ? Regards, M. Edited January 11, 2020 by Miha02 (see edit history) Link to comment Share on other sites More sharing options...
Miha02 Posted January 12, 2020 Author Share Posted January 12, 2020 I've managed to get rid of Warnings by simply removing those zip files and .ftpquota - i dont know why this was buggig PS but.. Its still working now, even faster, but same result with email templates. They'r not saving, cant save, it just keep on loading until I get this after few minutes: Quote Request Entity Too Large The requested resource does not allow request data with GET requests, or the amount of data provided in the request exceeds the capacity limit. Additionally, a 413 Request Entity Too Large error was encountered while trying to use an ErrorDocument to handle the request. When I click "save and stay" (or just save), something is being send but no response except "Request entity too large". Any suggestions ? Link to comment Share on other sites More sharing options...
selectshop.at Posted January 12, 2020 Share Posted January 12, 2020 The problems you are having is not a bug of Prestashop but you are on bad configured server. You should ask for support of your provider. Perhaps you installed your shop on wrong directory or this directory is not having the needed permissions. (ftpquota is a server added restriction for your host on the server, open_basedir restriction in effect are restrictions on your directories, Request entity too large is a limit set by your server on HTTP requests). Contact your service provider, as your server seems to be not correct configured. Link to comment Share on other sites More sharing options...
luca_p Posted November 4, 2022 Share Posted November 4, 2022 i'm having the same issue, when i modify the email content and press SAVE it doesn't give me error but changes are not saved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now