SPIP

[ar] [ast] [bg] [br] [ca] [co] [cpf] [cs] [da] [de] [en] [eo] [es] [eu] [fa] [fon] [fr] [gl] [id] [it] [ja] [lb] [nl] [oc] [pl] [pt] [ro] [ru] [sk] [sv] [tr] [uk] [vi] [zh] Espace de traduction

Download

Usage of spip_loader

November 2015

All the versions of this article:

« Spip_loader » is a script that allows to install or to update your SPIP site automatically without uploading all the files by ftp.


Current version of spip_loader : 2.5.6

Use spip_loader to install SPIP automatically

  1. Download the script http://www.spip.net/spip-dev/INSTAL...
  2. Set this file via ftp in the directory where you want to install SPIP (generally at the root of your servor).
  3. Call the script from your navigator http://www.monsite.tld/spip_loader.php
  4. The script checks if your hosting has the capability then indicates the SPIP version you are going to install or update.
  5. Launch the automatic installation.

Once SPIP installed, you can safely leave the script spip_loader.php (from version 2.1) on the server. Only the authorised and authenticated administrators will be able to proceed. The benefit is to be able, in case of alert, to update SPIP very easily.

Use spip_loader to proceed to an update

To update SPIP, proceed the same way:

  1. Put the script to your server (if not already done)
  2. Call the script from your navigator http://www.monsite.tld/spip_loader.php
  3. 3. Launch the automatic installation process

Before calling the script you should be identified as a webmaster.

By default only the author number 1 can proceed to this update.
If you want to add other authors you should edit this line of the script :
define('_SPIP_LOADER_UPDATE_AUTEURS', '1');

Beware:
If you want to use spip_loader to update SPIP in the last version of the 2.1 branch read carefully the following paragraph to understand how to change to the targeted version.

Install another version

By default the script installs and updates to the last stable version of SPIP.

If you want to install or upadte to a different version, edit the line:
define('_CHEMIN_FICHIER_ZIP', 'spip/stable/spip-3.0.zip');
replacing for example:
'spip/stable/spip-3.0.zip'
by:
'spip/stable/spip-2.1.zip' .

What to do in case of failure?

spip_loader can fail to upload files. Generally it is caused by permissions issues on the server. In this case you will have to install SPIP:

  • either transferring manually the files via ftp
  • or using subversion (advanced users)

Show the template of this page Site powered by SPIP | Translation area | Private area