Issue with Bridge : Out of memory when retrieving datas from the Net

Issue with Bridge : Out of memory when retrieving datas from the Net

Avatar image
Nov 13, 2014
Léo GALLAND wrote
Hello,

I use Store Manager with Prestashop hosted to 1and1 server.
The connection made via PHP-MySQL gate is OK.
When I try to retrieve for the first time all datas from the server, I've this message:
-------------
Fatal error: Out of memory (allocated 95682560) (tried to allocate 20 bytes) in /homepages/21/d543768918/htdocs/bcc/bridge_dVAW4Tvo.php on line 2652
-------------

Here is my bridge.php conf :
----------
$version = '$Revision: 7.42 $';

// Please change immediately
// it is security threat to leave these values as is!
$username = 'xxx';
$password = 'xxxx';

$database_extension = 'auto'; // 'auto', 'pdo', 'mysqli', 'mysql'

// Please create this directory or change to any existing temporary directory
// temporary directory should be writable by php script (chmod 0777)
$temporary_dir = "./tmp"; // on some systems if you get output with 0 size, try to use some local temporary folder

$allow_compression = true;

//Values of $compress_level between 1 and 9 will trade off speed and efficiency, and the default is 6.
//The 1 flag means "fast but less efficient" compression, and 9 means "slow but most efficient" compression.
$compress_level = 9; // 1 - 9

$limit_query_size = 16384; //Kb
// Please enter your email address here to receive notifications
$user_email = 'lgalland@eniacweb.fr';
----------

So what's the problem ???
Thanks.

Leo

Reply
2 Answers
Avatar image
Nov 13, 2014
Dmytro Grycelyak agent wrote
Hello Leo,

Simply change the database extension from 'auto' to 'mysql':

from
$database_extension = 'auto'; // 'auto', 'pdo', 'mysqli', 'mysql'
to
$database_extension = 'mysql'; // 'auto', 'pdo', 'mysqli', 'mysql'
then save the file and proceed with Get Data from Web once more.
Avatar image
Nov 13, 2014
Léo GALLAND wrote
Thank you Volodymyr !
That's right now, the connection is OK and I can retrieve all datas from my server.