test
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • slomas Friend
    #120928

    I am trying to install Remository Ext and get the error below. Can anyone tell me how to correct this?

    SQL Error DB function failed with error number 1067
    Invalid default value for ‘id’ SQL=CREATE TABLE IF NOT EXISTS `jos_downloads_comments` ( `id` int(255) NOT NULL default ”, `comment` varchar(255) NOT NULL default ”, `userid` int(11) NOT NULL default ‘0’, `time` varchar(14) NOT NULL default ‘0’, KEY `id` (`id`), KEY `userid` (`userid`) ) TYPE=MyISAM;

    bipod Friend
    #228275

    Re: Error DB function failed with error number 1067
    Hi Slomas
    I am getting the same error when trying to install this Ext.
    Has anyone found the fix for this yet or any ideas?

    Thanx
    Bipod

    MuffinDCC Friend
    #228279

    Didnt Remository employ this feature already?

    kashxo Friend
    #228304

    As it said, the ID got invalid default value, As ‘ID’ was primary key in most case, you shouldn’t give it a default value.
    I suggest you do like this:
    – Open XML file inside the install package.
    – find the line contain that Query
    – Replace
    `id` int(255) NOT NULL default ''
    with this
    `id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY

    I think that will work for you guys.

    bipod Friend
    #228368

    Thanx for the assist Kashxo:D
    I will try this and give you feedback when done.
    I didn’t set any values on this but installed the component as was downloaded.
    Not sure why this would install for some with this value and with others throw out an error though :confused:

    bipod Friend
    #228430

    This seems to be going from one thing to the next on this instal.
    Now getting the following error..
    /public_html/media/install_46d7057790a73/remository.php does not exist!
    I have checked this and the file is there and even tried renaming the file by adding the .php to the end of it but still the same error..
    I tried re downloading the zip and then doing the changes to the XML file but still the same.
    Is there an updated download available for this component?

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

This topic contains 6 replies, has 4 voices, and was last updated by  bipod 17 years, 3 months ago.

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