Jump to content

[SOLVED] Building index stops before finish for all shops


Recommended Posts

Hi!

 

I have a prestashop 1.5.4.1 with multishop enabled and with the following products per shop...

  • Shop 1: 5570 items
  • Shop 2: 580 items
  • Shop 3: 36 items
  • Shop 4: 737 items
  • Shop 5: 1027 items
  • Shop 5: 1591 items

When I try to re-build entire index, it seems works (no errors), but I only have this products indexed...

  • Shop 1: 5570 (all of them, 100%)
  • Shop 2: 45 (of 580, 7,76%)
  • Shop 3: 2 (of 36, 5,55%)
  • Shop 4: 80 (737, 10,86%)
  • Shop 5: 124 (of 1027, 12,07%)
  • Shop 5: 178 (of 1591, 11,19%)

If I try to add missing products to index, no changes, no errors.

 

After search a little with Google and this forum, I found this post, but I can't find errors on my apache error_log file, only this warning every time I re-load the page...

 

[Wed Jun 04 17:34:43 2014] [error] [client 194.224.254.170] PHP Notice:  Undefined property: AdminHomeController::$addonsRequest in /my/path/controllers/admin/AdminHomeController.php on line 673, referer: http://my.url.com/admin_folder/index.php?controller=AdminSearchConf&token=xxxxxxxxxxxxxxx
 
This post not helps too.
 
Any ideas?
 
Thank's in advance!
Edited by nandelbosc (see edit history)
Link to comment
Share on other sites

I changed some php setting, according to: http://www.prestashop.com/forums/topic/312347-setting-max-execution-time/

 

<IfModule php5_module>
    php_value memory_limit 1024M
    php_value max_execution_time 44000
    php_value max_input_time -1
    php_value upload_max_filesize 25M
    php_value post_max_size 20M
    php_value max_input_vars 10000
</IfModule>
 
And my server use them (testing with phpinfo function and prestashop configuration information)...
 
max_execution_time 44000

max_file_uploads 20

max_input_nesting_level 64

max_input_time -1

max_input_vars 10000

memory_limit 1024M

 

 

But I have the same (exactly the same numbers) results for three times: after 23 minutes (when the indexing finish the shop #1), stops for the other shops...

 

  • Shop 1: 5728 of 5728
  • Shop 2: 45 of 580
  • Shop 3: 2 of 36
  • Shop 4: 80 of 737
  • Shop 5: 124 of 1027
  • Shop 5: 178 of 1591
  • Shop 7: 508 of 508
  • Shop 8: 888 of 890

 

Note I added two more shops, and one of them was finished the indexing too, like the shop id #1...

 

Any ideas please?

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

×
×
  • Create New...