Jump to content

1.5RC2(1.5.15) can not install!


Recommended Posts

Installation process

  • Installation process
  • Installation process
  • Installation process
  • Installation process
  • Installation process

 

 

25%

  1. Create settings.inc file
  2. Create database tables
  3. Create default shop and languages

    1. Cannot install language "English (English)"

 

An error occured during installation...

 

You can use the links on the left column to go back to the previous steps, or restart the installation process by clicking here. <p>Your browser does not support iframes.</p>

Link to comment
Share on other sites

nothing found in the mysql error log file

 

 

================================

 

120813 22:32:17 [Note] Plugin 'FEDERATED' is disabled.

120813 22:32:17 InnoDB: The InnoDB memory heap is disabled

120813 22:32:17 InnoDB: Mutexes and rw_locks use Windows interlocked functions

120813 22:32:17 InnoDB: Compressed tables use zlib 1.2.3

120813 22:32:17 InnoDB: Initializing buffer pool, size = 42.0M

120813 22:32:17 InnoDB: Completed initialization of buffer pool

120813 22:32:17 InnoDB: Log file .\ib_logfile0 did not exist: new to be created

InnoDB: Setting log file .\ib_logfile0 size to 10 MB

InnoDB: Database physically writes the file full: wait...

120813 22:32:17 InnoDB: Log file .\ib_logfile1 did not exist: new to be created

InnoDB: Setting log file .\ib_logfile1 size to 10 MB

InnoDB: Database physically writes the file full: wait...

120813 22:32:18 InnoDB: highest supported file format is Barracuda.

InnoDB: The log sequence number in ibdata files does not match

InnoDB: the log sequence number in the ib_logfiles!

120813 22:32:18 InnoDB: Database was not shut down normally!

InnoDB: Starting crash recovery.

InnoDB: Reading tablespace information from the .ibd files...

InnoDB: Restoring possible half-written data pages from the doublewrite

InnoDB: buffer...

120813 22:32:19 InnoDB: Waiting for the background threads to start

120813 22:32:20 InnoDB: 1.1.5 started; log sequence number 9221644

120813 22:32:20 [Note] Event Scheduler: Loaded 0 events

120813 22:32:20 [Note] D:\MySQL Server 5.5\bin\mysqld: ready for connections.

Version: '5.5.9' socket: '' port: 3306 MySQL Community Server (GPL)

Link to comment
Share on other sites

I tried to use the 1-click upgrade and got the following errors:

 

[Ajax / Server Error] textStatus: "error" errorThrown:"Internal Server Error" jqXHR: ""

 

 

 

 

And in the error.log file:

 

[Mon Aug 13 16:38:15 2012] [error] [client 213.89.96.175] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/evanionc/pockettech.se/html/rc/controllers/admin/AdminThemesController.php:357) in /home/evanionc/pockettech.se/html/rc/controllers/admin/AdminThemesController.php on line 346, referer: [url="http://pockettech.se/rc/backoffice/index.php?controller=AdminThemes&token=42ed4807416214d8bd2088714caad93e"]http://pockettech.se...d2088714caad93e[/url]

[Mon Aug 13 16:38:15 2012] [error] [client 213.89.96.175] PHP Warning:  Cannot modify header information - headers already sent by (output started at /home/evanionc/pockettech.se/html/rc/controllers/admin/AdminThemesController.php:357) in /home/evanionc/pockettech.se/html/rc/controllers/admin/AdminThemesController.php on line 347, referer: [url="http://pockettech.se/rc/backoffice/index.php?controller=AdminThemes&token=42ed4807416214d8bd2088714caad93e"]http://pockettech.se...d2088714caad93e[/url]

[Mon Aug 13 16:39:25 2012] [error] [client 213.89.96.175] File does not exist: /home/evanionc/pockettech.se/html/rc/js/jquery/datepicker, referer: [url="http://pockettech.se/rc/backoffice/index.php?controller=AdminSelfUpgrade&token=97e45f2db92a7dbeb587d5b868b3ac7d"]http://pockettech.se...587d5b868b3ac7d[/url]

[Mon Aug 13 16:39:25 2012] [error] [client 213.89.96.175] File does not exist: /home/evanionc/pockettech.se/html/rc/css/jquery.cluetip.css, referer: [url="http://pockettech.se/rc/backoffice/index.php?controller=AdminSelfUpgrade&token=97e45f2db92a7dbeb587d5b868b3ac7d"]http://pockettech.se...587d5b868b3ac7d[/url]

[Mon Aug 13 16:42:33 2012] [error] [client 213.89.96.175] PHP Fatal error:  Class 'Configuration' not found in /home/evanionc/pockettech.se/html/rc/backoffice/autoupgrade/latest/prestashop/install/upgrade/php/p15015_blockadvertising_extension.php on line 34, referer: [url="http://pockettech.se/rc/backoffice/index.php?controller=AdminSelfUpgrade&token=97e45f2db92a7dbeb587d5b868b3ac7d"]http://pockettech.se...587d5b868b3ac7d[/url]

 

Nothing is shown in the mysql.log

 

server info:

PHP Built on:  Linux k2.snowpeak.se 2.6.18-408.el5.lve0.8.61.1 #1 SMP Wed Apr 18 07:47:15 EDT 2012 x86_64
Database Version:  5.0.95
PHP Version:  5.3.15
Web Server:  Apache/2.2.22 (Unix)
Web Server to PHP interface:  cgi-fcgi
User Agent:  Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1

 

Tell me if you want an account to go in and check the shop

Edited by Evanion (see edit history)
Link to comment
Share on other sites

Installed success - after adding one missing file.

 

I just downloaded the latest version 2 days ago, didn't have time to try,

And today, I tried the installation, but failed at 38%, it says '"failed at populate database table".

I cleared database a few times, still no success.

 

Finally, after an hour of debug, find out that there is a file "image.inc.php" missing. I copied the file to the root, then start from beginning, and success!

 

The missing file is used in following file - install/classes/xmlLoader.php

 

 

public function __construct()
{
$this->language = InstallLanguages::getInstance();
$this->setDefaultPath();
require_once _PS_ROOT_DIR_.'/images.inc.php';
}

 

 

Edited:

Actually I found out that package I downloaded was a problem.

After I redo the download 2 days later, the package is OK, no problem at all.

 

I am not sure if it is original package issue or my download issue. Anyway, the new package I download works fine. So I suggest to download a new package if you have a problem.

Edited by shokinro (see edit history)
Link to comment
Share on other sites

Installed success - after adding one missing file.

 

I just downloaded the latest version 2 days ago, didn't have time to try,

And today, I tried the installation, but failed at 38%, it says '"failed at populate database table".

I cleared database a few times, still no success.

 

Finally, after an hour of debug, find out that there is a file "image.inc.php" missing. I copied the file to the root, then start from beginning, and success!

 

The missing file is used in following file - install/classes/xmlLoader.php

 

 

public function __construct()
{
$this->language = InstallLanguages::getInstance();
$this->setDefaultPath();
require_once _PS_ROOT_DIR_.'/images.inc.php';
}

 

 

Just in case some else had the same issue, I have uploaded the file here

 

I found that ,the image.inc.php file were not lost in 1.5.15, it was there ,and the file size were different with the file provided by mr

shokinro

Edited by drpython (see edit history)
Link to comment
Share on other sites

Actually I found out that the package I downloaded was a problem.

After I redo the download 2 days later, the package is OK, no problem at all.

 

I am not sure if it is original package issue or my download issue. Anyway, the new package I download works fine. So I suggest to download a new package if you have a problem.

Link to comment
Share on other sites

  • 2 weeks later...

Hi!!

 

I download PrestaShop 1.5RC2(1.5.15) today September, 4, 2012 and have the same problem...

 

Create default shop and languages

  • Cannot install language "English (English)"

 

The file "images.inc.php" is in the prestashop root directory... still not working the installation process....

 

A.Diaz

Link to comment
Share on other sites

Hello, my install is failing here:

 

  • Create settings.inc file
  • Create database tables

 

An error occured during installation...

 

You can use the links on the left column to go back to the previous steps, or restart the installation process by
.

i have cleared the database and used another one without any success, any suggestions please.

Link to comment
Share on other sites

@adiazv

 

 

I changed my database type from InnoDB to MyIsam (I think it is) as I remembered something like this from when I installed PS for the first time,

 

It's a shame PS installer doesn't pick this up for you! Either that or it should at least give you a proper error message.

 

Hope this helps

 

Richard

  • Like 1
Link to comment
Share on other sites

@itcwebman

 

I change the MySQL Engito to MyISAM and with the same result...

 

The Install process pass the Create settings.inc file, pass the Create Database Tables (in MyISAM or InnoDB), i check the tables in MySQL and all tables are created.

But the next step, Create Default Shop and Languages fail with "Cannot Install Language English(Englis).

 

I have PrestaShop in another PC with PS 1.4.9 and have no problem with install process, I want to check the new things in 1.5 so i install in a diferent machine with windows 7 x64, an MySQL 5.5, i hope the last to SW have no problems with PS..

 

I try to install in Spanish language and in English, but with the same results.

 

adiazv

Link to comment
Share on other sites

Hi, it's me again!!

 

I install PS 1.4.9 with same Windows X64 and MySQL 5.5 with InnoDB as Engine.... and the installation has no problem... all the Shop,Modules, Languages, Data, etc... created correctly and the shop can is ready to use... So I think the SW installed in my PC is not the problem.... maybe version 1.5RC2 still have some bugs in the install process, the last one is error 500 when i call the install process, but if i call from PS_ROOT_DIR/install it's work.

 

So I hope soon the new version be ready for my personal test ....

 

adiazv

Link to comment
Share on other sites

Well, i'm still stuck in the installation process of this version with the sane message.

 

I verify every language.xml in the langs\<iso lang code> directories and i think are ok... but i don't understand why the installer is unable to insert it into the database...

 

This is the code :

 

 

public function installLanguages()

{

$languages = array();

foreach ($this->language->getIsoList() as $iso)

{

if (!file_exists(_PS_INSTALL_LANGS_PATH_.$iso.'/language.xml'))

throw new PrestashopInstallerException($this->language->l('File "language.xml" not found for language iso "%s"', $iso));

 

if (!$xml = @simplexml_load_file(_PS_INSTALL_LANGS_PATH_.$iso.'/language.xml'))

throw new PrestashopInstallerException($this->language->l('File "language.xml" not valid for language iso "%s"', $iso));

 

// Add language in database

$language = new Language();

$language->iso_code = $iso;

$language->active = ($iso == $this->language->getLanguageIso()) ? true : false;

$language->name = ($xml->name) ? (string)$xml->name : 'Unknown (Unknown)';

$language->language_code = ($xml->language_code) ? (string)$xml->language_code : $iso;

$language->date_format_lite = ($xml->date_format_lite) ? (string)$xml->date_format_lite : 'm/j/Y';

$language->date_format_full = ($xml->date_format_full) ? (string)$xml->date_format_full : 'm/j/Y H:i:s';

$language->is_rtl = ($xml->is_rtl && ($xml->is_rtl == 'true' || $xml->is_rtl == '1')) ? 1 : 0;

if (!$language->add())

throw new PrestashopInstallerException($this->language->l('Cannot install language "%s"', ($xml->name) ? $xml->name : $iso));

$languages[$language->id] = $iso;

 

// Copy language flag

if (is_writable(_PS_IMG_DIR_.'l/'))

if (!copy(_PS_INSTALL_LANGS_PATH_.$iso.'/flag.jpg', _PS_IMG_DIR_.'l/'.$language->id.'.jpg'))

throw new PrestashopInstallerException($this->language->l('Cannot copy flag language "%s"', _PS_INSTALL_LANGS_PATH_.$iso.'/flag.jpg => '._PS_IMG_DIR_.'l/'.$language->id.'.jpg'));

}

 

return $languages;

}

 

Thanks

Edited by adiazv (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...