我已经为前面的virtumart(Joomla)开发了类别vise搜索功能。 它在我们的本地服务器上工作正常但是当我上传到服务器上时它给了我mysql连接超时错误。它向我显示如下,
Attention no standard shopper group set MySQL server has gone away SQL=SELECT * FROM `sxrth_virtuemart_shoppergroups` WHERE `default` = "2" AND (`virtuemart_vendor_id` = "1" OR `shared` = "1") AND `published`="1"
Attention no standard shopper group set MySQL server has gone away SQL=SELECT * FROM `sxrth_virtuemart_shoppergroups` WHERE `default` = "2" AND (`virtuemart_vendor_id` = "1" OR `shared` = "1") AND `published`="1"
未定义商店货币!转到http://www.domain.com/administrator/index.php?option=com_virtuemart&view=user&task=editshop (我已经为这个链接应用了virtmart的货币和接受货币清单)
我尝试了几个选项,如
set_time_limit(o);
ini_set('mysql.connect_timeout', 14400);
ini_set('default_socket_timeout', 14400);
但这对我不起作用。
我还在publc_html文件夹中创建了php.ini文件。它看起来像下面
register_globals = off
allow_url_fopen = off
mysql.connect_timeout = 600
mysql.default_socket = 600
expose_php = Off
max_input_time = 600
max_execution_time 600
memory_limit = 360M
这仍然不适合我
我应该采取哪些措施来获得解决方案?
答案 0 :(得分:0)
最后,在完成mysqli_reconnect
并给定特定字段的索引后,它才有效。