Jump to content

Error al actualizar de 1.5 a 1.6


Recommended Posts

Al actualizar la version me ha dado un error 500, tras hacer visible el error el resultado es este:

 

 

[PrestaShopException]

Tema actual no disponible "default". Por favor verifique el nombre del directorio de temas y licencias.
at line 259 in file classes/controller/FrontController.php

254. Tools::redirect('index.php?controller=authentication'.($this->authRedirection ? '&back='.$this->authRedirection : ''));
255. }
256.
257. /* Theme is missing */
258. if (!is_dir(_PS_THEME_DIR_)) {
259. throw new PrestaShopException((sprintf(Tools::displayError('Current theme unavailable "%s". Please check your theme directory name and permissions.'), basename(rtrim(_PS_THEME_DIR_, '/\\')))));
260. }
261.
262. if (Configuration::get('PS_GEOLOCATION_ENABLED')) {
263. if (($new_default = $this->geolocationManagement($this->context->country)) && Validate::isLoadedObject($new_default)) {
264. $this->context->country = $new_default;
Link to comment
Share on other sites

  • 2 weeks later...

Es sobre el tema por defecto. Su nombre en v1.5 es "default" mientras que en v1.6 "default-bootstrap". ¿Cómo se actualiza? ¿A mano?

 

It is about the default theme. Its name in v1.5 is "default" while in v1.6 "default-bootstrap". How did you upgrade? By hand?

Link to comment
Share on other sites

  • 6 months later...

He encontrado esta solución:

 

"Reply SOLVED IT - What I needed to do was reload the old theme into the Themes folder so it recognised there was an "existing". As it seems when it removed it on the auto update that Prestashop was locked into the original theme I had on 1.4 but it had removed it so couldn't default to the new theme.

Now once it recognises your old theme in the backend just go to Preferences>Themes> Advanced Settings (Top right of your theme).

Now you will see an option of your old "default" theme or choosing the new default-bootstrap so just swap them over and it will load the new theme and get rid of the bug."

Fuente:

https://www.prestashop.com/forums/topic/482149-500-server-error/

 

Según google traductor:

Responder que solucionaba - Lo que tenía que hacer era volver a cargar el viejo tema en la carpeta Temas por lo que reconoció que era un "existente". Por lo que parece cuando se lo quitó de la actualización automática que Prestashop fue encerrado en el tema original que tenía en 1.4 pero se había retirado, así que no podría por defecto en el nuevo tema.

Ahora, una vez que reconoce su tema de la edad en el backend sólo tiene que ir a Preferencias> Temas> Configuración avanzada (parte superior derecha de su tema).

Ahora verá una opción de su viejo tema "default" o la elección de la nueva default-arranque por lo que sólo se intercambiarlos por y cargará el nuevo tema y se les ha librado del insecto.

Link to comment
Share on other sites

A mí me ha funcionado esto:

 

He encontrado esta solución:

 

"Reply SOLVED IT - What I needed to do was reload the old theme into the Themes folder so it recognised there was an "existing". As it seems when it removed it on the auto update that Prestashop was locked into the original theme I had on 1.4 but it had removed it so couldn't default to the new theme.

Now once it recognises your old theme in the backend just go to Preferences>Themes> Advanced Settings (Top right of your theme).

Now you will see an option of your old "default" theme or choosing the new default-bootstrap so just swap them over and it will load the new theme and get rid of the bug."

Fuente:

https://www.prestash...0-server-error/

 

Según google traductor:

Responder que solucionaba - Lo que tenía que hacer era volver a cargar el viejo tema en la carpeta Temas por lo que reconoció que era un "existente". Por lo que parece cuando se lo quitó de la actualización automática que Prestashop fue encerrado en el tema original que tenía en 1.4 pero se había retirado, así que no podría por defecto en el nuevo tema.

Ahora, una vez que reconoce su tema de la edad en el backend sólo tiene que ir a Preferencias> Temas> Configuración avanzada (parte superior derecha de su tema).

Ahora verá una opción de su viejo tema "default" o la elección de la nueva default-arranque por lo que sólo se intercambiarlos por y cargará el nuevo tema y se les ha librado del insecto.

Link to comment
Share on other sites

 

 

O sea, he tenido que copiar en la carpeta themes, la plantilla de la versión antigua. Después en Preferencias> Temas> Ajustes avanzados (parte superior derecha de su tema). Al final de la opción en directorio, he elegido la opción de la plantilla de la versión nueva default-bootstrap.

 

Ahora se visualiza el front office, pero si quiero ver cada página, sea de un producto o una categoría o una página cms, me sale este error: index.php?controller=404

 

Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...