Gossamer Forum
Home : Products : DBMan : Customization :

!!keyword/field -search using short/long display!!

Quote Reply
!!keyword/field -search using short/long display!!
Since I have installed the short/long display users cannot search the database using fields on the search page. For example: I type in the field "ID" - 1 or 2 and I receive "There were problems with the search. Reason: no matching records.
Please fix any errors and submit the record again."

If I use the keyword search I get my search reults.



I know, that it is all does not work owing to use of short/long diplay because by using "short display" there are no my field values more. For example: in my short display I haven't "ID" field. So it cannot be scanned by "sub query".

I made two kinds of "search" in html.pl :

1. keyword search

2.field search

But what should I change in "sub query" in db.cgi to make this worked propertly????

Or do someone knows another way to solve this problem?????

thanks in advance
Quote Reply
Re: [uhrwerk] !!keyword/field -search using short/long display!! In reply to
Sorry, but I'm somewhat confused by your post.

if you want to display both a keyword and advanced (fields) searches check out the following thread:

Subject Advance Search page in html.pl
johnsonny 22-May-00
Thread: http://gossamer-threads.com/p/82880

Or in the FAQ under "Search" for the thread titled: Link to default or advanced search form

The FAQ also has some examples of advanced search forms.

Hope this helps

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] !!keyword/field -search using short/long display!! In reply to
Hi,

not really!

I dont't want to have an advanced search page. I have problems with searching on my database, because of using short/long display:

If I go to search page and try to make keyword search----it works!

But if I make the same with field search: for example I type in ID field "1" or type in Title field "Access"(I have this word 100% in my database) I receive: "There were problems with the search. Reason: no matching records. Please fix any errors and submit the record again."

It occurs as if this record in general is not present in my database.

What should I do to solve this problem?
Quote Reply
Re: [uhrwerk] !!keyword/field -search using short/long display!! In reply to
There must be a problem somewhere in your database files.

it's hard to guess where the problem may be without seeing your files. Perhaps you can make a .txt copy of your html.pl, and .cfg file and post the url to where they can be viewed.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] !!keyword/field -search using short/long display!! In reply to
Hi. This the URL of the site:

name: admin

pass: admin

http://www.seyhan-phone.de/ebg/

http://www.seyhan-phone.de/ebg/db.txt

http://www.seyhan-phone.de/ebg/html.txt

http://www.seyhan-phone.de/ebg/default_cfg.txt
Quote Reply
Re: [uhrwerk] !!keyword/field -search using short/long display!! In reply to
Hi. It was a problem with my server there. I have done it worked propertly.
Quote Reply
Re: [uhrwerk] !!keyword/field -search using short/long display!! In reply to
Great! I'm glad you got it all working :)

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/