Jump to content
  • 0

Brak tabeli w bazie danych


SZPANPAN

Question

Witam serdecznie. Po aktualizacji do 1.7.7 wydawało się wszystko w porządku jednakże po przejściu w SPRZEDAŻ > KLIENCI > KLIENCI wyskakuje niestety taki błąd widoczny na zdjęciu... Jak mógłbym naprawić problem o którym mowa? Ktoś się spotkał z tego typu problemem i wie jak go rozwiązać? Dodam że po ostatniej aktualizacji również wystąpił błąd, a mianowicie otrzymałem takie błędy:

Cytat

SQL 1.7.7.0 1146 in ALTER TABLE `ps_connections` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Table 'am_shop.ps_connections' doesn't exist

SQL 1.7.7.0 1146 in ALTER TABLE `ps_connections_page` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Table 'am_shop.ps_connections_page' doesn't exist

SQL 1.7.7.0 1146 in ALTER TABLE `ps_connections_source` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Table 'am_shop.ps_connections_source' doesn't exist

SQL 1.7.7.0 1146 in ALTER TABLE `ps_guest` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci: Table 'am_shop.ps_guest' doesn't exist

SQL 1.7.7.0 1146 in ALTER TABLE `ps_statssearch` CHANGE `keywords` `keywords` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL: Table 'am_shop.ps_statssearch' doesn't exist

SQL 1.7.7.0 1146 in ALTER TABLE `ps_connections` CHANGE `http_referer` `http_referer` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL: Table 'am_shop.ps_connections' doesn't exist

Pisałem zapytanie na polskiej grupie Facebook PrestaShop lecz pomocni tam twierdzą że to nie ma znaczenia na działanie sklepu a jednak błąd już jeden znalazłem... 

Pytanie moje brzmi jak mógłbym naprawić problem? Czy jest jakaś prosta instrukcja do samodzielnego naprawienia błędu? :)

 

Serdecznie pozdrawiam i oczekuje z niecierpliwością na odpowiedź! :)

 

1173226260_Beztytuu.thumb.png.bad4362c3a8a90df67fb2115e8f95a9d.png

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Fakt że tabela nie jest potrzebna, natomiast możesz ją dodać zapytaniem

/* User connections log. See PS_STATSDATA_PAGESVIEWS variable */

CREATE TABLE `PREFIX_connections` (

`id_connections` int(10) unsigned NOT NULL auto_increment,

`id_shop_group` INT(11) UNSIGNED NOT NULL DEFAULT '1',

`id_shop` INT(11) UNSIGNED NOT NULL DEFAULT '1',

`id_guest` int(10) unsigned NOT NULL,

`id_page` int(10) unsigned NOT NULL,

`ip_address` BIGINT NULL DEFAULT NULL,

`date_add` datetime NOT NULL,

`http_referer` varchar(255) DEFAULT NULL,

PRIMARY KEY (`id_connections`),

KEY `id_guest` (`id_guest`),

KEY `date_add` (`date_add`),

KEY `id_page` (`id_page`)

) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8mb4 COLLATION;

/* User connection pages log. See PS_STATSDATA_CUSTOMER_PAGESVIEWS variable */

CREATE TABLE `PREFIX_connections_page` (

`id_connections` int(10) unsigned NOT NULL,

`id_page` int(10) unsigned NOT NULL,

`time_start` datetime NOT NULL,

`time_end` datetime DEFAULT NULL,

PRIMARY KEY (

`id_connections`, `id_page`, `time_start`

)

) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8mb4 COLLATION;

/* User connection source log. */

CREATE TABLE `PREFIX_connections_source` (

`id_connections_source` int(10) unsigned NOT NULL auto_increment,

`id_connections` int(10) unsigned NOT NULL,

`http_referer` varchar(255) DEFAULT NULL,

`request_uri` varchar(255) DEFAULT NULL,

`keywords` varchar(255) DEFAULT NULL,

`date_add` datetime NOT NULL,

PRIMARY KEY (`id_connections_source`),

KEY `connections` (`id_connections`),

KEY `orderby` (`date_add`),

KEY `http_referer` (`http_referer`),

KEY `request_uri` (`request_uri`)

) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8mb4 COLLATION;


/* Stats from guest user */

CREATE TABLE `PREFIX_guest` (

`id_guest` int(10) unsigned NOT NULL auto_increment,

`id_operating_system` int(10) unsigned DEFAULT NULL,

`id_web_browser` int(10) unsigned DEFAULT NULL,

`id_customer` int(10) unsigned DEFAULT NULL,

`javascript` tinyint(1) DEFAULT '0',

`screen_resolution_x` smallint(5) unsigned DEFAULT NULL,

`screen_resolution_y` smallint(5) unsigned DEFAULT NULL,

`screen_color` tinyint(3) unsigned DEFAULT NULL,

`sun_java` tinyint(1) DEFAULT NULL,

`adobe_flash` tinyint(1) DEFAULT NULL,

`adobe_director` tinyint(1) DEFAULT NULL,

`apple_quicktime` tinyint(1) DEFAULT NULL,

`real_player` tinyint(1) DEFAULT NULL,

`windows_media` tinyint(1) DEFAULT NULL,

`accept_language` varchar(8) DEFAULT NULL,

`mobile_theme` tinyint(1) NOT NULL DEFAULT '0',

PRIMARY KEY (`id_guest`),

KEY `id_customer` (`id_customer`),

KEY `id_operating_system` (`id_operating_system`),

KEY `id_web_browser` (`id_web_browser`)

) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8mb4 COLLATION;

Tylko zmień w nim prefix na właściwy

  • Like 1
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
×
×
  • Create New...