Tip: Quick Way to Upload Your QuickStart Template

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun May 22, 2011 4:22 pm
Hi all

I'm not sure if anyone has posted anything similar but i recently discovered this great time saving process for uploading template QuickStarts.

Uploading any template via FTP takes ages (especially on my crappy connection here in Dubai!) so i I started doing a bit of digging and have come up with a great way to upload a QuickStart installation.

First of all I upload the Quickstart file still zipped, which is way quicker than thousands of files with FTP and then a file called unzip.php (see code below).

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<?php system('unzip QS3.zip'); ?>
</body>
</html>


I then rename the QuickStart to QS3.zip (only cos it was the third attempt to get it working) and then simply browse to http://mynewsite.com/unzip.php and the template unzips in a matter of moments.

I believe that this unzip command does need to be supported on ur hosting but hey it works great for me.

The only other thing that u may have to do is CHMOD the two files to 644 if they aren't already. Don't forget to delete unzip.php cos if u accidentally hit it from ur browswer cache it will make u sad if u have done a load of work on ur site already!!

Hope it helps out.

Kev
User avatar
Gold Boarder

GK User
Thu Jun 02, 2011 7:01 pm
Awesome!!! works like a charm, thank you very much for the tip, it saved me a lot of time.
User avatar
Fresh Boarder

GK User
Thu Jun 02, 2011 7:32 pm
Well if you are on cPanel there is almost no need for this (although it's a great tip), just choose to upload the zip file from cPanel's file manager and then click unzip ;)
User avatar
Expert Boarder

GK User
Fri Jun 03, 2011 6:27 am
Hi

cPanel is extra per domain on my hosting which is a shame... :(

This does speed things up a lot tho... which is nice.. :)
User avatar
Gold Boarder

GK User
Fri Jun 03, 2011 3:38 pm
I actually do have cPanel on my hosting account and it is free, but the only option i have is to upload files or zip them up, but i don't have an option to unzip them which is useless without this unzip.php script.

so thanks again PhoenixGB
User avatar
Fresh Boarder

GK User
Sat Jun 04, 2011 3:07 am
You need to change your hosting . . . that's crap service
User avatar
Expert Boarder

GK User
Sat Jun 04, 2011 4:23 am
My hosting is www.iPage.com i really haven't had any problems with them, and the unzip.php script works great. Is there any other host you would recommend? why do you say my hosting is crap?
User avatar
Fresh Boarder

GK User
Sat Jun 04, 2011 4:35 am
I agree, u can't make a judgement like that without knowing about cost, service levels etc.

Glad the unzip script worked for u, it certainly made my life easier!
User avatar
Gold Boarder

GK User
Sat Jun 04, 2011 8:19 am
Why do I need to know anything other than the fact you don't have cPanel and it's not configured properly with all the options you need . . . that's a prerequisite for good hosting nowadays . . . it could be free with no cPanel and still crap.
User avatar
Expert Boarder


cron