We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47025
    • 5 Posts
    Quote from: regfre at Jun 27, 2014, 03:16 PM
    Quote from: svfedorof at Feb 23, 2010, 07:05 PM
    Не могу понять что за проблема:
    « MODx Parse Error »
    
    MODx encountered the following error while attempting to parse the requested resource:
    « Execution of a query to the database failed - Table 'ekamarket.modx_atrating_ratings' doesn't exist »
          SQL: SELECT rating_id as 'params', rating as 'nbStars', lastIP as 'atrTpl', nbIP, voteDate as 'endDate' FROM modx_atRating_ratings WHERE id = '1' 
          [Copy SQL to ClipBoard]
     
    Parser timing
      MySQL:	0.5568 s	(10 Requests)
      PHP:	0.2731 s	 
      Total:	0.8299 s	 
    Наткнулся на туже проблему - решилось тольку созданием в ручную базы данных
    CREATE TABLE ИМЯБАЗЫ (
    `id` int(11) NOT NULL auto_increment,
    `rating_id` VARCHAR(80) NOT NULL,
    `rating` int(11) NOT NULL,
    `lastIP` varchar(255) NOT NULL,
    `nbIP` int(11) NOT NULL,
    `voteDate` TIMESTAMP(6),
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM;

    Также выскакивала ошибка в строке 161 в файле classes \\ anythingRating.class.inc.php
    деление на ноль

    А вы бы не могли уточнить - что вы сделали с этой строкой. А то у меня сниппет вообще ничего не выводит.