Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Problem with installing [Resolved]

  1. #1
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Problem with installing [Resolved]

    Hi,

    I've used ionFiles on another site, so I know it works! But I thought I'd try the most recent version (4.5.0 PB2) on a new site I'm doing. However, upon installation, I got this error message. If it helps, I tried installing version 4.4.5 on the same site and it installed perfectly.

    Thanks,

    Dave.

    * JInstaller::install: SQL Error. DB function failed with error number 1074
    Column length too big for column 'active_template' (max = 255); use BLOB or TEXT instead SQL=CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` ( `id` tinyint(11) NOT NULL default '0', `hdr_text` LONGTEXT NOT NULL, `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 '0', `allow_category` int(11) NOT NULL default '1', `show_search` int(11) NOT NULL default '1', `search_pos` int(11) NOT NULL default '0', `disable_search` int(11) NOT NULL default '0', `enable_logging` int(11) NOT NULL default '0', `log_views` int(11) NOT NULL default '0', `total_views` int(11) NOT NULL default '0', `only_uniquedls` int(11) NOT NULL default '0', `active_template` varchar(500) 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` LONGTEXT NOT NULL,
    `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 '0',
    `allow_category` int(11) NOT NULL default '1',
    `show_search` int(11) NOT NULL default '1',
    `search_pos` int(11) NOT NULL default '0',
    `disable_search` int(11) NOT NULL default '0',
    `enable_logging` int(11) NOT NULL default '0',
    `log_views` int(11) NOT NULL default '0',
    `total_views` int(11) NOT NULL default '0',
    `only_uniquedls` int(11) NOT NULL default '0',
    `active_template` varchar(500) NOT NULL default '',
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM;

    * Component Install: SQL Error. DB function failed with error number 1074
    Column length too big for column 'active_template' (max = 255); use BLOB or TEXT instead SQL=CREATE TABLE IF NOT EXISTS `jos_ionfile_conf` ( `id` tinyint(11) NOT NULL default '0', `hdr_text` LONGTEXT NOT NULL, `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 '0', `allow_category` int(11) NOT NULL default '1', `show_search` int(11) NOT NULL default '1', `search_pos` int(11) NOT NULL default '0', `disable_search` int(11) NOT NULL default '0', `enable_logging` int(11) NOT NULL default '0', `log_views` int(11) NOT NULL default '0', `total_views` int(11) NOT NULL default '0', `only_uniquedls` int(11) NOT NULL default '0', `active_template` varchar(500) 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` LONGTEXT NOT NULL,
    `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 '0',
    `allow_category` int(11) NOT NULL default '1',
    `show_search` int(11) NOT NULL default '1',
    `search_pos` int(11) NOT NULL default '0',
    `disable_search` int(11) NOT NULL default '0',
    `enable_logging` int(11) NOT NULL default '0',
    `log_views` int(11) NOT NULL default '0',
    `total_views` int(11) NOT NULL default '0',
    `only_uniquedls` int(11) NOT NULL default '0',
    `active_template` varchar(500) NOT NULL default '',
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM;

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Re: Problem with installing

    OK - I've just tried installing 4.5.0 PB2 on a local WAMP and a vanilla 1.5.12 and all was fine - I noticed I get the message that the directory iFDownloads was created so could this be the problem - that it couldn't be created on the live server?

    If so, could I create this directory myself and then try reinstalling?

    Cheers,

    Dave.

  4. #3
    Jordan Guest

    Re: Problem with installing

    Interesting, on the site that caused the error it is complaining about the size of the varchar. What database and version are you using? If you need a quick fix you can edit the installation XML file (the only xml file in the zip) and change that varchar(500) to varchar(255).

  5. #4
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Re: Problem with installing

    Hi Jordan and thanks for getting back to me.

    It's a MySQL utf8_general_ci database... set up from cpanel on my UK2 hosting account. It's J! 1.5.11 at the moment... it's a site very early in development and hadn't got round to updating to 1.5.12 yet... but could that be the problem...?! I think that it's the most recent version of ionFiles too (4.5.0 PB2).

    Ok... just tried to install on another site on the same hosting account that is J! 1.5.12 and got the same error message... so that can't be it!

    Another other thoughts, rather than your fix, in case other users run into the same problem?

    Thanks again for taking the time to look at this.

    Dave.

  6. #5
    Jordan Guest

    Re: Problem with installing

    I believe you might be using version 4 of MySQL while I developed and tested with version 5. I will fix it in the next release though. For now, however, the fix will have to suffice. Thanks for reporting the bug and if you find any other please let me know.

  7. #6
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Re: Problem with installing

    Ah - yes, I'm positive that's right. Do you think that most hosts are using MySQL version 5 now and is mine lagging behind a little?

    Thanks also explains why it worked perfectly on my local WAMP .

    Dave.

    P.S. Any timescale for 4.5.0 stable?

  8. #7
    Jordan Guest

    Re: Problem with installing

    I'm not sure. I've yet (well, until this installer for ionFiles) to run into a problem where something didn't work in MySQL 4 that did in MySQL 5. I'm not sure if hosts update or not, to be honest.

    I'd love to get the stable version out by the end of next week but it doesn't seem like many people are willing to test the beta version.

  9. #8
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Re: Problem with installing

    I'll give your fix a try and test it, but I was only going to use it for a fairly simple download listing. Still, it might turn up some bugs!

  10. #9
    DavidBoggitt is offline Newbie
    Join Date
    Jun 2008
    Posts
    26
    Rep Power
    0

    Re: Problem with installing

    Confirm: installation fine now! Thanks again,

    Dave.

  11. #10
    Jordan Guest

    Re: Problem with installing

    Excellent! I'll add that fix to the final release.

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 05-08-2011, 02:59 PM
  2. Problem Installing PyGame
    By mkjt88 in forum Python
    Replies: 3
    Last Post: 03-02-2011, 06:33 AM
  3. Problem installing PyOpenGL...
    By jimismint in forum Python
    Replies: 1
    Last Post: 07-20-2010, 06:13 PM
  4. Problem installing red5 media server
    By chief in forum Java Help
    Replies: 2
    Last Post: 05-26-2010, 03:44 PM
  5. [Resolved] Problem downloading .wmv files
    By Sparky0118 in forum ionFiles
    Replies: 4
    Last Post: 07-13-2009, 05:07 PM

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