не могу победить эту проблему с "1 - couldn't connect to host".
-установил свежий маркет, создаю товар с ценой, и появляется ощибка.
-делаю "восстановив систему по умолчанию". появляются сообщения с ощибкой типо:
JInstaller::install: /www/elitno.net/v/c/vclub/home/site/administrator/components/com_virtuemart/install/install_required_data.sql SQL Error Ошибка базы данных с номером 1062
Duplicate entry '1' for key 'virtuemart_custom_id' SQL=-- -- Dumping data for table `jos__virtuemart_customs` -- INSERT INTO `jos_virtuemart_customs` ( `virtuemart_custom_id`, `custom_parent_id`, `admin_only`, `custom_title`, `custom_tip`, `custom_value`, `custom_field_desc`, `field_type`, `is_list`, `is_hidden`, `is_cart_attribute`, `published`, `created_on`, `created_by`, `modified_on`, `modified_by`, `locked_on`, `locked_by`) VALUES (1,0, 0, 'COM_VIRTUEMART_RELATED_PRODUCTS', 'COM_VIRTUEMART_RELATED_PRODUCTS_TIP', '', 'COM_VIRTUEMART_RELATED_PRODUCTS_DESC', 'R', 0, 0, 0, 1, '2011-05-25 21:52:43', 62, '2011-05-25 21:52:43', 62, '0000-00-00 00:00:00', 0), (2,0, 0, 'COM_VIRTUEMART_RELATED_CATEGORIES', 'COM_VIRTUEMART_RELATED_CATEGORIES_TIP', NULL, 'COM_VIRTUEMART_RELATED_CATEGORIES_DESC', 'Z', 0, 0, 0, 1, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0);
SQL =
--
-- Dumping data for table `#___virtuemart_customs`
--
INSERT INTO `#__virtuemart_customs` ( `virtuemart_custom_id`, `custom_parent_id`, `admin_only`, `custom_title`, `custom_tip`, `custom_value`, `custom_field_desc`, `field_type`, `is_list`, `is_hidden`, `is_cart_attribute`, `published`, `created_on`, `created_by`, `modified_on`, `modified_by`, `locked_on`, `locked_by`) VALUES
(1,0, 0, 'COM_VIRTUEMART_RELATED_PRODUCTS', 'COM_VIRTUEMART_RELATED_PRODUCTS_TIP', '', 'COM_VIRTUEMART_RELATED_PRODUCTS_DESC', 'R', 0, 0, 0, 1, '2011-05-25 21:52:43', 62, '2011-05-25 21:52:43', 62, '0000-00-00 00:00:00', 0),
(2,0, 0, 'COM_VIRTUEMART_RELATED_CATEGORIES', 'COM_VIRTUEMART_RELATED_CATEGORIES_TIP', NULL, 'COM_VIRTUEMART_RELATED_CATEGORIES_DESC', 'Z', 0, 0, 0, 1, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0, '0000-00-00 00:00:00', 0);
Info: Taking config from file
Info: Taking config from file
System defaults restored! User id of the main vendor is 42
Products
Orders & Shoppers
Manufacturers
Shop
Configuration
Tools
Tools & Migration
Control Panel
About
Help Topics
Forum
Автоматическое обновление не поддерживается
2.0.0-RC-2i
DB Tools
Migration
To use these tools fully, you must check 'Enable database Update tools' in the Configuration panel.
Synchronize media to VirtueMart
Renew config by file
Synchronize media to VirtueMart
Uploads your media to the paths:
Media product url: images/stories/virtuemart/product/
Media category url: images/stories/virtuemart/category/
Media manufacturer url: images/stories/virtuemart/manufacturer/
You can change these urls in the config settings.
Renew config by file
The config settings are reset with the values from the file /administrator/components/com_virtuemart/virtuemart_defaults.cfg
Warning
Please use those tools only if you understand what you are doing. They can break your shop completly. This tools are done for developers.
Except the delete all data is also meant for people who want completly uninstall the shop and delete all database data. Please use with caution. When using in a broken live shop make an export of your database first.
Restore
System Defaults
Remove
VirtueMart Data
Remove
VirtueMart Tables
Reset all tables
and do a fresh install
Reset all tables
and install sample data
Install tables
or if necessary
update them
Joomla!® - бесплатное программное обеспечение, распространяемое по лицензии GNU General Public License
как я понял у меня не восстановилось, так как вижу что в базе данных остался созданный мною товар(из за которого и возникает ощибка "1 - couldn't connect to host").
-я удаляю этот товар через phpmyadmin.
- всё становится на свои места, но лишь до тех пор пока я не создам снова какой нибудь товар.
чтоесть всё как у вас, но если я создаю товар, то ощибка снова появляется.