Impossible to save Shipping zones
-
When creating shipping zones, they are not saved.
In the system Status of WooCommerce, it says the table ‘woocommerce_shipping_zones’ and some others don’t exist.
Thanks a lot for your help
-
Disable and reenable WooCommerce – see if the table is created.
Unfortunately, already done and even to desinstall and reinstall but always the same issue ?? Any idea?
Check with your host to see if the mysql user you have setup can actually create tables, or if there are any errors they can see.
But as you can see, same tables are fine and the 5 last ones didn’t work.
Database
WC Database Version: 2.6.2
woocommerce_sessions
woocommerce_api_keys
woocommerce_attribute_taxonomies
woocommerce_downloadable_product_permissions
woocommerce_order_items
woocommerce_order_itemmeta
woocommerce_tax_rates
woocommerce_tax_rate_locations
woocommerce_shipping_zones Table does not exist
woocommerce_shipping_zone_locations Table does not exist
woocommerce_shipping_zone_methods Table does not exist
woocommerce_payment_tokens Table does not exist
woocommerce_payment_tokenmeta Table does not existIf that can help:
### WordPress Environment ###Home URL: https://www.airlive.net
Site URL: https://www.airlive.net
WC Version: 2.6.2
Log Directory Writable: ?
WP Version: 4.5.3
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron: ?
Language: en_US### Server Environment ###
Server Info: Apache
PHP Version: 5.6.21
PHP Post Max Size: 64 MB
PHP Time Limit: 300
PHP Max Input Vars: 16000
cURL Version: 7.21.0
OpenSSL/0.9.8oSUHOSIN Installed: –
Max Upload Size: 64 MB
Default Timezone is UTC: ?
fsockopen/cURL: ?
SoapClient: ?
DOMDocument: ?
GZip: ?
Multibyte String: ?
Remote Post: ?
Remote Get: ?### Database ###
WC Database Version: 2.6.2
:
woocommerce_sessions: ?
woocommerce_api_keys: ?
woocommerce_attribute_taxonomies: ?
woocommerce_downloadable_product_permissions: ?
woocommerce_order_items: ?
woocommerce_order_itemmeta: ?
woocommerce_tax_rates: ?
woocommerce_tax_rate_locations: ?
woocommerce_shipping_zones: ? Table does not exist
woocommerce_shipping_zone_locations: ? Table does not exist
woocommerce_shipping_zone_methods: ? Table does not exist
woocommerce_payment_tokens: ? Table does not exist
woocommerce_payment_tokenmeta: ? Table does not exist### Active Plugins (11) ###
Adblock Notify: by Themeisle – 1.9.2
Auto Featured Image: by Ka Yue Yeung – 1.2
Contact Form 7: by Takayuki Miyoshi – 4.4.2
Envato WordPress Toolkit: by Envato – 1.7.3
Font Awesome 4 Menus: by New Nine Media – 4.6.1.0
GoodBarber Api: by GoodBarber – 1.0.10
WPBakery Visual Composer: by Michael M – WPBakery.com – 4.12
Pending Submission Notification: by Razvan Horeanga – 1.0
WooCommerce: by WooThemes – 2.6.2
WordPress Importer: by wordpressdotorg – 0.6.1
WPFront User Role Editor: by Syam Mohan – 2.12.4### Settings ###
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2### API ###
API Enabled: ?
### WC Pages ###
Shop Base: #19390 – /shop/
Cart: #19391 – /cart/
Checkout: #19392 – /checkout/
My Account: #19393 – /my-account/### Taxonomies ###
Product Types: external (external)
grouped (grouped)
simple (simple)
variable (variable)### Theme ###
Name: Newspaper
Version: 7.2
Author URL: https://themeforest.net/user/tagDiv/portfolio
Child Theme: ? – If you’re modifying WooCommerce on a parent theme you didn’t build personally
then we recommend using a child theme. See: How to create a child themeWooCommerce Support: ?
### Templates ###
Overrides: Newspaper/woocommerce/archive-product.php
Newspaper/woocommerce/single-product.phpWhat is the WP database prefix on your site.
I finally found what the issue was!!!! ??
The rights on the database was read/write. It worked for the first tables. I don’t know why but the 5 last ones were not created.
When I switched to administrator rights on the database, they all were created!EDIT: Sorted now Was a permissions issue!
Hi
Sorry to dig up an old topic but I’m having the exact same issue.
woocommerce_shipping_zones: ? Table does not exist
woocommerce_shipping_zone_locations: ? Table does not exist
woocommerce_shipping_zone_methods: ? Table does not exist
woocommerce_payment_tokens: ? Table does not exist
woocommerce_payment_tokenmeta: ? Table does not existI’ve given all privileges to the database user so they can create the new tables but when I deactivate & reactivate WooCommerce, the tables still don’t get created.
My database prefix is wp_
Thanks for any help.
Can you copy the tables from another install? You could temporarily create a second WordPress install with a fresh database in a sub-directory. Then you will be able to see how to setup the missing tables in the main database. phpMyAdmin skills will be needed.
If not, you may need to delete WooCommerce, not just deactivate it. When you reinstall, the reinstall routine should create the tables. You will lose all your WooCommerce settings this way, so make a note of them. I don’t think you will lose products and orders, but best to completely back up the database first.
- The topic ‘Impossible to save Shipping zones’ is closed to new replies.