Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

[РЕШЕНО] Error No: 1146


clockwork
 Share

Recommended Posts

Quote

Fatal error: Uncaught Exception: Error: Table 'bandiduc_1.oc_email_template' doesn't exist<br />Error No: 1146<br />SELECT * FROM oc_email_template et LEFT JOIN oc_email_template_description etd ON et.email_template_id = etd.email_template_id WHERE type = 'register' AND store_id = '0' AND date_start <= NOW() AND date_end >= NOW() AND language_id = '1' ORDER BY priority, date_added LIMIT 1 in /home/bandiduc/public_html/system/library/db/mysqli.php:40 Stack trace: #0 /home/bandiduc/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /home/bandiduc/public_html/catalog/model/extension/module/phe.php(4): DB->query('SELECT * FROM o...') #2 /home/bandiduc/public_html/system/storage/modification/system/engine/loader.php(178): ModelExtensionModulePhe->getTemplate('register') #3 /home/bandiduc/public_html/system/engine/proxy.php(25): Loader->{closure}(Array, Array) #4 /home/bandiduc/public_html/system/storage/modification/catalog/model/account/customer.php(57): Proxy->__call('getTemplate', Array) in /home/bandiduc/public_html/system/library/db/mysqli.php on line 40

Помогите разобраться. Заранее спасипотому что!

Edited by clockwork
Link to comment
Share on other sites


  • 4 months later...

У меня икой же вопрос

Спойлер

PHP Fatal error:  Uncaught Exception: Error: Table 'u169103707_sco.oc_setting' doesn't exist<br />Error No: 1146<br />SELECT * FROM oc_setting WHERE store_id = '0' in /home/u169103707/domains/scooterbaza.by/public_html/system/library/db/mysqli.php:40

 

Link to comment
Share on other sites


2 часа назад, fanatic сказал:

в базе, отсутствует иблица   oc_setting

Спасипотому что за ответ. Действительно проблема была именно в базе сайи.

Link to comment
Share on other sites


  • 1 year later...

В моем случае проблема была что в файле config.php и admin/config.php был неправильный префикс указан:

define('DB_PREFIX', 'ocjl_');

и вот нужно было исправить с "осjl" на "oc"

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.