FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Search engine broken / Upgrade to 2.7.2 failed
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon8.gif  Search engine broken / Upgrade to 2.7.2 failed [message #27601] Wed, 14 September 2005 17:16 Go to next message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Hi all!

Bit unhappy tonight. Since a while our search engine is broken, but my lack of SQL-knowledge did even worsten the situation. Today I wanted to try to solve the problem with an upgrade to 2.7.2.. The upgrade failed and now I'm stuck.

This is the msg I get.. So, my question is, how can I fix my search engine as soon as possible in order that I can start the upgrade...

Checking if SQL permissions to perform the upgrade are avaliable
Disable the forum
Forum is now disabled
Beginning the file upgrade process
Begining to decompress the archive
Finished decompressing the archive
File Upgrade Complete
Any changed files were backed up to: "/home/httpd/vhosts/czechslovakforum.be/httpdocs/1/errors/.backup/"

Beginning SQL Upgrades
MySQL Error: #1016 (Can't open file: 'fud26_search_cache.MYD'. (errno: 144)): show fields from fud26_search_cache

Thanks to all!

(Sorry I'm a dummy-starter Sad )

[Updated on: Wed, 14 September 2005 17:17]

Report message to a moderator

Re: Search engine broken / Upgrade to 2.7.2 failed [message #27602 is a reply to message #27601] Wed, 14 September 2005 18:45 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is a mysql error, you can probably fix it by running:

REPAIR TABLE fud26_search_cache;


FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27604 is a reply to message #27601] Wed, 14 September 2005 19:04 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Thanks. But how can I run this command?
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27608 is a reply to message #27604] Wed, 14 September 2005 22:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
This is a MySQL query you run via your Mysql interface tool.

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27626 is a reply to message #27601] Sat, 17 September 2005 15:28 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Czech Republic
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Thanks, repairing went okay, but now appears another problem:

Fatal error: Cannot redeclare fud_sql_error_handler() (previously declared in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/index.php:17) in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/include/core.inc on line 141

So, what now Smile Thanks for your support!

S.
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27662 is a reply to message #27626] Mon, 19 September 2005 15:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you access the admin control panel?

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27702 is a reply to message #27601] Wed, 21 September 2005 14:15 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Czech Republic
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
No, same error when I want to login to the adm. panel...

Fatal error: Cannot redeclare fud_sql_error_handler() (previously declared in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/include/core.inc:141) in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/include/theme/default/db. inc on line 14
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27703 is a reply to message #27702] Wed, 21 September 2005 14:31 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you re-run the upgrade script please?

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27706 is a reply to message #27703] Thu, 22 September 2005 09:36 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Czech Republic
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Can't... Because I had to change my pssword at my localhost, so the upgradescript blocks... And I can't change core.inc because it's in an APACHE directory...
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27708 is a reply to message #27706] Thu, 22 September 2005 13:38 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Make a tiny script that would chmod GLOBALS.php inside the include/ dir 666 so you can edit it.

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27745 is a reply to message #27601] Sat, 24 September 2005 01:37 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Czech Republic
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Okay, the forum is running now, but all the messages are gone, so what now...
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27748 is a reply to message #27745] Sat, 24 September 2005 16:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Run the consistency checker in the admin control panel.

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27758 is a reply to message #27601] Sun, 25 September 2005 08:04 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Done, but unfortunately no result:

This is the problem:

Warning: fopen(/home/httpd/vhosts/czechslovakforum.be/httpdocs/1/messages/msg_1): failed to open stream: Onbekend bestand of map in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/theme/default/msg.php on line 528

Warning: fseek(): supplied argument is not a valid stream resource in /home/httpd/vhosts/czechslovakforum.be/httpdocs/1/theme/default/msg.php on line 541

So Smile
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27760 is a reply to message #27758] Sun, 25 September 2005 13:33 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does the msg_1 file exist, if so does the webserver have permission to open it?

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27763 is a reply to message #27601] Sun, 25 September 2005 14:15 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Hmmm, indeed the old msg-files seemed to be deleted, although I didn't delete them... So, how can they be gone or are they moved?
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27764 is a reply to message #27763] Sun, 25 September 2005 14:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you run message compactor?

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27766 is a reply to message #27601] Sun, 25 September 2005 15:11 Go to previous messageGo to next message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Yes, but in the past this function seemed never to delete messagecontent... But as I saw in another topic, this messagedata will be probably lost? Sad

[Updated on: Sun, 25 September 2005 15:42]

Report message to a moderator

Re: Search engine broken / Upgrade to 2.7.2 failed [message #27777 is a reply to message #27766] Mon, 26 September 2005 13:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
That's why I asked if you've ran it... it could've been a possible explanation for the file being gone. No other part of the forum tries to remove that file, ever.

FUDforum Core Developer
Re: Search engine broken / Upgrade to 2.7.2 failed [message #27807 is a reply to message #27601] Tue, 27 September 2005 05:45 Go to previous message
Stijn is currently offline  Stijn   Belgium
Messages: 11
Registered: September 2004
Location: Czech Republic
Karma: 0
Junior Member
Okay, than I know enough Sad
Thanks for your patience and your help...
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Failure on new install V2.7.3RC1
Next Topic: Exporting User Data
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Dec 18 02:02:18 GMT 2024

Total time taken to generate the page: 0.18830 seconds