Vote to Improve PrestaShop

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

 
Photo

NEW Prestashop Auto-installer


  • Please log in to reply
4 replies to this topic
gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 posts

Posted 19 December 2011 - 02:04 AM

Hello,
Downloading, unzipping and uploading back via ftp 47 Mb of installation program is a pain, let's introduce you the Auto Installer!

Just upload and execute this php file : installer.php

installer.php is nothing but pclzip.php library code plus below code added to the end:

  $filez = "http://www.prestashop.com/download/prestashop_1.4.6.2.zip";
$pathz = explode("/", $filez);
$fileNamez = $pathz[sizeof($pathz) - 1];
copy($filez, $fileNamez);
$arch = new PclZip($fileNamez);
$arche = $arch->extract();
unlink($fileNamez);
unlink(basename($_SERVER['REQUEST_URI']));
header("location:./prestashop");

as you can see the last prestashop zip file url is hardcoded, which may be changed dynamically by prestashop.com admins if they'll add this server to server installation method available from the download page (which i swear)

bye!

Attached Files



gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 posts

Posted 19 December 2011 - 06:42 PM

it is also suitable for any other zip file...

theme_designer

    PrestaShop Apprentice

  • Members
  • PipPip
  • 386 posts

Posted 20 December 2011 - 07:13 AM

Is this an official auto-installer?

Starting a web project from a website template.


gnappoman

    PrestaShop Apprentice

  • Members
  • PipPip
  • 36 posts

Posted 21 December 2011 - 01:01 AM

yes it is! ;-)

Edited by gnappoman, 09 March 2012 - 03:09 PM.
Not official, was misrepresented by this user


Mike Kranzler

    PrestaShop Superstar

  • Members
  • PipPipPipPipPip
  • 8076 posts

Posted 06 January 2012 - 06:13 PM

Is this an official auto-installer?



yes it is! ;-)


No, this is not an "official" anything, it was not developed by anyone on or associated with the PrestaShop team, and this is honestly the first we have heard of it.

I'm not discouraging you from trying it out for yourself, but please understand that this is in no way developed or supported by PrestaShop, and we cannot guarantee that it will not create any problems within your shop.

-Mike
I am no longer PrestaShop's Community Manager. Please direct all PrestaShop Forum requests to Benjamin Utterback or Patric Codron




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users