2016-04-26 15 views
1

私はmagento 2.0.4とPHP 7を使用しています。 この時点で、私のウェブサイトは明日のライブに行く必要があるので、私は絶望的です。チェックアウトでチェックアウト失敗SQLstate

私は次のエラーを取得: picture here<---

> 
> 
> In my exception log i have the next output : [2016-04-26 18:52:21] 
> main.CRITICAL: Zend_Db_Statement_Exception: Report ID: 
> webapi-571fb8e513432; Message: SQLSTATE[23000]: Integrity constraint 
> violation: 1062 Duplicate entry 'O-16-04-000014-1' for key 
> 'SALES_ORDER_INCREMENT_ID_STORE_ID', query was: INSERT INTO 
> `sales_order` (`state`, `status`, `protect_code`, 
> `shipping_description`, `is_virtual`, `store_id`, `customer_id`, 
> `base_discount_amount`, `base_grand_total`, `base_shipping_amount`, 
> `base_shipping_tax_amount`, `base_subtotal`, `base_tax_amount`, 
> `base_to_global_rate`, `base_to_order_rate`, `discount_amount`, 
> `grand_total`, `shipping_amount`, `shipping_tax_amount`, 
> `store_to_base_rate`, `store_to_order_rate`, `subtotal`, `tax_amount`, 
> `total_qty_ordered`, `customer_is_guest`, `customer_note_notify`, 
> `customer_group_id`, `quote_id`, `base_shipping_discount_amount`, 
> `base_subtotal_incl_tax`, `base_total_due`, 
> `shipping_discount_amount`, `subtotal_incl_tax`, `total_due`, 
> `weight`, `increment_id`, `applied_rule_ids`, `base_currency_code`, 
> `customer_email`, `customer_firstname`, `customer_lastname`, 
> `customer_middlename`, `customer_taxvat`, `discount_description`, 
> `global_currency_code`, `order_currency_code`, `remote_ip`, 
> `shipping_method`, `store_currency_code`, `store_name`, 
> `total_item_count`, `customer_gender`, 
> `discount_tax_compensation_amount`, 
> `base_discount_tax_compensation_amount`, 
> `shipping_discount_tax_compensation_amount`, 
> `base_shipping_discount_tax_compensation_amnt`, 
> `discount_tax_compensation_invoiced`, 
> `base_discount_tax_compensation_invoiced`, 
> `discount_tax_compensation_refunded`, 
> `base_discount_tax_compensation_refunded`, `shipping_incl_tax`, 
> `base_shipping_incl_tax`, `gift_message_id`, `delivery_date`) VALUES 
> (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 
> ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, '2016-04-19') in 
> /data/sites/web/versdiversbe/www/vendor/magento/framework/Webapi/ErrorProcessor.php:194 
> Stack trace: 
> #0 /data/sites/web/versdiversbe/www/vendor/magento/framework/Webapi/ErrorProcessor.php(139): 
> Magento\Framework\Webapi\ErrorProcessor->_critical(Object(Zend_Db_Statement_Exception)) 
> #1 /data/sites/web/versdiversbe/www/vendor/magento/module-webapi/Controller/Rest.php(163): 
> Magento\Framework\Webapi\ErrorProcessor->maskException(Object(Zend_Db_Statement_Exception)) 
> #2 /data/sites/web/versdiversbe/www/var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(24): 
> Magento\Webapi\Controller\Rest->dispatch(Object(Magento\Framework\App\Request\Http)) 
> #3 /data/sites/web/versdiversbe/www/vendor/magento/framework/App/Http.php(115): 
> Magento\Webapi\Controller\Rest\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http)) 
> #4 /data/sites/web/versdiversbe/www/vendor/magento/framework/App/Bootstrap.php(258): 
> Magento\Framework\App\Http->launch() 
> #5 /data/sites/web/versdiversbe/www/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) 
> #6 {main} [] [] 

誰もしてください私は何か確認するか、私は、トラブルシューティングを続行することができますどのようにできるかアイデアを?私が行っている

もの:

  • 無効に私は
  • は、二重のエントリの
  • チェック税率が
  • をバックエンド静的コンテンツに
  • チェックphp.iniの設定を再配備しているすべてのモジュールチェックされたsales_sequenceテーブルのデータベース

私は コーディングPHPの知識が限られている

  • は、私は私が現時点で
  • を共有ホストを使用していphpmyadminの4.5
  • を使用するPHPの7.0
  • を使用することを知っています

    更新

    これで注文確認ページが表示されますが、確認メールは届きません。私が、私は(注文ビュー上のバックエンドで)メールを送信押して「注文確認メールが送信されませんでした」を有する保つ

    UPDATES 2サーバはxmlファイルに

    に到達するために内部的な問題を持っているようです「注文確認メールが送信されました」と表示されますが、そうではありません。 Hmmn

+0

に「送信非同期」をデータベースにcron_scheduleからの受注(実際の受注ではなく、順序キュー)を削除し、私のウェブサイトを置くことによって、この問題を解決しました確認メールを受け取らないでください。私はまだ同じ問題があると思うが、私が追加したカスタム登録フィールドはorrder – Versdivers

答えて

0

私は私が注文確認ページに行くけどだから今無効