diff --git a/install-new/classes/xmlLoader.php b/install-new/classes/xmlLoader.php
index fadf414ad..5430b2524 100644
--- a/install-new/classes/xmlLoader.php
+++ b/install-new/classes/xmlLoader.php
@@ -746,7 +746,7 @@ class InstallXmlLoader
if ($this->entityExists($entity))
$xml = $this->loadEntity($entity);
else
- $xml = new SimpleXMLElement('');
+ $xml = new InstallSimplexmlElement('');
unset($xml->fields);
// Fill attributes (config)
@@ -843,7 +843,7 @@ class InstallXmlLoader
if (!is_dir($this->lang_path.$iso.'/data'))
mkdir($this->lang_path.$iso.'/data');
- $xml_node = new SimpleXMLElement('');
+ $xml_node = new InstallSimplexmlElement('');
$this->createXmlEntityNodes($entity, $nodes, $xml_node);
$xml_node->asXML($this->lang_path.$iso.'/data/'.$entity.'.xml');
}
@@ -1120,9 +1120,12 @@ class InstallXmlLoader
{
$image = new Image($image['id_image']);
$image_path = $image->getExistingImgPath();
- copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format);
+ if (file_exists($from_path.$image_path.'.'.$image->image_format))
+ copy($from_path.$image_path.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'.'.$image->image_format);
+
foreach ($types as $type)
- copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format);
+ if (file_exists($from_path.$image_path.'-'.$type.'.'.$image->image_format))
+ copy($from_path.$image_path.'-'.$type.'.'.$image->image_format, $backup_path.$this->generateId('image', $image->id).'-'.$type.'.'.$image->image_format);
}
}
diff --git a/install-new/data/xml/category_group.xml b/install-new/data/xml/category_group.xml
index a61018734..3de4adcfd 100644
--- a/install-new/data/xml/category_group.xml
+++ b/install-new/data/xml/category_group.xml
@@ -5,8 +5,8 @@
-
+
-
+
diff --git a/install-new/data/xml/configuration.xml b/install-new/data/xml/configuration.xml
index d22dde676..15fba6fce 100644
--- a/install-new/data/xml/configuration.xml
+++ b/install-new/data/xml/configuration.xml
@@ -192,13 +192,13 @@
0
- 2011-12-22 23:47:41
+ 2011-12-27 10:20:42
2
- 2011-12-22 23:47:41
+ 2011-12-27 10:20:42
3
@@ -342,7 +342,7 @@
1
- 1324594061
+ 1324977642
1
@@ -494,6 +494,15 @@
0
+
+ invoice
+
+
+ 2
+
+
+ 2
+
@@ -840,7 +849,7 @@
1.5.0.2
- PrestaShop
+ Test
raphael.malie@gmail.com
@@ -849,16 +858,7 @@
1
- 0
-
-
- invoice
-
-
- 2
-
-
- 2
+ 10
diff --git a/install-new/data/xml/hook.xml b/install-new/data/xml/hook.xml
index 0d43c07ab..bcda45946 100644
--- a/install-new/data/xml/hook.xml
+++ b/install-new/data/xml/hook.xml
@@ -7,432 +7,432 @@
-
+
displayPayment
Payment
-
+
actionValidateOrder
New orders
-
+
actionPaymentConfirmation
Payment confirmation
-
+
displayPaymentReturn
Payment return
-
+
actionUpdateQuantity
Quantity update
Quantity is updated only when the customer effectively <b>place</b> his order.
-
+
displayRightColumn
Right column blocks
-
+
displayLeftColumn
Left column blocks
-
+
displayHome
Homepage content
-
diff --git a/install-new/fixtures/apple/data/carrier_group.xml b/install-new/fixtures/apple/data/carrier_group.xml
index f663f440f..764d57278 100644
--- a/install-new/fixtures/apple/data/carrier_group.xml
+++ b/install-new/fixtures/apple/data/carrier_group.xml
@@ -5,8 +5,8 @@
-
+
-
+
diff --git a/install-new/fixtures/apple/data/category_group.xml b/install-new/fixtures/apple/data/category_group.xml
index c92e4246d..e55a26874 100644
--- a/install-new/fixtures/apple/data/category_group.xml
+++ b/install-new/fixtures/apple/data/category_group.xml
@@ -5,14 +5,14 @@
-
+
-
-
+
+
-
-
+
+
-
+
diff --git a/install-new/fixtures/apple/data/customer.xml b/install-new/fixtures/apple/data/customer.xml
index 2f064dcac..54a895787 100644
--- a/install-new/fixtures/apple/data/customer.xml
+++ b/install-new/fixtures/apple/data/customer.xml
@@ -19,7 +19,7 @@
-
+
pub@prestashop.com
diff --git a/install-new/fixtures/apple/data/store.xml b/install-new/fixtures/apple/data/store.xml
index e59814abc..f4ec91959 100644
--- a/install-new/fixtures/apple/data/store.xml
+++ b/install-new/fixtures/apple/data/store.xml
@@ -49,7 +49,7 @@
Coconut Grove
2999 SW 32nd Avenue
- Miami
+ Miami
a:7:{i:0;s:13:"09:00 - 19:00";i:1;s:13:"09:00 - 19:00";i:2;s:13:"09:00 - 19:00";i:3;s:13:"09:00 - 19:00";i:4;s:13:"09:00 - 19:00";i:5;s:13:"10:00 - 16:00";i:6;s:13:"10:00 - 16:00";}