Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-26 20:12:41

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Orca Search integration: database error

I’m attempting to integrate Orca Search with a Textpattern site, and am receiving a database error: “Could not establish a connection to the database.” The author of Orca Search says that this isn’t an error that his script produces, and from looking at the language file he seems to be correct.

The integration I’m attempting is very simple: a “search” page template, with the search script’s includes nested within <txp:php> tags. Can anyone tell me what might be going wrong here? Orca Search’s author suggested that a variable name conflict might be to blame.

If it’s any help, here’s the relevant thread on the Orca forum. There’s a screenshot of the error (which is always accompanied by an italicized comma) in this post. I’ve just posted a follow-up message there, asking for a list of the script’s global variables. Hopefully that can narrow things down somewhat.

Offline

#2 2007-12-26 21:29:09

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: Orca Search integration: database error

“Could not establish a connection to the database.” is contained in Orca’s language file. See ../os2/body.xhtml.lang.txt, line #20.

Textpattern would show a very basic HTML page with a centered “Database unavailable.” message in case it lost its database connection or used wrong credentials.

Offline

#3 2007-12-26 21:49:42

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: Orca Search integration: database error

Well, that’s what I get for only looking in lang.txt. [facepalm]

Thanks, wet.

Offline

Board footer

Powered by FluxBB