Closed Thread
Results 1 to 5 of 5

Thread: [Fixed] Error during install

  1. #1
    polyvios_s is offline Newbie
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    [Fixed] Error during install

    Trying to do a fresh install of 4.3 with J1.5.3 and getting this error (messy hope I could make it look ok):



    * JInstaller::install: SQL Error. DB function failed with error number 1067
    Invalid default value for 'show_archive' SQL=CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` ( `id` tinyint(11) NOT NULL default '0', `hdr_text` varchar(250) NOT NULL default 'Downloads', `show_size` int(11) NOT NULL default '1', `show_ver` int(11) NOT NULL default '0', `show_lic` int(11) NOT NULL default '0', `show_icon` int(11) NOT NULL default '0', `show_dl` int(11) NOT NULL default '1', `show_desc` int(11) NOT NULL default '0', `show_hdr` int(11) NOT NULL default '1', `show_totals` int(11) NOT NULL default '0', `show_hdr_desc` int(11) NOT NULL default '1', `hdr_desc_text` LONGTEXT NOT NULL, `show_date` int(11) NOT NULL default '0', `allow_direct` int(11) NOT NULL default '0', `extra_fields` varchar(255) NOT NULL default '', `show_archive` int(11) NOT NULL default '', `allow_category` int(11) NOT NULL default '', `show_search` int(11) NOT NULL default '', PRIMARY KEY (`id`) ) TYPE=MyISAM;
    SQL =

    CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` (
    `id` tinyint(11) NOT NULL default '0',
    `hdr_text` varchar(250) NOT NULL default 'Downloads',
    `show_size` int(11) NOT NULL default '1',
    `show_ver` int(11) NOT NULL default '0',
    `show_lic` int(11) NOT NULL default '0',
    `show_icon` int(11) NOT NULL default '0',
    `show_dl` int(11) NOT NULL default '1',
    `show_desc` int(11) NOT NULL default '0',
    `show_hdr` int(11) NOT NULL default '1',
    `show_totals` int(11) NOT NULL default '0',
    `show_hdr_desc` int(11) NOT NULL default '1',
    `hdr_desc_text` LONGTEXT NOT NULL,
    `show_date` int(11) NOT NULL default '0',
    `allow_direct` int(11) NOT NULL default '0',
    `extra_fields` varchar(255) NOT NULL default '',
    `show_archive` int(11) NOT NULL default '',
    `allow_category` int(11) NOT NULL default '',
    `show_search` int(11) NOT NULL default '',
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM;

    * Component Install: SQL Error. DB function failed with error number 1067
    Invalid default value for 'show_archive' SQL=CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` ( `id` tinyint(11) NOT NULL default '0', `hdr_text` varchar(250) NOT NULL default 'Downloads', `show_size` int(11) NOT NULL default '1', `show_ver` int(11) NOT NULL default '0', `show_lic` int(11) NOT NULL default '0', `show_icon` int(11) NOT NULL default '0', `show_dl` int(11) NOT NULL default '1', `show_desc` int(11) NOT NULL default '0', `show_hdr` int(11) NOT NULL default '1', `show_totals` int(11) NOT NULL default '0', `show_hdr_desc` int(11) NOT NULL default '1', `hdr_desc_text` LONGTEXT NOT NULL, `show_date` int(11) NOT NULL default '0', `allow_direct` int(11) NOT NULL default '0', `extra_fields` varchar(255) NOT NULL default '', `show_archive` int(11) NOT NULL default '', `allow_category` int(11) NOT NULL default '', `show_search` int(11) NOT NULL default '', PRIMARY KEY (`id`) ) TYPE=MyISAM;
    SQL =

    CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` (
    `id` tinyint(11) NOT NULL default '0',
    `hdr_text` varchar(250) NOT NULL default 'Downloads',
    `show_size` int(11) NOT NULL default '1',
    `show_ver` int(11) NOT NULL default '0',
    `show_lic` int(11) NOT NULL default '0',
    `show_icon` int(11) NOT NULL default '0',
    `show_dl` int(11) NOT NULL default '1',
    `show_desc` int(11) NOT NULL default '0',
    `show_hdr` int(11) NOT NULL default '1',
    `show_totals` int(11) NOT NULL default '0',
    `show_hdr_desc` int(11) NOT NULL default '1',
    `hdr_desc_text` LONGTEXT NOT NULL,
    `show_date` int(11) NOT NULL default '0',
    `allow_direct` int(11) NOT NULL default '0',
    `extra_fields` varchar(255) NOT NULL default '',
    `show_archive` int(11) NOT NULL default '',
    `allow_category` int(11) NOT NULL default '',
    `show_search` int(11) NOT NULL default '',
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM;

    any advice?

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: Error during install

    Hey Polyvios_s, I've released a new version (4.3.1) which fixes this error. It was a typo in my installation scripts (I was trying to pass a string instead of an integer). If you find any more bugs please let me know.

  4. #3
    Join Date
    Mar 2008
    Location
    The North Pole
    Posts
    13,174
    Blog Entries
    13
    Rep Power
    114

    Re: [Fixed] Error during install

    It's amazing how many things can go wrong in stuff like this! I'm actually surprised when one of my programs does work - there's an endless supply of mistakes that can be made. But then again, the fun of it is trying to work out where you went wrong.

    Quote Originally Posted by Jordan View Post
    Good members, like yourself, stick around and post for ages to come!
    Mr. Xav | Blog | Forums

  5. #4
    Jordan Guest

    Re: [Fixed] Error during install

    Yup, and it works on one machine then another user downloads it and it doesn't work. The wide variety of users computers/servers make it very hard to debug before release (unless you have a lot of money or pay a company to run tests). This bug, though, I could of caught had I been more thorough in my tests.

  6. #5
    polyvios_s is offline Newbie
    Join Date
    Apr 2008
    Posts
    9
    Rep Power
    0

    Thumbs up Re: [Fixed] Error during install

    works like a charm with the new release thanks

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 6
    Last Post: 04-19-2010, 03:40 AM
  2. Ubuntu Install Error
    By Tor in forum Linux Installation & Configuration
    Replies: 9
    Last Post: 03-28-2009, 09:28 AM
  3. MSDN Install Error
    By Leion in forum General Programming
    Replies: 1
    Last Post: 09-24-2007, 06:37 AM
  4. [FIXED]Template Error, Please help
    By TcM in forum JavaScript and CSS
    Replies: 2
    Last Post: 09-20-2007, 11:20 PM
  5. [Fixed]Error when trying to download
    By kboardcrash in forum ionFiles
    Replies: 4
    Last Post: 08-31-2007, 05:35 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts