我使用了很长时间的prestashop Web服务来加载和更新我的产品。 到目前为止一切都还好。 我最近发现 update 操作失败,但 get 操作没有。 我附加了用于更新产品的XML。
<?xml version='1.0' encoding='UTF-8'?>
<prestashop xmlns:xlink='http://www.w3.org/1999/xlink'>
<product>
<id>511</id>
<id_manufacturer></id_manufacturer>
<id_supplier></id_supplier>
<id_category_default>42</id_category_default>
<new></new>
<cache_default_attribute></cache_default_attribute>
<id_default_image></id_default_image>
<id_default_combination></id_default_combination>
<id_tax_rules_group>1</id_tax_rules_group>
<position_in_category></position_in_category>
<type></type>
<id_shop_default></id_shop_default>
<reference>CMSA16GX3M2A1333C9</reference>
<supplier_reference></supplier_reference>
<location></location>
<width></width>
<height></height>
<depth></depth>
<weight>0</weight>
<quantity_discount></quantity_discount>
<ean13></ean13>
<isbn></isbn>
<upc></upc>
<cache_is_pack></cache_is_pack>
<cache_has_attachments></cache_has_attachments>
<is_virtual></is_virtual>
<state>1</state>
<additional_delivery_times></additional_delivery_times>
<delivery_in_stock><language id='2'></language></delivery_in_stock>
<delivery_out_stock><language id='2'></language></delivery_out_stock>
<on_sale></on_sale>
<online_only></online_only>
<ecotax></ecotax>
<minimal_quantity>1</minimal_quantity>
<low_stock_threshold></low_stock_threshold>
<low_stock_alert></low_stock_alert>
<price>114.67</price>
<wholesale_price></wholesale_price>
<unity></unity>
<unit_price_ratio></unit_price_ratio>
<additional_shipping_cost></additional_shipping_cost>
<customizable></customizable>
<text_fields></text_fields>
<uploadable_files></uploadable_files>
<active>1</active>
<redirect_type></redirect_type>
<id_type_redirected></id_type_redirected>
<available_for_order>1</available_for_order>
<available_date></available_date>
<show_condition></show_condition>
<condition></condition>
<show_price>1</show_price>
<indexed></indexed>
<visibility></visibility>
<advanced_stock_management></advanced_stock_management>
<date_add></date_add>
<date_upd></date_upd>
<pack_stock_type></pack_stock_type>
<meta_description><language id='2'></language></meta_description>
<meta_keywords><language id='2'></language></meta_keywords>
<meta_title><language id='2'></language></meta_title>
<link_rewrite><language id='2'>16Gb-2x8Gb-DDR3-1333MHz-SODIMM</language></link_rewrite>
<name><language id='2'><![CDATA[16Gb 2x8Gb DDR3 1333MHz SODIMM]]></language></name>
<description><language id='2'><![CDATA[]]></language></description>
<description_short><language id='2'></language></description_short>
<available_now><language id='2'></language></available_now>
<available_later><language id='2'></language></available_later>
<associations>
<categories>
<category>
<id>42</id>
</category>
</categories>
<images>
<image>
<id></id>
</image>
</images>
<combinations>
<combination>
<id></id>
</combination>
</combinations>
<product_option_values>
<product_option_value>
<id></id>
</product_option_value>
</product_option_values>
<product_features>
<product_feature>
<id></id>
<id_feature_value></id_feature_value>
</product_feature>
</product_features>
<tags>
<tag>
<id></id>
</tag>
</tags>
<stock_availables>
<stock_available>
<id></id>
<id_product_attribute></id_product_attribute>
</stock_available>
</stock_availables>
<accessories>
<product>
<id></id>
</product>
</accessories>
<product_bundle>
<product>
<id></id>
<quantity></quantity>
</product>
</product_bundle>
</associations>
</product>
</prestashop>
响应始终是相同的:
<html>
<head><title>524 Origin Time-out</title></head>
<body bgcolor="white">
<center><h1>524 Origin Time-out</h1></center>
<hr><center>cloudflare-nginx</center>
</body>
</html>
这似乎是由于服务器配置所致,我按顺序检查了以下文件:
但是我没有发现任何PUT发生,并且在prestashop日志中没有任何东西
我没有在php_error.log或Apache error.log中出错
我该怎么办?