Quantcast
Channel: Phoca Forum
Viewing all articles
Browse latest Browse all 2003

Phoca Cart • Re: 500 Table '_phocacart_content_types' doesn't exist

$
0
0
Hi,
unzip com_phocacart_v5.0.0Beta36.zip local on your pc. Then go to:
admin-->update-->sql-->mysql-->5.0.0.sql
There you find all 5.0.0 querys.

To create 'phocacart_content_types' table run this queries in phpMyAdmin:

Code:

CREATE TABLE IF NOT EXISTS `#__phocacart_content_types` (    `id` int(11) NOT NULL AUTO_INCREMENT,    `title` varchar(255) NOT NULL,    `context` varchar(255) NOT NULL,    `published` tinyint(1) NOT NULL DEFAULT 0,    `checked_out` int(11),    `checked_out_time` datetime,    `ordering` int(11) NOT NULL DEFAULT 0,    `params` text,    PRIMARY KEY (`id`),    KEY `idx_context` (`context`)) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;INSERT INTO `#__phocacart_content_types` (`id`, `title`, `context`, `published`, `ordering`, `params`)    VALUES (1, 'COM_PHOCACART_CONTENT_TYPE_CATEGORY_DEFAULT', 'category', 1, 1, '{}');INSERT INTO `#__phocacart_content_types` (`id`, `title`, `context`, `published`, `ordering`, `params`)    VALUES (2, 'COM_PHOCACART_CONTENT_TYPE_RELATED_DEFAULT', 'product_related', 1, 1, '{}');
Change:
#_
to your database prefix before.

Kind regards,
Benno

Statistics: Posted by Benno — 04 Mar 2024, 16:41



Viewing all articles
Browse latest Browse all 2003

Trending Articles