Ciao,
ho appena fatto una grossa cavolata, ovvero ho inavvertitamente cancellato il negozio dal server (un genio, eh?) proprio quando era perfettamente pronto e funzionante.
Ne avevo fatta una copia di backup scaricata dal server qualche giorno fa e ho riprovato mettendo online la copia di backup. All'inizio sembrava che tutto funzionasse, apparivano soltatnto dei messaggi di errore nei moduli dei pagamenti nella zona di amministrazione.
Così ho fatto delle prove di acquisto per testare il negozio e adesso il negozio mi dà 3 diversi errori in altrettante pagine:
------ 1- nella fase finale dell'acquisto (ceckout_process.php) mi dà questo errore:
1062 - Duplicate entry '16' for key 1
insert into orders (customers_id, customers_name, customers_company, customers_street_address, customers_suburb, customers_city, customers_postcode, customers_state, customers_country, customers_telephone, customers_email_address, customers_address_format_id, delivery_name, delivery_company, delivery_street_address, delivery_suburb, delivery_city, delivery_postcode, delivery_state, delivery_country, delivery_address_format_id, billing_name, billing_company, billing_street_address, billing_suburb, billing_city, billing_postcode, billing_state, billing_country, billing_address_format_id, payment_method, cc_type, cc_owner, cc_number, cc_expires, date_purchased, orders_status, currency, currency_value) values ('2', 'Danilo Chitano', '', 'via Caccio', '', 'NDSKLRNDL', '42000', 'NO', 'Italy', '0354630646+', 'monica@cycpromotions.com', '1', 'Danilo Chitano', '', 'via Caccio', '', 'NDSKLRNDL', '42000', 'NO', 'Italy', '1', 'Danilo Chitano', '', 'via Caccio', '', 'NDSKLRNDL', '42000', 'NO', 'Italy', '1', 'Ricarica PostePay', '', '', '', '', now(), '1', 'EUR', '1.00000000')
[TEP STOP]
------ 2- nella pagina "account.php"
Warning: mysql_query(): Unable to save result set in /home/bedini/public/cycpromotions.com/catalog/includes/functions/database.php on line 44
1030 - Got error 127 from table handler
select count(*) as total from orders where customers_id = '2'
[TEP STOP]
------ 3- nella homepage di amministrazione "catalog/admin/"
Warning: mysql_query(): Unable to save result set in /home/bedini/public/cycpromotions.com/catalog/admin/includes/functions/database.php on line 45
1030 - Got error 127 from table handler
select count(*) as count from orders where orders_status = '1'
Ho sputtanato il database? Devo rifare tutto daccapo??
errore 1030 - Got error 127 from table handler e altri
Moderatore: mod Generali