Child pages
  • Informaciones diversas

Versions Compared

Key

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

...

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 linea. De esta manera, si se produce un error en este entorno de prueba, su tienda real no se vería afectada.

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:

...

Tras haber confirmado que su versión de prueba funciona como deberíacopiar la versión de prueba sobre la versión en línea. Es mejor hacer este proceso en horas no pico, y estableciendo temporalmente su tienda en modo de mantenimiento 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.

...

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

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

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.

...

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. Enter cPanel. It should be located at http://www.(your_domain).(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 "Enable/Disable PHP 5"
  4. A new page appears. Click "Add PHP 5 To Your Account!".

...