Child pages
  • Informaciones diversas

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3

Informaciones diversas

Keep a test version at hand!

After you have completed setting up your shop to get it just the way you want it, but before officially opening it to the buying public, we strongly recommend that you install a local test version on your personal computer (using WAMP for Windows, MAMP for Mac, or LAMP for Linux, or XAMPP for any of those platforms), or elsewhere on your hosting server.

This second instance will be useful as a pre-production environment in which you can carry out all future changes to your PrestaShop online store, without affecting the live version. This way, if an error should occur, your live store remains intact and untouched.

After you have confirmed that your test version works as it should, copy the test version over the live version. It is best to do this after peak usage hours, and with your store properly and temporarily disabled from within the PrestaShop back office.

Checking for the GD library

The GD library enables PrestaShop to rework images that you upload, especially resizing them.

On a default installation of PHP, the GD Library should be turned on, but if that's not the case for your install, the standard Windows instructions are:

...

¡Mantenga una versión de prueba a mano!

Después de instalar y configurar su tienda de la manera en que mejor se adapte a sus necesidades, le recomendamos encarecidamente que instale una versión de prueba en su ordenador o en otro lugar de su servidor de alojamiento, antes de abrir oficialmente su tienda al público, utilizando WAMP para Windows, MAMP para Mac, LAMP para Linux, o XAMPP para cualquiera de esas plataformas.

Esta segunda instancia le será de utilidad como un entorno de pre-producción en la que poder llevar a cabo todas las futuras modificaciones que vaya a realizar en su tienda, sin afectar a la versión que se encuentra en línea. De esta manera, si se produce un error en este entorno de prueba, su tienda real no se vería afectada.

Tras haber confirmado que su versión de prueba funciona como deberíacopiar la versión de prueba sobre la versión online. Es mejor hacer este proceso en horas no pico, y estableciendo su tienda en Modo de Mantenimiento temporalmente desde el back-office de Prestashop.

Comprobación de la librería GD

La librería GD permite a PrestaShop editar las imágenes que suba, incluyendo el cambio de tamaño de éstas.

En una instalación por defecto de PHP, la librería GD debería estar activa, pero si encuentra que este no es el caso para su instalación, las instrucciones para Windows son las siguientes:

  1. En el directorio raíz de la carpeta de PHP, abra el archivo php.ini.
  2. Descomente la línea extension=php_gd2.dll line (about half-way through the file, in the middle of a long list of extensions) by deleting the ";" at the start of the line.
  3. Restart the PHP services.

If you have no access to the php.ini file (which is often the case in shared hosting), contact your host about your hosting needs.

Activating PHP5

Oftentimes, dedicated or shared servers have both PHP 4 and PHP 5 available, but only PHP4 is activated by default.

...

  1. (situada en la parte media del archivo, entre una larga lista de extensiones) borrando el carácter ";" en el inicio de la línea.
    Reinicie los servicios de PHP.

Si no tiene acceso al archivo php.ini (que es lo que ocurre generalmente al tener contratado un  alojamiento compartido), póngase en contacto con su proveedor de alojamiento. 

Activar PHP5

A menudo, los servidores dedicados o compartidos tienen tanto PHP 4 como PHP 5 disponibles, pero sólo PHP4 se activa de forma predeterminada.

Para instalar PrestaShop, PHP 5 debe ser activado. Si intenta ejecutar PrestaShop utilizando PHP 4, recibirá numerosos errores, incluyendo este mensaje: 

Code Block
html
html
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in [php file] on line X.
Tip

Please do not hesitate to post a bug report concerning the tips needed to make PrestaShop run on your hosting service, on PrestaShop's Forge (you will need an account). We will add them to this guide as we receive them.

The following is a list of procedures of which we are currently aware of...

1&1

...

Por favor, no dude en publicar en PrestaShop's Forge, un informe concerniente al aviso de error que recibe al ejecutar PrestaShop en su servicio de hosting. Los iremos añadiendo a esta guía en cuanto los recibamos.

 A continuación se presenta un listado de procedimientos que tendrá que realizar, en algunos proveedores de hosting... 

1&1

Añada esta línea a su archivo .htaccess:

Code Block
html
html
AddType x-mapp-php5 .php

For URL re-writing, add these linesPara la reescritura de URL, añada las siguientes líneas:

Code Block
html
html
Options +FollowSymLinks
RewriteEngine On

Free.fr

Add this line to your Añada esta línea a su archivo .htaccess file:

Code Block
html
html
php 1

OVH

Add this line to your Añada esta línea a su archivo .htaccess file:

Code Block
html
html
SetEnv PHP_VER 5

To deactivate global registersPara desactivar registros globales:

Code Block
html
html
SetEnv REGISTER_GLOBALS 0

GoDaddy

To View Your PHP Version:

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.

In the Server section, your PHP Version displays.

To Change Your PHP Version:

  1. From the Content menu, select Programming Languages.
  2. Select the PHP version you want to use, and then click Continue.
  3. Click Update.

Changes can take up to 24 hours to complete.

Lunarpages shared hosting

...

Para conocer su versión de PHP:

  1. Inicie sesión.
  2. En la sección Productos, haga clic en Web Hosting.
  3. Junto a la cuenta de alojamiento que desea utilizar, haga clic en Iniciar.

En la sección Servidor, puede ver la versión de PHP.

Para cambiar su versión de PHP:

  1. En el menú Contenido, seleccione Lenguajes de programación.
  2. Seleccione la versión de PHP que desee utilizar y, a continuación, haga clic en Continuar.
  3. Haga clic en Actualizar.

Los cambios pueden tardar hasta 24 horas en completarse.

Lunarpages alojamiento compartido

  1. Acceda al cPanel. Éste debería estar ubicado en http://www.(yoursu_domaindominio).(com/net/org/etc)/cpanel
  2. Enter your account username and password in the box that appears.
  3. A new page appears. Go to the bottom row of icons in the page and click the icon titled Introduzca el nombre de usuario y contraseña de su cuenta en el cuadro que aparece.
  4. Aparecerá una nueva página. Diríjase a la última fila de iconos en la página y haga clic en el icono titulado "Enable/Disable PHP 5 (Activar / Desactivar PHP 5)"
  5. A new page appears. Click Aparecerá una nueva página. Haga clic en "Add PHP 5 To Your Account! (Añadir PHP 5 a su cuenta!)".

Your language change request is submitted. Please allow up to 24 hours for the change to be processed by the hosting serverSu petición de cambio será presentada. Por favor sea paciente, este cambio puede tomar hasta 24 horas para que sea procesado por el servidor de hosting.