Prestashop 1.5.6, new storage system

I have found on Prestashop 1.5.6 there is a new storage system. To enable the move of images to this new system you have to:

1.- Edit your config/ file and set shop creation date “in the past” earlier than 2013-03-26. Why? The stores more recent to this date will already use the new storage system, so no move is required. The situation is weird when you have installed an old version of Prestashop after that date.

2.- Then, edit controllers/admin/AdminImagesController.php

3.- Look for “// No need to display the old image system”

4.- Below the comment line I found: “$this->display_move = false;”

5.- Replace by: “$this->display_move = true;”

6.- Then go to Preferences -> Images and click Move Images.

7.- When it will be done – change code as before or leave it.

Prestashop, issue

We have this issue on the Prestashop front office language,



It requires to increase and suhosin.request.max_var to a minimum of 1441.

In our case, I need my hosting provider to increase these values on the php.ini file.

This post is very useful to understand basic concepts about the PHP configuration.

Example of php.ini file with relevant performance parameters:

memory_limit = 2048M
max_execution_time = 1000;
max_input_time = -1;
post_max_size = 15M;
upload_max_filesize = 15M;
max_input_vars = 10000;
suhosin.get.max_vars = 10000; = 10000;