Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/performance/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 非常慢的后台_Php_Performance_Module_Prestashop_Prestashop 1.6 - Fatal编程技术网

Php 非常慢的后台

Php 非常慢的后台,php,performance,module,prestashop,prestashop-1.6,Php,Performance,Module,Prestashop,Prestashop 1.6,我最近将prestashop更新为1.6,从那以后,我遇到了性能问题。 我已激活错误消息以检查是否一切正常,并发现一些消息告诉我以下内容: Notice on line 1279 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php [8] Undefined property: stdClass::$dist_chanel Notice on line 1280 en arch

我最近将prestashop更新为1.6,从那以后,我遇到了性能问题。 我已激活错误消息以检查是否一切正常,并发现一些消息告诉我以下内容:

Notice on line 1279 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel

Notice on line 1280 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel
Notice on line 1957 en archivo /var/www/vhosts/vallesonline.es/httpdocs/classes/Tools.php
[8] Array to string conversion
curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);
第1279行和第1280行是作者和dist_chanel的两行:

$module_data = array(
'name'=> $module->name,
'version'=> $module->version,
'author'=>$module->dist_chanel,
'dist_chanel'=> $module->dist_chanel,
);
很明显,一些没有dist_chanel属性的模块存在一些问题,因此我检查模块是否有dist_chanel属性,以便绕过该问题。如果未定义var,我将author和diet_通道设置为“”

然后,在日志文件的末尾,我发现了以下内容:

Notice on line 1279 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel

Notice on line 1280 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel
Notice on line 1957 en archivo /var/www/vhosts/vallesonline.es/httpdocs/classes/Tools.php
[8] Array to string conversion
curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);
该行如下所示:

Notice on line 1279 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel

Notice on line 1280 en archivo /var/www/vhosts/vallesonline.es/httpdocs/modules/inixframe/InixModule.php
[8] Undefined property: stdClass::$dist_chanel
Notice on line 1957 en archivo /var/www/vhosts/vallesonline.es/httpdocs/classes/Tools.php
[8] Array to string conversion
curl_setopt($curl, CURLOPT_POSTFIELDS, $post_data);
其中post_数据包含在InixModule.php上创建的数据(var模块_数据)

我认为这个问题导致了我的prestashop上的性能问题,这与更新有关(我使用了单击更新)


任何帮助都将不胜感激。

我收到了相同的错误消息。我的解决方案是卸载由InixFrame开发的名为“Presta Apps Dashboard”的模块。
到目前为止已解决。

我收到了相同的错误消息。我的解决方案是卸载由InixFrame开发的名为“Presta Apps Dashboard”的模块。
到目前为止已解决。

如果所有者和组的用户不同,请执行chmod-R 774至/var/www/html/prestashop/config/xml/

或者将/var/www/html/prestashop/config/xml/*.xml的chown(更改所有权)更改为www-data:www-data或apache2:apache2,具体取决于Debian/Ubuntu或Redhat/CentOS-这可能会有所帮助,如果您查看apache的错误日志,可能只是权限问题


下一件事应该是在Smarty under Performance上进行一些调整,以缓存所有内容。

如果所有者和组的用户不同,请执行chmod-R 774 to/var/www/html/prestashop/config/xml/

或者将/var/www/html/prestashop/config/xml/*.xml的chown(更改所有权)更改为www-data:www-data或apache2:apache2,具体取决于Debian/Ubuntu或Redhat/CentOS-这可能会有所帮助,如果您查看apache的错误日志,可能只是权限问题


下一件事应该只是在Smarty的性能下进行一些调整,以缓存所有内容。

可能需要将某些模块更新到当前版本。谷歌搜索inixframe会显示一些与www.presta-apps.com上名为Affiliate Plus程序的模块相关的结果。我认为你应该在这里报告错误,我做到了,prestashop专家帮了我。我在更新prestashop时也有错误,我的后台工作也很慢。不过,他们可能需要几天的时间才能做出回应。我会继续报道。我将在这里发布解决方案(如果有的话)。感谢您可能需要将某些模块更新到当前版本。谷歌搜索inixframe会显示一些与www.presta-apps.com上名为Affiliate Plus程序的模块相关的结果。我认为你应该在这里报告错误,我做到了,prestashop专家帮了我。我在更新prestashop时也有错误,我的后台工作也很慢。不过,他们可能需要几天的时间才能做出回应。我会继续报道。我将在这里发布解决方案(如果有的话)。感谢您可能需要将某些模块更新到当前版本。谷歌搜索inixframe会显示一些与www.presta-apps.com上名为Affiliate Plus程序的模块相关的结果。我认为你应该在这里报告错误,我做到了,prestashop专家帮了我。我在更新prestashop时也有错误,我的后台工作也很慢。不过,他们可能需要几天的时间才能做出回应。我会继续报道。我将在这里发布解决方案(如果有的话)。谢谢