Jump to content

Prestashop 1.7.1 Internal error 500 - translation problem with french ?


Recommended Posts

Hello

 

I face a problem with my prestashop 1.7.1

I encounter Internal Server error 500 since I change the language to French.

I see in log file that something wrong with missing translation (see screenshot)

I am working in debug mode since then to avoid crash.

Can someone help? I am not specialist for that

 

Thanks

post-831420-0-37169400-1496728884_thumb.png

Link to comment
Share on other sites

Hello, 

 

Please see this ticket and the last comment:

http://forge.prestashop.com/browse/BOOM-2585

 

The "missing" translations shouldn't be the problem here. The translation are there in fact (interface is translated), it is simply that Symfony don't see it and shows this error.

This will be fixed in version 1.7.2.

 

Can you please open a Forge ticket telling us what you did before it crashed, besides adding the French language?

did you made some other changes ?

Unfortunately, I can't reproduce your issue.

 

Thanks and regards, 

  • Like 1
Link to comment
Share on other sites

Hi

 

Thank you for your reply

Indeed I doesn't seem to be the source of my problem.

I installed again prestashop from scratch and it appears again.

A lot more when I open the module section

 

This morning just going to back office I have the following error before login

RuntimeException in classes.php line 109:Failed to start the session: already started by PHP.

  1. in classes.php line 109
  2. at NativeSessionStorage->start() in classes.php line 484
  3. at Session->start() in SessionTokenStorage.php line 90
  4. at SessionTokenStorage->hasToken('ANONYMOUS_USER') in CsrfTokenManager.php line 54
  5. at CsrfTokenManager->getToken('ANONYMOUS_USER') in classes.php line 7844
  6. at Router->generate('admin_product_catalog') in Link.php line 722
  7. at LinkCore->getAdminLink('AdminProducts') in AdminController.php line 1999
  8. at AdminControllerCore->getTabs('9', '2') in AdminController.php line 2001
  9. at AdminControllerCore->getTabs('2', '1') in AdminController.php line 2001
  10. at AdminControllerCore->getTabs() in AdminController.php line 1854
  11. at AdminControllerCore->initHeader() in AdminController.php line 53
  12. at AdminController->initHeader() in AdminLoginController.php line 146
  13. at AdminLoginControllerCore->initContent() in Controller.php line 205
  14. at ControllerCore->run() in Dispatcher.php line 369
  15. at DispatcherCore->dispatch() in index.php line 95

I Installed AgileMultiseller module, I don't know if there a link on the increase of Internal error, but I had some already.

And before installing again prestashop I tried without Agile module, with error again.

 

My host is Gandi, I tried to check with them but at the moment, they don't have a clue.

 

I am lost

Link to comment
Share on other sites

  • 2 years later...
On 6/7/2017 at 5:17 PM, Alex Even said:

Bonjour, 

 

S'il vous plaît voir ce billet et le dernier commentaire:

http://forge.prestashop.com/browse/BOOM-2585

 

Les traductions "manquantes" ne devraient pas être le problème ici. La traduction existe bel et bien (l'interface est traduite), c'est simplement que Symfony ne la voit pas et affiche cette erreur.

Cela sera corrigé dans la version 1.7.2.

 

Pouvez-vous s'il vous plaît ouvrir un ticket Forge nous disant ce que vous avez fait avant qu'il ne s'écrase, en plus d'ajouter la langue française?

Avez-vous fait d'autres changements?

Malheureusement, je ne peux pas reproduire votre problème.

 

Merci et salutations, 

all is not solved in 1.7.6 unfortunately ...
or else the theme is not in correctly is not developed

 

[PrestaShopException]

No template found for index
at line 68 in file classes/Smarty/TemplateFinder.php

63. return $tpl; 64. } 65. } 66. } 67. 68. throw new PrestaShopException('No template found for ' . $template); 69. } 70. 71. private function getTemplateHierarchy($template, $entity, $id) 72. { 73. $entity = basename($entity);

TemplateFinderCore->getTemplate - [line 1402 - classes/controller/FrontController.php] - [4 Arguments]

FrontControllerCore->getTemplateFile - [line 1293 - classes/controller/FrontController.php] - [3 Arguments]

FrontControllerCore->setTemplate - [line 41 - controllers/front/IndexController.php] - [1 Arguments]

IndexControllerCore->initContent - [line 291 - classes/controller/Controller.php]

ControllerCore->run - [line 515 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 28 - index.php]

Edited by love-company (see edit history)
Link to comment
Share on other sites

  • 2 months later...

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...