Problem during install

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Wes
Posts: 5
Joined: Sat Nov 06, 2004 12:09 pm

Problem during install

Post by Wes »

Hi, I'm new to phpMyFAQ. I've got a problem running the installer that I can't figure out. My hosting provider provides better than the minimum requirments to use the software, but I still get the following error...


| | | | | |

Error: Please install your version of phpMyFAQ once again or send us a bug report.
MySQL error: The used table type doesn't support FULLTEXT indexes


I've tried both 1.4.1 and 1.4.3 and they give the same thing. Any help would be appreciated. Thanks.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

which database type do you use? It seems you're using InnoDb instead of MyISAM. The MySQL fulltext search does not support InnoDB.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Wes
Posts: 5
Joined: Sat Nov 06, 2004 12:09 pm

Post by Wes »

Not sure. I use globat.com for my provider. Their info page only says...

PHP 4.3.4
MySQL 4.0.13
PERL v5.8.0 built for i386-freebsd
PHPMyAdmin phpMyAdmin 2.5.0

Is there any workaround? I don't even need searching in my FAQ. It's small.
Wes
Posts: 5
Joined: Sat Nov 06, 2004 12:09 pm

Post by Wes »

Any older versions that might work?
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you have to ask your hoster to enable MyISAM instead of InnoDB.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Wes
Posts: 5
Joined: Sat Nov 06, 2004 12:09 pm

Post by Wes »

I contacted them and they said I can change it in phpmyadmin. I just went into phpmyadmin and see how to change the tables once they're created, but I can't get that far in the install because it bombs before it creates anything in the DB. Is there any way I can create the tables before the install so I can change them to MyISAM before the install?
Wes
Posts: 5
Joined: Sat Nov 06, 2004 12:09 pm

Post by Wes »

Ok, I found a fix for the problem. I thought I'd mention it here incase anyone ever has this problem again. My provider globat.com sets up its tables to default to InnoDB. So the method that worked for me was to edit the installer.php file and modify each section of the code that creates a table to end with TYPE = MYISAM. You'll need to do it for each table that gets created. About a dozen of them. Here's an example...

$query[] = "CREATE TABLE IF NOT EXISTS ".$sqltblpre."faqadminlog (
id int(11) NOT NULL auto_increment,
time int(11) NOT NULL,
usr int(11) NOT NULL,
text text NOT NULL,
ip text NOT NULL,
PRIMARY KEY (id)) TYPE = MYISAM";

Notice where the TYPE = MYISAM is at the end of the query. Do that for each table and you'll be good. That is I assume. It works on globat, don't see why it wouldn't work on any other provider. Thanks for the help too Thorsten!
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

yes, I'll add the type of the created MySQL tables in the installer.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hdez10
Posts: 2
Joined: Sat Aug 04, 2007 8:51 pm

RE

Post by hdez10 »

This problem was in 2004 now i have this problem to in globat.com
I have the same error i only want to now where do i change the code:

Code: Select all

$query[] = "CREATE TABLE IF NOT EXISTS ".$sqltblpre."faqadminlog ( 
id int(11) NOT NULL auto_increment, 
time int(11) NOT NULL, 
usr int(11) NOT NULL, 
text text NOT NULL, 
ip text NOT NULL, 
PRIMARY KEY (id)) TYPE = MYISAM"; 
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

you can change to code in /install/mysql.sql.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
hdez10
Posts: 2
Joined: Sat Aug 04, 2007 8:51 pm

RE

Post by hdez10 »

Thorsten

i don't have install/mysql.sql.php i
have

mysql_basic

mysql_schema

db_update_000


i ahve error:

An error occurred trying to update the database
The used table type doesn't support FULLTEXT indexes



I don't know what to do i will be glad to give password and login for support.. Because i'm lost in all of the codes.
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you really use phpMyFAQ?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply