Jump to content

Error When Import New Localization Property Language->Name Length (34) Must Be Between 0 And 32


Recommended Posts

Dears, 

Greetings

 

Really i need your help guys, it's not my first time to install or use prestashop before everything works good but now when i purchased a private VPS with Cpanel account and installed Prestashop i think that not everything works as it should be so any help ?

 

i am using Prestashop 1.6.1.4 with a clean installation 

 

first when i tried to add Localization or Arabic Language from translation tab i faced this error

 

i guess i need to change the maximum length but from where ?! 

 

language.png

[PrestaShopException]

Property Language->name length (34) must be between 0 and 32
at line 909 in file classes/ObjectModel.php

904.             }
905. 
906.             $message = $this->validateField($field, $this->$field);
907.             if ($message !== true) {
908.                 if ($die) {
909.                     throw new PrestaShopException($message);
910.                 }
911.                 return $error_return ? $message : false;
912.             }
913.         }
914. 
ObjectModelCore->validateFields - [line 825 - classes/Language.php]
LanguageCore::checkAndAddLanguage - [line 970 - classes/Language.php] - [4 Arguments]
LanguageCore::downloadAndInstallLanguagePack - [line 342 - classes/LocalizationPack.php] - [3 Arguments]
LocalizationPackCore->_installLanguages - [line 97 - classes/LocalizationPack.php] - [1 Arguments]
LocalizationPackCore->loadLocalisationPack - [line 203 - controllers/admin/AdminLocalizationController.php] - [4 Arguments]
AdminLocalizationControllerCore->postProcess - [line 178 - classes/controller/Controller.php]
ControllerCore->run - [line 367 - classes/Dispatcher.php]
DispatcherCore->dispatch - [line 58 - admin/index.php]

also another thing !

in the (Advanced Parameters > Configuration Information)

under CHECK YOUR CONFIGURATION tab

 

Optional parameters Please fix the following error(s)

 

but there is no errors appeared to fix!

 

check.png

 

 

Really i need your help :(

and why i have to edit files and before in the previ. servers there is no need to change anything !?

 

Regards.

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