New Zenner
- Join Date:
- Jan 2006
- Location:
- London, United Kingdom
- Posts:
- 19
- Plugin Contributions:
- 0
1016 Can't open file: 'zen_products.MYI'. (errno: 145)
I got an error message today just after I edited a product.
1030 Got error 22 from table handler
in:
[update zen_products set products_quantity = '0', products_type = '1', products_model = '081-5103/020', products_price = '0', products_date_available = null, products_weight = '0', products_status = '1', products_virtual = '0', products_tax_class_id = '1', manufacturers_id = '0', products_quantity_order_min = '1', products_quantity_order_units = '1', products_priced_by_attribute = '0', product_is_free = '0', product_is_call = '0', products_quantity_mixed = '1', product_is_always_free_shipping = '0', products_qty_box_status = '1', products_quantity_order_max = '1000', products_sort_order = '100', products_discount_type = '0', products_discount_type_from = '0', products_price_sorter = '0.0000', products_image = '080/RJ45-Black-Unbooted-Standard.jpg', products_last_modified = now(), master_categories_id = '71' where products_id = '181']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
I went back to page to double-check product information, everything seemed fine. I think my MYSQL has crashed for some reasons.
When I checked home page on my localhost. Got error message which stated :
1016 Can't open file: 'zen_products.MYI'. (errno: 145)
in:
[select distinct m.manufacturers_id as id, m.manufacturers_name as name from zen_products p, zen_products_to_categories p2c, zen_manufacturers m where p.products_status = 1 and p.manufacturers_id = m.manufacturers_id and p.products_id = p2c.products_id and p2c.categories_id = '0' order by m.manufacturers_name]
I've searched similar errors in other forums but it didn't help me
http://www.zen-cart.com/forum/showthread.php?t=36650&highlight=1016+error
http://www.zen-cart.com/forum/showthread.php?t=15884&highlight=1016+error
I tried to fix the problem by use PHPMyAdmin.
Scrolled down to open zen_products. I got error message,
"#1016 - Can't open file: 'zen_products.MYI'. (errno: 145)" So I can't repair the table because clicking "Operations" returned same error. PHPMyAdmin removed the link from "Empty" function, so I couldn't run it either.
If I logged in admin, got error message:
1016 Can't open file: 'zen_products.MYI'. (errno: 145)
in:
[select count(*) as count from zen_products where products_status = '1']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Other informations
zencart version: 1.3.0.1
Apache: Apache/2.0.47 (Win32)
mysql: MySQL 4.0.14-nt
PHP: 4.3.3RC5-dev (Zend: 1.3.0)
Host: Localhost
I've created backup but I added alot of products today and hope to revive them! What shall I do?