Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • djgjohng Friend
    #160346

    After much time spent yesterday trying to figure out why this template wouldn’t connect to SQL (after having it working for a week) – it appears an install of the latest XAMPP 1.7.4 was causing the problem.

    XAMPP 1.7.4 completely broke the template resulting in screens and screens of Strict Standards errors. Upon a fresh install of the JA Events and hitting step 4 in the installation I was then met with:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE=MyISAM AUTO_INCREMENT=9’ at line 29 SQL=CREATE TABLE `jos_banner` ( `bid` int(11) NOT NULL AUTO_INCREMENT, `cid` int(11) NOT NULL DEFAULT ‘0’, `type` varchar(30) NOT NULL DEFAULT ‘banner’, `name` varchar(255) NOT NULL DEFAULT ”, `alias` varchar(255) NOT NULL DEFAULT ”, `imptotal` int(11) NOT NULL DEFAULT ‘0’, `impmade` int(11) NOT NULL DEFAULT ‘0’, `clicks` int(11) NOT NULL DEFAULT ‘0’, `imageurl` varchar(100) NOT NULL DEFAULT ”, `clickurl` varchar(200) NOT NULL DEFAULT ”, `date` datetime DEFAULT NULL, `showBanner` tinyint(1) NOT NULL DEFAULT ‘0’, `checked_out` tinyint(1) NOT NULL DEFAULT ‘0’, `checked_out_time` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `editor` varchar(50) DEFAULT NULL, `custombannercode` text, `catid` int(10) unsigned NOT NULL DEFAULT ‘0’, `description` text NOT NULL, `sticky` tinyint(1) unsigned NOT NULL DEFAULT ‘0’, `ordering` int(11) NOT NULL DEFAULT ‘0’, `publish_up` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `publish_down` datetime NOT NULL DEFAULT ‘0000-00-00 00:00:00’, `tags` text NOT NULL, `params` text NOT NULL, PRIMARY KEY (`bid`), KEY `viewbanner` (`showBanner`), KEY `idx_banner_catid` (`catid`) ) TYPE=MyISAM AUTO_INCREMENT=9

    Rolling back to XAMPP 1.6.7 solved all installation / SQL connection errors.

    I searched everywhere for an answer and could not find a solution anywhere. I hope this post can help someone in the future.

    Phill Moderator
    #377213

    Please use an earlier version of MySql. There have been some big changes with MySQL 5.5.8 and at the current time the template does not support it.

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Phill 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum