impresspages/ImpressPages — pull request #508 by denistorresan (2014-07-11 10:20:56+00:00)
Title: Fix Undefined index: websiteId on 1 step installation

I discovered this error that cause a js alert popup on the very first step of the installation wizard.
This is caused by the websiteId in session is empty, than the method Model::sendUsageStatistics try to get from it db (and at the very first step db connection is not initialized).
The problem is related to session that is not yet started at the very first step, so I initialized it (if not already started) in the install/index.php.

This is the error I get (PHP 5.4, Windows 7):
http://screencast.com/t/SPrrDlKX

Unexpected error.

Notice: Undefined index: websiteId in C:\WORKAREA\Progetti\fabvla\impresspages\htdocs\install\Plugin\Install\Helper.php on line 353