Jump to content

Can’t modify the module translation


Recommended Posts

hi

I'm using the German language pack and translated the whole front office section (the German package isn't translated very well), but of course there are still enough English words in my shop, because I have to translate the modules as well. But when I hit the save button, to save my edited module translations I'll get always this error:

Forbidden
You don't have permission to access /adminxy/index.php on this server.

Why can I translate the front office section but not the module section? Should I edit the CHMOD permissions for my admin index.php file?

Edit: I changed the permissions but there's no change of the mentioned behavior.

Link to comment
Share on other sites

  • 4 months later...
  • 6 months later...

I had same problem. You need to change permission in modules direction for language php files. But when I tried to change I had problem with permission setup. Prestashop makes those translate php files automatically(those files had default permissions and I was not permission to change it) and I can't change permission to those files, I asked my host company to make those files so that I can change permission. And then I make write permission to module folder, sub-folders and files.
I hope it helps.

Link to comment
Share on other sites

I had same problem. You need to change permission in modules direction for language php files. But when I tried to change I had problem with permission setup. Prestashop makes those translate php files automatically(those files had default permissions and I was not permission to change it) and I can't change permission to those files, I asked my host company to make those files so that I can change permission. And then I make write permission to module folder, sub-folders and files.
I hope it helps.


please, could you write the path of the files and folders where you did your permission cange. Because modules folder can be in 2 directions and i didnot find language.php file or folder in modules directory.... for example /public_html/......./..... , and please write what permisson did you put to folders and files. Best regards
Link to comment
Share on other sites

  • 2 years later...

I have made a clean install of Prestashop v1.5.3.1 and as soon as the install procedure completed, I went directly to the “Installed module translations” under the “Default” theme and the “English” language and added a translation for the first item “Bank Wire” setting it to “Bank Wire/Transfer”.

 

I then clicked on the “Update translations” button and got back the familiar result I’ve been getting.

 

Forbidden

 

You don't have permission to access /_admin_/index.php on this server.

 

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

 

To make sure, after the previous test, I set every file and folder to 755 permissions and tried again, but to no avail.

 

So please can anyone provide a solution to this?

Link to comment
Share on other sites

  • 3 months later...

Hey guys!

does any one figured it out at least?

I´m new to prestashop and i love it.I have customized everything and then i wanted to fill the shop with products and then shock..... F**k...

403 Forbidden

 

You don't have permission to access /shop/admin****/index.php on this server.

 

 

I´m searching for days and days but.... nothing. Some one told me that it could be the mod_security on my apache2 but i have also a joomla site running without any problem. hmmm .

 

If there is somebody out there who could fix this problem, i will pay him a bit money . The problem appears only when i try to put some products to my shop in BO. I´m using the latest PS. I also speak german an italien if there is sombody ....please contact me.

 

PS: It works sometimes, so i put in 7 Products in 8 hours hahahaha.What a sh*t.

Edited by vossia (see edit history)
Link to comment
Share on other sites

hi thank for reply. after i cant get it work, i reinstalled the complete server. and now....tada it works perfect. hmmmm.....but now i dont have mod_security installed.My question is.

 

1.is there a guide to secure the webshop?

2.how necessery is mod_security on a apace2 server?

 

ps:im root on my kvm server with debian .so hosting configs can be changed every time.

 

ciao vossia

Link to comment
Share on other sites

2) Module_security is an apache module. This part of apache server helps to protect website from various attacks like sql injections, exploits, regular expressions etc. If you've got possibility - i suggest to use it :)

 

1) prestashop is totally safe, the main problem with security is with... non-safe external modules developed by noobs :P

Link to comment
Share on other sites

  • 5 months later...

Hi vekia,

I' having that problem too. From what i know, it happens only in the BO, using translations.

First, i have a "Fatal Error" after saving some translations (in the modules). As far as i can tell, the changes are updated...

Now, i have this error:

 

Forbidden
You don't have permission to access /prestashop/admin-dev/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

 

The starnge thing is that it only happens with the email template translation on the EN (default store language) language. On my other instaled lang (PT), it works - even in FR and ES. Only with EN email template translation i got that error.

 

Do you have any clue?

Thanks.

 

PS 1.4.8.2

Link to comment
Share on other sites

Here's the error log from my cPanel:

[Wed Dec 04 20:27:08 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:08 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/favicon.ico
[Wed Dec 04 20:27:07 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/403.shtml, referer: http://www.my-domain.com/prestashop/admin-dev/index.php?tab=AdminTranslations&lang=en&type=mails&token=1ea2fb35efbb85b31b95ce8f4d00dc7d
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{image_link}
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{button_url}
[Wed Dec 04 20:27:06 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{this_path}img
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:05 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:04 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/{shop_logo}
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/trustedshops/mails/en/rating_email.html?785523398780
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/sendtomyfriend/mails/en/send_to_my_friend.html?249773133080
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/trustedshops/mails/en/rating_email.html?785523398780
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/trustedshops/mails/en/{button_url}, referer: http://www.my-domain.com/prestashop/modules/trustedshops/mails/en/rating_email.html?785523398780
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/sendtomyfriend/mails/en/{image_link}, referer: http://www.my-domain.com/prestashop/modules/sendtomyfriend/mails/en/send_to_my_friend.html?249773133080
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/trustedshops/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/trustedshops/mails/en/rating_email.html?785523398780
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/multibanco/mails/en/order_conf_mb.html?810928586405
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/sendtomyfriend/mails/en/send_to_my_friend.html?249773133080
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/sendtoafriend/mails/en/send_to_a_friend.html?390679801814
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/multibanco/mails/en/order_conf_mb.html?810928586405
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/multibanco/mails/en/{this_path}img, referer: http://www.my-domain.com/prestashop/modules/multibanco/mails/en/order_conf_mb.html?810928586405
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/sendtomyfriend/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/sendtomyfriend/mails/en/send_to_my_friend.html?249773133080
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/sendtoafriend/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/sendtoafriend/mails/en/send_to_a_friend.html?390679801814
[Wed Dec 04 20:27:03 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/multibanco/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/multibanco/mails/en/order_conf_mb.html?810928586405
[Wed Dec 04 20:27:01 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/referralprogram/mails/en/referralprogram-congratulations.html?927541479003
[Wed Dec 04 20:27:01 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/referralprogram/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/referralprogram/mails/en/referralprogram-congratulations.html?927541479003
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/followup/mails/en/followup_2.html?167057173326
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/mailalerts/mails/en/customer_qty.html?879601452034
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/followup/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/followup/mails/en/followup_2.html?167057173326
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/paypal/mails/en/error_reporting.html?760254125111
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/mailalerts/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/mailalerts/mails/en/customer_qty.html?879601452034
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/blockwishlist/mails/en/wishlink.html?239439311437
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/paypal/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/paypal/mails/en/error_reporting.html?760254125111
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/blockwishlist/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/blockwishlist/mails/en/wishlink.html?239439311437
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/blocknewsletter.page/mails/en/newsletter_conf.html?366428782232
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/birthdaypresent/mails/en/birthday.html?91127659194
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/modules/blocknewsletter/mails/en/newsletter_conf.html?989110837225
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/blocknewsletter.page/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/blocknewsletter.page/mails/en/newsletter_conf.html?366428782232
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/blocknewsletter/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/blocknewsletter/mails/en/newsletter_conf.html?989110837225
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/modules/birthdaypresent/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/modules/birthdaypresent/mails/en/birthday.html?91127659194
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/404.shtml, referer: http://www.my-domain.com/prestashop/mails/en/cheque.html?635936666280
[Wed Dec 04 20:26:57 2013] [error] [client xx.xxx.xxx.xx] File does not exist: /my-domain.com/prestashop/mails/en/{shop_logo}, referer: http://www.my-domain.com/prestashop/mails/en/cheque.html?635936666280

I don't know if it helps...

Edited by mtm (see edit history)
Link to comment
Share on other sites

The starnge thing is that it only happens with the email template translation on the EN (default store language) language. On my other instaled lang (PT), it works - even in FR and ES. Only with EN email template translation i got that error.

 

Well, the translations are not updated on other languages in the email templates but only for the email modules. Only works on the core email templates in PT, ES or FR - despite the blank "fatal error" page after saving the modifications.

For the EN email templates, there is no "fatal error" but the "Forbidden" error described above. And no modifications are saved to the translations: not for the core or module emails...

 

Any help???

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...