2016-09-05 12 views
0

私はバックオフィスに感謝して製品を追加したいと思います。しかし、私が製品を追加しようとすると、これが現れました。Prestashop製品をタイムアウトに追加

"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." 

何のサプライズ私たちは、ネットワークを見ると、スクリプトは私のmax_execution_timeには60秒であっても、30秒後に(ない500エラー)をキャンセルしていることです。

enter image description here

その結果、私は私のサーバーのログに検索し、私はこれを見つけましたが、私はそれが関係していると思いません。

[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 

私はこれをどのように解決するか知っていますか?

ありがとうございます!

+0

max_execution_timeが60に設定されていますか?バックオフィスでは 'Advanced Parameters'>' Configuration Information'に行き、 'server information'では最大実行時間を表示します。 –

答えて

0

実際の問題(カートの問題など)を引き起こすこれらの警告はありますか?

PrestaShopのエラー報告をオフにするだけで、これは通知に過ぎず無視することができます。

FYIでは、デバッグを無効にするために、以下の手順を実行できます。

  • 開いているファイル:設定/ defines.inc.php(FTPを使用するか、コントロールパネルをホスティング)真

  • 変更 - >偽:

( '_ PS_MODE_DEV_' を定義、真実);

define( '_ PS_MODE_DEV_'、false);

関連する問題