title: Prestashop add a product timeout
body: <p>I want to add a product thanks to back office. However, when I go to add a product this appeared.</p>
  
  <pre><code>"A server error occurred while loading the tabs: some tabs could not be loaded.
  Please try again by refreshing the page.
  If you are still encountering this problem, please check your server logs or contact your hosting provider for assistance."
  </code></pre>
  
  <p>What's suprises me is that when <strong>we look Network, scripts are canceled (not 500 error) after 30 seconds even if my max_execution_time is 60 seconds.</strong></p>
  
  <p><a href="https://i.stack.imgur.com/hC471.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hC471.png" alt="enter image description here"></a></p>
  
  <p>Consequently, I search to my server logs and I found this but I not think it's related.</p>
  
  <pre><code>[Mon Aug 01 10:11:03.852933 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Notice:  Undefined index: nbItemsPerLine in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 49
  
  [Mon Aug 01 10:11:03.852974 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Notice:  Trying to get property of non-object in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 49
  
  [Mon Aug 01 10:11:03.853026 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Warning:  math: function call nbItemsPerLine not allowed in /var/www/html/tools/smarty/plugins/function.math.php on line 53
  [Mon Aug 01 10:11:03.853053 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Notice:  Undefined index: nbItemsPerLineTablet in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 51
  
  [Mon Aug 01 10:11:03.853063 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Notice:  Trying to get property of non-object in /var/www/html/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 51
  [Mon Aug 01 10:11:03.853085 2016] [:error] [pid 30238] [client 192.168.122.117:60428] PHP Warning:  math: function call nbItemsPerLineTablet not allowed in /var/www/html/tools/smarty/plugins/function.math.php on line 53
  </code></pre>
  
  <p>I'm a little bit lost do you know how do I solve this ?</p>
  
  <p>Thanks !</p>