Support

UNiTE, Remote CLI, eXtract Wizard

#3463 kickstart.php with Wamp 2.0

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by dlb on Monday, 19 January 2009 16:19 CST

user1967
Let me start by saying I have sucessfully used kickstart.php in auto mode to restore sites online, but I am not having any luck using it locally, running WampServer Version 2.0.

The error message I am getting is this:
Notice: Undefined variable: html in C:\wamp\www\template\domains\Template\public_html\cms\kickstart.php on line 2306

Is this related to the PHP limitation described in the Kickstart introduction, that reads,
You actually need to either turn off PHP Safe Mode, or make sure the target folder is owned by the same user as the one you web server runs on: this is a PHP limitation we can't overcome.

If so, I have Safe Mode off in WampServer, but still no go.

I am new to WampServer, so I wonder if I am overlooking something obvious?

If anyone else has encountered this and know the work around, please share a response.

Thanks, SL

user1967
Here's the long version of the error message, from the error pop-up:
Error:

Notice: Undefined variable: junk in C:\wamp\www\template\domains\Template\public_html\cms\kickstart.php on line 1236

var res = { "offset": parseInt(84860), "bytesin": parseInt(82414), "bytesout": parseInt(260783), "files": parseInt(41), "iserror": Boolean(false), "error": '', "done": Boolean(false) }; res;

user1967
Update: Previous attempts were using a JPA archive file. Just for grins, I tried using kickstart.php with a ZIP archive (it dawned on me that my previous online successes were using ZIP archives). While I did get same error message, it did not stop the process and kickstart.php passed all the correct variables, installing the local site correctly.

Once again, the error message, which only showed up at the top of the kickstart.php browser window, read:
Notice: Undefined variable: html in C:\wamp\www\template\domains\Template\public_html\cms\kickstart.php on line 2306

At any rate, it seems to be related to the JPA archive format.

I opened the JPA archive using JoomlaPackeXtract.exe, and discover that configuration.php was empty; i.e., corrupted. I can't say if this happened during archive creation or during decompression, but the same file on the live site is fine. Maybe this is intentional, and something else wasn't working.

All I know is the ZIP archive ultimately worked with kickstart.php on Wamp local server.

dlb
Please make sure your error reporting is set to "none" in the Joomla! Global Configuration file.

What version of JP eXtract are you using? The 2008 version would corrupt the extracted files, they contained only the path and file name and nulls to pad out to the correct file size. This behavior is corrected in the 2009 version. There is no similar error in kickstart.

Dale


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!