mychildr Posted January 24, 2014 Share Posted January 24, 2014 Anyone can help to fix my error ? when i click Customer section, all the customer info cannot be shown, the error message as below Bad SQL queryTable 'mychildr_pres188.ps_guest' doesn't exist appreciate your help.. thanks a lot! Link to comment Share on other sites More sharing options...
NemoPS Posted January 24, 2014 Share Posted January 24, 2014 Weird, that table should be part of the ps installation. How did you install it? Was it upgraded? Exact version you run now? Link to comment Share on other sites More sharing options...
vekia Posted January 24, 2014 Share Posted January 24, 2014 DROP TABLE IF EXISTS `ps_guest`; CREATE TABLE IF NOT EXISTS `ps_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=InnoDB DEFAULT CHARSET=utf8; run this query in your phpmyadmin or other database manager, will see what's going on then 2 Link to comment Share on other sites More sharing options...
Playklicky Posted March 6, 2017 Share Posted March 6, 2017 (edited) DROP TABLE IF EXISTS `ps_guest`; CREATE TABLE IF NOT EXISTS `ps_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=InnoDB DEFAULT CHARSET=utf8; run this query in your phpmyadmin or other database manager, will see what's going on then That perfectly works. Thank you, thank you, thank youuuuuuuuu ! Edited March 6, 2017 by Playklicky (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts