Search error
Search error
Hello, when I search something on my log I get this error.... Does someone know how I can fix this? Thanks!
CREATE FULLTEXT INDEX entry_idx on serendipity_entries (title,body,extended)
De foutmelding van de database is:
SELECT
e.id,
e.author,
a.realname AS author,
a.email,
ec.categoryid,
e.timestamp,
e.comments,
e.title,
e.body,
e.extended,
e.trackbacks,
e.exflag
FROM
serendipity_entries e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
WHERE
MATCH(title,body,extended) AGAINST('asdg')
AND isdraft = 'false' AND timestamp <= 1114410825
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 15
/ Can't find FULLTEXT index matching the column list
CREATE FULLTEXT INDEX entry_idx on serendipity_entries (title,body,extended)
De foutmelding van de database is:
SELECT
e.id,
e.author,
a.realname AS author,
a.email,
ec.categoryid,
e.timestamp,
e.comments,
e.title,
e.body,
e.extended,
e.trackbacks,
e.exflag
FROM
serendipity_entries e
LEFT JOIN serendipity_authors a
ON e.authorid = a.authorid
LEFT JOIN serendipity_entrycat ec
ON e.id = ec.entryid
WHERE
MATCH(title,body,extended) AGAINST('asdg')
AND isdraft = 'false' AND timestamp <= 1114410825
GROUP BY e.id
ORDER BY timestamp DESC
LIMIT 15
/ Can't find FULLTEXT index matching the column list
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Search error
Use phpMyAdmin or so to execute this query:
If that reports an error, tell us the error.
MySQL fulltext search only works in Versions > 4.0 and your user account needs CREATE INDEX privileges.
Regards
Garvin
Code: Select all
CREATE FULLTEXT INDEX entry_idx on serendipity_entries (title,body,extended)
MySQL fulltext search only works in Versions > 4.0 and your user account needs CREATE INDEX privileges.
Regards
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: error
It seems your MySQL installation does not use MyISAM tables. Check why that happens; MyISAM is normalle the standard type.
You can use phpMyAdmin to change the type of a table back to MyISAM.
Regards,
Garvin
You can use phpMyAdmin to change the type of a table back to MyISAM.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: thanks
Well, that depends. For Serendipity - all changes should be set to MyISAM.
MyISAM has a couple of advantages over other table types; Write Speed being one of the important ones as well as fulltext. But it also has disadvantages, namely no referential integrity. But Serendipity does not use the foreign key system of InnoDB for example, so you wouldn't benefit from it being set to InnoDB.
Regards,
Garvin
MyISAM has a couple of advantages over other table types; Write Speed being one of the important ones as well as fulltext. But it also has disadvantages, namely no referential integrity. But Serendipity does not use the foreign key system of InnoDB for example, so you wouldn't benefit from it being set to InnoDB.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 13
- Joined: Thu Apr 28, 2005 1:02 am
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
The MySQL Search function only begins to work after a few hundred words. With only a few words it just doesn't work.
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
hi, i've encountered the same problem too. I got the same error when search. Then I use phpmyadmin to check the database following garvinhicking's advice and found that the database is of InnoDB type. The question I want to ask is that, how to set the default databse to MyISAM from the beginning? So that when I create a new table, it will use MyISAM type automatically. Thx a lot.
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Please look on the MySQL documentation for this, you'll need to edit the mysqld.conf file
Regards,
Garvin
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hello, I´m a beginner and have some questions.
After using the search in serendipity I got the same error message like the first author in this tread.
My tables are: MyISAM .
After executing the following mysql-code in serendi_entries:(my prefix: serendi_)
Of course the following informations are helpful:
First in Serendipity administration-db-password, nothing is written or could be changed (field db-name is empty) and second:
the ftp permissions in serendipity_config_local.inc are on 700 and I can´t change this in my ftp-program (error message).(How could I change this?)
Please, can someone help?
After using the search in serendipity I got the same error message like the first author in this tread.
My tables are: MyISAM .
After executing the following mysql-code in serendi_entries:(my prefix: serendi_)
I got the message from phpmyadmin:CREATE FULLTEXT INDEX entry_idx on serendi_entries (title,body,extended)
What is the Problem ?MySQL meldet: Dokumentation
#1044 - Access denied for user: 'webxxx@localhost' to database 'usr_webxxx_1'
Of course the following informations are helpful:
First in Serendipity administration-db-password, nothing is written or could be changed (field db-name is empty) and second:
the ftp permissions in serendipity_config_local.inc are on 700 and I can´t change this in my ftp-program (error message).(How could I change this?)
Please, can someone help?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
German_Guest:
About the permissions of that file, if your FTP user is the owner of the serendipity directory you should usually be able to change the file permissions. They are also set that strictly because of security reasons.
A workaround would be to create a php script:
which would reset the permissions.
Regards,
Garvin
The problem is what is mentioned: Your user account is not allowed to create fulltext indexes. Talk to your system administrator about the reasons for that.What is the Problem ?MySQL meldet: Dokumentation
#1044 - Access denied for user: 'webxxx@localhost' to database 'usr_webxxx_1'
The dbPassword is alway set to an empty string when viewing it for security reasons. Only change it if you changed the password.First in Serendipity administration-db-password, nothing is written or could be changed (field db-name is empty) and second:
the ftp permissions in serendipity_config_local.inc are on 700 and I can´t change this in my ftp-program (error message).(How could I change this?)
About the permissions of that file, if your FTP user is the owner of the serendipity directory you should usually be able to change the file permissions. They are also set that strictly because of security reasons.
A workaround would be to create a php script:
Code: Select all
<?php
chmod('serendipity_config_local.inc.php', 0777);
?>
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/