AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Phanouman on January 07, 2014, 06:53:09 PM

Title: Restore acidentaly deleted languages
Post by: Phanouman on January 07, 2014, 06:53:09 PM
Hi,


the  languages  don't appear anymore in  the admin.
We  may have messed up something and  have  noticed that table language  seems  to  be  'empty
Could we  have  the data for  this table  that we  could insert ?

thx
Title: Re: languages in the backend
Post by: abantecart on January 07, 2014, 11:16:46 PM
Language definitions are loaded automatically to the tables. If you deleted language_definitions, you can clean cache and they will be reloaded.

If you deleted language settings, you will need to recover this data or reinstall.

 
Title: Re: languages in the backend
Post by: Phanouman on January 08, 2014, 04:05:20 AM
Thank you for your answer:

But there is no more data settings in the backend: http://clip2net.com/s/6xFEH8 (http://clip2net.com/s/6xFEH8)

How can I recover this data ?

Since 1 month I work very hard on this website and I have lost all my job because I have cleaned the cache !

Thank you very much for your help.
Title: Re: languages in the backend
Post by: abantecart on January 10, 2014, 08:23:44 AM
I am not sure what you did. Did you delete anything from database or deleted all languages in admin?

Reinstall. If you do not want to reinstall all cart, just reload language tables.
Title: Re: languages in the backend
Post by: Phanouman on January 12, 2014, 08:06:35 AM
Thank you for your answer.

I never delete the languages in admin.

Only one time I clean all the caches in the admin and all the problems start !

I don't want reinstall all abantecart because I have make so many modifications, I don't want to lost 1 month of work !

So how can I reinstall only the languages ?

Thank you for your help.

Title: Re: languages in the backend
Post by: abantecart on January 12, 2014, 12:04:06 PM
Data is not deleted from database with cache clean up.
Somebody deleted languages in your cart. 

First try select
Code: [Select]
select * from ac_languages;
Note: ac_ might be different on your database. This depends on the prefix you used to install.

If there is nothing returned in SQL, this will prove that someone deleted languages.

To restore:
Locate file install/abantecart_database.sql
If you deleted, get it from Git: https://github.com/abantecart/abantecart-src/tree/master/public_html/install

Look for tables ac_languages and ac_language_definitions
You need to run DROP, CREATE and INSERT SQLs for these tables.

Clear cache and you can confirm languages in admin of storefront.


Title: Re: Restore acidentaly deleted languages
Post by: Phanouman on January 12, 2014, 03:12:55 PM
 :) Thank you very much I do what you tell me and I get my website back !

When the new of realease of Abantecart will be ready because I don't know how I can remove write a review in the featured products and latest products ?

 

Title: Re: Restore acidentaly deleted languages
Post by: abantecart on January 17, 2014, 02:38:17 PM
Probably in 2-3 days.  working on final fixes.