1
birdy
Problem installing News-module
  • 2003/12/24 12:50

  • birdy

  • Just popping in

  • Posts: 4

  • Since: 2003/12/24


Hello!

I'm trying out XOOPS and it looks very promising, although I've got a problem when trying to install the news module.
It gives an SQL error. Here's what the MySQL-debugger gives:

Queries
SELECT * FROM xoops_config WHERE (conf_modid = 0 AND conf_catid = 1) ORDER BY conf_order ASC
SELECT sess_data FROM xoops_session WHERE sess_id = '537af355c1369223c99a40283cdea016'
SELECT * FROM xoops_users WHERE uid=1
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT * FROM xoops_modules WHERE dirname = 'system'
SELECT COUNT(*) FROM xoops_modules WHERE dirname = 'news'
CREATE TABLE xoops_stories ( storyid int(8) unsigned NOT NULL auto_increment, uid int(5) unsigned NOT NULL default '0', title varchar(255) NOT NULL default '', created int(10) unsigned NOT NULL default '0', published int(10) unsigned NOT NULL default '0', expired int(10) UNSIGNED NOT NULL default '0', hostname varchar(20) NOT NULL default '', nohtml tinyint(1) NOT NULL default '0', nosmiley tinyint(1) NOT NULL default '0', hometext text NOT NULL, bodytext text NOT NULL, counter int(8) unsigned NOT NULL default '0', topicid smallint(4) unsigned NOT NULL default '1', ihome tinyint(1) NOT NULL default '0', notifypub tinyint(1) NOT NULL default '0', story_type varchar(5) NOT NULL default '', topicdisplay tinyint(1) NOT NULL default '0', topicalign char(1) NOT NULL default 'R', comments smallint(5) unsigned NOT NULL default '0', PRIMARY KEY (storyid), KEY idxstoriestopic (topicid), KEY ihome (ihome), KEY uid (uid), KEY published_ihome (published,ihome), KEY title (title(40)), KEY created (created), FULLTEXT KEY search (title,hometext,bodytext) ) TYPE=MyISAM
Error number: 1064
Error message: You have an error in your SQL syntax near 'KEY search (title,hometext,bodytext) ) TYPE=MyISAM' at line 28

SELECT * FROM xoops_modules WHERE (hasadmin = 1 AND isactive = 1) ORDER BY weight ASC, mid ASC
SELECT * FROM xoops_group_permission WHERE (gperm_name = 'module_admin' AND gperm_modid = 1 AND (gperm_groupid = 1 OR gperm_groupid = 2))
Total: 9 queries

And then it aborts installation. Can anyone help me?

Thanks!
Birdy

2
Dave_L
Re: Problem installing News-module
  • 2003/12/24 12:59

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


What's your MySQL version? FULLTEXT indices require 3.23.23 or later.

3
birdy
Re: Problem installing News-module
  • 2003/12/24 13:25

  • birdy

  • Just popping in

  • Posts: 4

  • Since: 2003/12/24


Version is 3.23.49a so that should work then?
Any other suggestions perhaps?

birdy

4
DonXoop
Re: Problem installing News-module

It still looks like a version issue or in your case a packaging issue with your MySQL. Is it a canned MySQL package for a specific distro? What distro are you running and have you checked for updates? And if it is getting old it might be a good time to use a more generic MySQL which might be more up to date. ver 3.x or 4.x but > than 3.23.49a.

Your version should work unless it is missing MyISAM support or FULLTEXT KEY search.

5
birdy
Re: Problem installing News-module
  • 2003/12/28 10:37

  • birdy

  • Just popping in

  • Posts: 4

  • Since: 2003/12/24


Hi DonXoop,

Although I'm not a MySQL guru, I've tried to make a new MyISAM type table and that works. I don't know how to find out if my MySQL installation supports fulltext search, because the MySQL manual only states that from version 3.23.23 fulltext search is possible.

Do you have any clues?

6
DonXoop
Re: Problem installing News-module

Since you could create a table I assume you have access either at the command line or from something like phpmyadmin. I did a copy of the Red higlighted command you list (minus the error) and pasted into an SQL statement to make sure it works. It did.

You might try copying the SQL and trying to create the table manually. You should do this against a test database or change the table name.

How about some details of your server? Create a PHP file somewhere with this line:
<?php phpinfo(); ?>

This might give us a clue. I'm looking for the MySQL version, PHP version, MySQL client version.

7
birdy
Re: Problem installing News-module
  • 2004/1/18 10:12

  • birdy

  • Just popping in

  • Posts: 4

  • Since: 2003/12/24


Hey DonXoop,

Thanks for the reply (I was on vacation).
I used php 4.1.2 and MySQL server and client 3.23.39.

I upgraded MySQL client and server to 3.23.58 and that did the trick. Now the news module installs properly.

Thanks for your help!

Login

Who's Online

154 user(s) are online (77 user(s) are browsing Support Forums)


Members: 0


Guests: 154


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits