Jump to content

Хелп, ошибка на главной странице и на всех других!

Recommended Posts

Вот такая ошбика: forum.luxurymine.ru Driver Error

There appears to be an error with the database.

If you are seeing this page, it means there was a problem communicating with our database. Sometimes this error is temporary and will go away when you refresh the page. Sometimes the error will need to be fixed by an administrator before the site will become accessible again. 

You can try to refresh the page by clicking here


Последняя SQL ошибка (Сегодня, 03:59)

Журналы  >  

Журнал ошибок SQL

Выведено только 300 последних строк из журнала. Получить полный журнал вы можете загрузив файл 'sql_error_log_07_02_16.cgi' из директории /cache на вашем сервере


Журнал ошибок SQL


---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: SELECT f.*,p.*,itemmarking.* FROM forums f LEFT JOIN permission_index p ON ( p.perm_type='forum' AND p.app='forums' AND p.perm_type_id=f.id ) LEFT JOIN core_item_markers itemmarking ON ( itemmarking.item_member_id=2 AND itemmarking.item_app='forums' AND itemmarking.item_app_key_1=f.id ) .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications/forums/sources/classes/forums/class_forums.php | [class_forums].getForumList | 144 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/applications/forums/app_class_forums.php | [class_forums].forumsInit | 128 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/sources/base/ipsRegistry.php | [app_class_forums].__construct | 1378 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Sat, 02 Jul 2016 01:00:50 +0000 Error: 1146 - Table 'own.permission_index' doesn't exist IP Address: - /

Link to comment
Share on other sites

Не хватает таблицы permission_index,  запрос к бд:

CREATE TABLE own.permission_index (
  perm_id int(10) unsigned NOT NULL auto_increment,
  app varchar(32) NOT NULL,
  perm_type varchar(32) NOT NULL,
  perm_type_id int(10) unsigned NOT NULL,
  perm_view text NOT NULL,
  perm_2 text NULL DEFAULT NULL,
  perm_3 text NULL DEFAULT NULL,
  perm_4 text NULL DEFAULT NULL,
  perm_5 text NULL DEFAULT NULL,
  perm_6 text NULL DEFAULT NULL,
  perm_7 text NULL DEFAULT NULL,
  owner_only tinyint(1) NOT NULL default 0,
  friend_only tinyint(1) NOT NULL default 0,
  authorized_users varchar(255) default NULL,
  PRIMARY KEY  (perm_id),
  KEY perm_index (perm_type,perm_type_id),
  KEY perm_type (app,perm_type,perm_type_id)


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Ваша ссылка была автоматически строена.   Отображать как обычную ссылку

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...