TWDesign Posted May 14, 2012 Share Posted May 14, 2012 I have a complete database of about 700 products. The only thing missing from the data is the 700 product images. I have the images stored in a directory (on a different site) and I am trying to import them to PrestaShop using an absolute URL to the images on that site, via a CSV file. It only imports 140 or so images and then stops. I get a black admin screen below the Admin header - no error or warning messages. I have tried all of the following: Increasing the Resource limits via php.ini ;;;;;;;;;;;;;;;;;;;; Resource Limits ; ;;;;;;;;;;;;;;;;;;; ; max_execution_time = 30 ; Maximum execution time of each script, in seconds max_execution_time = 600 ; Maximum execution time of each script, in seconds ; max_input_time = 60 ; Maximum amount of time each script may spend parsing request data max_input_time = 600 ; Maximum amount of time each script may spend parsing request data ; memory_limit = 64M ; Maximum amount of memory a script may consume (16MB) memory_limit = 128M ; Maximum amount of memory a script may consume (16MB) and increasing the memory in the PrestaShop config file as well ini_set('memory_limit','128M'); but nothing works. There has to be a way to do this, surely? Link to comment Share on other sites More sharing options...
Sociallogin Posted May 14, 2012 Share Posted May 14, 2012 You can try at localhost and also turn on error reporting, http://www.techietips.net/turn-on-prestashop-debugging.html Link to comment Share on other sites More sharing options...
TWDesign Posted May 16, 2012 Author Share Posted May 16, 2012 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19712 bytes) in /home2/myaccount/public_html/mysite/mydir/images.inc.php on line 238 Seems like there is just a natural limitation with importing large numbers of image files. Any suggestions? Link to comment Share on other sites More sharing options...
TWDesign Posted May 16, 2012 Author Share Posted May 16, 2012 I believe I fixed this by increasing my memory limit to 256M through the php.ini I also set the same figure in the config file. Not sure if that's really necessary though. Link to comment Share on other sites More sharing options...
Dh42 Posted May 16, 2012 Share Posted May 16, 2012 One thing you might also watch out for when doing this is activating the flood protection of the other server. I have done that in the past and it is a pain in the butt if you don't run the server and you have to wait for the ban to fall off. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now