Gossamer Forum
Home : Products : DBMan SQL : Discussion :

error when using new template include

Quote Reply
error when using new template include
We are using an alternative to the <%DbSql::HTML::generate_search_results%> include in the admin>templates>search_results.html, so that we can create several templates that are dependant on the type of user. We substituted <%include record_search_results.html%> (where the html page included is one of 8 custom search results pages) for the above line of code.

However, we are getting an error on the page. It loads and functions, but has a 'Caution, Error on Page' message in the status bar. When I take the <%include record_search_results.html%> out of the search_results.html, that page loads with no errors. When I send the record_search_results.html up and load it, it loads with no errors. So, it seems somewhere in the actual include of the file, the error is occurring. But I cannot find it anywhere.

Any ideas or help would be greatly appreciated!

If you want to see the actual pages, here are links:

Output with errors:

http://www.jewelrydistrict.org/scripts/jdabase/db.cgi?do=search_results&keyword=*&db=jdamembers&sid=11c53384ac0a734a92d1a1be8899e693&fm=long&mh=10

search_results.html:

http://www.jewelrydistrict.org/scripts/jdabase/admin/templates/default/search_results.html

record_search_results.html:

http://www.jewelrydistrict.org/scripts/jdabase/admin/templates/default/record_search_results.html

To access them you will need to enter User: JDA, Password: assoc (both case sensitive.

Thanks for the help.



mycah

Last edited by:

mycah: Oct 8, 2002, 11:14 PM
Quote Reply
Re: [mycah] error when using new template include In reply to
I tried to take a look at those pages to see if I could help, but the username/password you provided doesn't appear to be working...

Fractured Atlas :: Liberate the Artist
Services: Healthcare, Fiscal Sponsorship, Marketing, Education, The Emerging Artists Fund