During working on MyReview error may occur due to missing entries of english language.Following error can occur:
Zmax_Exception in /var/www/myreview/application/models/Mail.php at line 112: Unable to find mail 'ask_reviews' in language 'en'
This error occur due to the missing entry “ask_reviews” of english in the zmax_text table. We can complete the entries of english language in the following way:
- Export the entries of French(fr) language in the format of csv files. Suppose filename is zmax_text.csv
- Also export the entries of english language from myreview database. Suppose this file has name zmax_text1.csv
- Then convert these entries of french into english language with the help of “google translator”. And save these translated entries in file zmax_text2.csv
- Replace the file “fr” with “en” . Save the file.
- Now compare the entries of zmax_text1.csv and zmax_text2.csv
- Add the missing entries in zmax_text1.csv. Save the file.
- Now import this file (zmax_text1.csv) into zmax_text table of MyReview database.