Jump to content

(Ayuda) Problemas de clonación con Prestashop 1.7.6


Recommended Posts

Hola,

Tengo Plesk y he duplicado mi web de prestashop de tienda privada para hacerla pública con otro dominio. Me encuentro con algunos problemas tras haber configurado la web correctamente, tanto base de datos y demás, carpeta de caché vaciada...

 

Cuando en la configuración del fichero defines.inc.php configuro esta variable como "true"

define('_PS_MODE_DEV_', false);

La web funciona correctamente, no me aparece ningún error en la web, pero cuando lo pongo en false, sale error 500.

Estos son los errores que me aparecen en el log.

=================================================================

Advertencia 1 de apache

Cita

AH01071: Got error 'ilesystemTrait.php:98PHP message: PHP 17. file_exists($filename = '/var/www/vhosts/midominio.es/subdominio/b2b/var/cache/prod//localization/CLDR/P/L/') /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php:104PHP message: PHP Fatal error: Uncaught PrestaShop\\PrestaShop\\Core\\Data\\Layer\\DataLayerException: Unable to persist data in cache data layer in /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:124\nStack trace:\n#0 /var/www/vhosts/midominio.es/httpdocs/src/Core/Data/Layer/AbstractDataLayer.php(196): PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite('es-ES', Object(PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData))\n#1 /var/www/vhosts/midominio.es/httpdocs/src/Core/Data/Layer/AbstractDataLayer.php(102): PrestaShop\\PrestaShop\\Core\\Data\\Layer\\AbstractDataLayer->saveReadPropagationResult('es-ES', Object(PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData))\n#2 /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleDataSource.php(62): PrestaShop\\PrestaShop\\Core\\Data\\Layer\\AbstractDataLayer->read('es-ES')\n#3 /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleRepository.php(60): PrestaShop\\PrestaShop...'

 

Advertencia 2 de apache

Cita

    AH01071: Got error ' class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { .....PHP message: PHP 12. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite($localeCode = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'deva...PHP message: PHP 13. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->getItem($key = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:118PHP message: PHP 14. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->doFetch($ids = [0 => 'es-ES']) /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:159PHP message: PHP 15. file_exists($filename = '/var/www/vhosts/midominio.es/subdominio/b2b/var/cache/prod//localization/CLDR/P/L/cJV91gceoa4p3mO9SNEJ') /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/FilesystemTrait.php:60PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/midominio.es/subdominio/b2b/var/cache/prod//localization/CLDR/P/L/) is not within the allowed path(s): (/var/www/vhosts/midominio.es/:/tmp/) in /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php on line 104PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /var/www/vhosts/midominio.es/httpdocs/index.php:0PHP message: PHP 2. Dispatcher->dispatch() /var/www/vhosts/midominio.es/httpdocs/index.php:28PHP message: PHP 3. PageNotFoundController->run() /var/www/vhosts/midominio.es/httpdocs/classes/Dispatcher.php:515PHP message: PHP 4. PageNotFoundController->init() /var/www/vhosts/midominio.es/httpdocs/classes/controller/Controller.php:273PHP message: PHP 5. PageNotFoundController->init() /var/www/vhosts/midominio.es/httpdocs/classes/controller/FrontController.php:271PHP message: PHP 6. PrestaShop\\PrestaShop\\Core\\Localization\\Locale\\Repository->getLocale($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/classes/controller/Controller.php:189PHP message: PHP 7. PrestaShop\\PrestaShop\\Core\\Localization\\Locale\\Repository->getNumberSpecification($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/Locale/Repository.php:149PHP message: PHP 8. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleRepository->getLocale($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/Locale/Repository.php:173PHP message: PHP 9. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleDataSource->getLocaleData($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleRepository.php:60PHP message: PHP 10. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->read($id = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleDataSource.php:62PHP message: PHP 11. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->saveReadPropagationResult($id = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { .....PHP message: PHP 12. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite($localeCode = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'deva...PHP message: PHP 13. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->save($item = class Symfony\\Component\\Cache\\CacheItem { protected $key = 'es-ES'; protected $value = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = [...]; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = [...]; protected $decimalPatterns = [...]; protected $percentPatterns = [...]; protected $currencyPatterns = [...]; protected $currencies = [...] }; protected $isHit = FALSE; protected $expiry = NULL; protected $defaultLifetime = 0; protected $tags = []; protected $prevTags = []; protected $innerItem = NULL; protected $poolHash = NULL }) /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:121PHP message: PHP 14. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->commit() /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:203PHP message: PHP 15. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->doSave($values = ['es-ES' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = [...]; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = [...]; protected $decimalPatterns = [...]; protected $percentPatterns = [...]; protected $currencyPatterns = [...]; protected $curre

 

Error  de apache 1

Cita

   AH01071: Got error ' class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { .....PHP message: PHP 12. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite($localeCode = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'deva...PHP message: PHP 13. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->getItem($key = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:118PHP message: PHP 14. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->doFetch($ids = [0 => 'es-ES']) /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:159PHP message: PHP 15. file_exists($filename = '/var/www/vhosts/midominio.es/subdominio/b2b/var/cache/prod//localization/CLDR/P/L/cJV91gceoa4p3mO9SNEJ') /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/FilesystemTrait.php:60PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/midominio.es/subdominio/b2b/var/cache/prod//localization/CLDR/P/L/) is not within the allowed path(s): (/var/www/vhosts/midominio.es/:/tmp/) in /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Traits/FilesystemCommonTrait.php on line 104PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /var/www/vhosts/midominio.es/httpdocs/index.php:0PHP message: PHP 2. Dispatcher->dispatch() /var/www/vhosts/midominio.es/httpdocs/index.php:28PHP message: PHP 3. PageNotFoundController->run() /var/www/vhosts/midominio.es/httpdocs/classes/Dispatcher.php:515PHP message: PHP 4. PageNotFoundController->init() /var/www/vhosts/midominio.es/httpdocs/classes/controller/Controller.php:273PHP message: PHP 5. PageNotFoundController->init() /var/www/vhosts/midominio.es/httpdocs/classes/controller/FrontController.php:271PHP message: PHP 6. PrestaShop\\PrestaShop\\Core\\Localization\\Locale\\Repository->getLocale($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/classes/controller/Controller.php:189PHP message: PHP 7. PrestaShop\\PrestaShop\\Core\\Localization\\Locale\\Repository->getNumberSpecification($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/Locale/Repository.php:149PHP message: PHP 8. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleRepository->getLocale($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/Locale/Repository.php:173PHP message: PHP 9. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleDataSource->getLocaleData($localeCode = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleRepository.php:60PHP message: PHP 10. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->read($id = 'es-ES') /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/LocaleDataSource.php:62PHP message: PHP 11. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->saveReadPropagationResult($id = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { .....PHP message: PHP 12. PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite($localeCode = 'es-ES', $data = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = ['native' => 'latn']; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = ['arab' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'arabext' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'bali' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'beng' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'brah' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cakm' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'cham' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\NumberSymbolsData { ... }, 'deva...PHP message: PHP 13. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->save($item = class Symfony\\Component\\Cache\\CacheItem { protected $key = 'es-ES'; protected $value = class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = [...]; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = [...]; protected $decimalPatterns = [...]; protected $percentPatterns = [...]; protected $currencyPatterns = [...]; protected $currencies = [...] }; protected $isHit = FALSE; protected $expiry = NULL; protected $defaultLifetime = 0; protected $tags = []; protected $prevTags = []; protected $innerItem = NULL; protected $poolHash = NULL }) /var/www/vhosts/midominio.es/httpdocs/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:121PHP message: PHP 14. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->commit() /var/www/vhosts/midominio.es/httpdocs/vendor/symfony/symfony/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php:203PHP message: PHP 15. Symfony\\Component\\Cache\\Adapter\\FilesystemAdapter->doSave($values = ['es-ES' => class PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData { protected $localeCode = 'es-ES'; protected $numberingSystems = [...]; protected $defaultNumberingSystem = 'latn'; protected $minimumGroupingDigits = 2; protected $numberSymbols = [...]; protected $decimalPatterns = [...]; protected $percentPatterns = [...]; protected $currencyPatterns = [...]; protected $curre

 

¿A que se debe este problema? ¿Hay alguna forma de arreglarlo? El cache de prestashop lo tengo desactivado.

Link to comment
Share on other sites

hace 2 minutos, juanrojas dijo:

adjunta pantallazo

Cuando dejo la variable definida en false mencionada anteriormente, sale este mensaje en la web de administración:

Oops! An Error Occurred

The server returned a "500 Internal Server Error".

Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused.

 

Adjunto capturas.

 

config.PNG

ftp.PNG

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