Re: OS X Problem...

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 29000
interpreted = N
texte = When I said as a context this is the code: [orderfile file=../ShoppingCarts/[cart]] Your Facility [header8] [header9] You currently have
[search db=../data/scaimain.db&eqhosp_clinic_namedatarq=[header10]][NUMFOUND] [/search] records
in your facilities's database. [/orderfile] When I first hit this index.tpl file in a subdirectory it processes fine but after performing a search (to generate a report on other pages) it goes back to this page and somethhing fails along the lines of no data is brought back from the shopping cart. So I am no using any links that have db's declared in them, I'm only passing the cart.> From: Eric Ridgley > Reply-To: (WebCatalog Talk) > Date: Mon, 13 Mar 2000 13:32:09 > To: (WebCatalog Talk) > Subject: Re: OS X Problem... > > The Search is performed as a context, not as a command. > >> From: Michael O Shea >> Reply-To: (WebCatalog Talk) >> Date: Mon, 13 Mar 2000 17:25:26 >> To: (WebCatalog Talk) >> Subject: Re: OS X Problem... >> >>> Here's one for ya' >>> >>> We have a site that hosts multiple users associated with different >>> research facilities throughout the US. Each User has access to their >>> facilities entire section of the database. Each User also has a limited >>> access to ALL of the data from all the facilities in a combined section of >>> the web site. The site works just fine on our OS 9 / WebTen / Apache Server >>> but when we moved to our OS X box we ran into a problem. It is still on our >>> OS 9 box now and can stay there but we were a bit unnerved buy the problem >>> with OS X. >>> >>> Basically the user logs in and their facility ID is put into a header >>> field in a shopping cart. As long as they are in their center it uses this >>> facility ID to show only records from their facility. We use an Orderfile >>> context to achiever this. Where the problem arises is when the user performs >>> a search using a range of dates, start/end month(mrFIELDNAMEdata) and >>> start/end year(xrFIELDNAMEdata). The search returns fine but when the user >>> selects a link back to the 'main page' of their facility it looses the >>> information from the cart. All the code is good and it works fine on our OS >>> 9 box but not on the OS X box. The cart does not get deleted, it's still >>> there in the ShoppingCarts directory. The 'main page' loads with no user >>> data, it should say: Welcome [title] [last_name], you have [numfound] >>> records in your facilities database, but instead all the fields are blank >>> and the [numfound] indicates zero records found. Reloading the page does not >>> work but Hitting the Back Button until you hit that 'main page' again resets >>> everything just fine and it works like a charm. It seems that it only fails >>> when you call the search page. >>> Any Ideas? Sounds like an OS X bug to me. >>> >> What kind of search? If you are using somepage.tpl$search&db=blabla >> then it will not work. You will have to use Contexts or change your >> search to somepage.tpl?command=search&db=blabla. >> I cannot Imagine there being a OSX specific bug. >> >> >> >> Micheal O Shea Email:micheal@com4u.ch >> com4u.ch http://www.com4u.ch >> Breitistrasse 7B PGP key available upon request. >> >> CH-5506 Maegenwil Tel: +41 62 896 46 26 >> Switzerland >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Associated Messages, from the most recent to the oldest:

    
  1. Re[2]: HELP: OS X Problem... (Kenneth Grome 2000)
  2. Re[2]: HELP: OS X Problem... (jpeacock@univpress.com 2000)
  3. Re: HELP: OS X Problem... (Mike Davis 2000)
  4. HELP: OS X Problem... (Eric Ridgley 2000)
  5. Re: OS X Problem... (Eric Ridgley 2000)
  6. Re: OS X Problem... (Michael O Shea 2000)
  7. Re: OS X Problem... (Eric Ridgley 2000)
  8. Re: OS X Problem... (Eric Ridgley 2000)
  9. Re: OS X Problem... (Bob Minor 2000)
  10. Re: OS X Problem... (Michael O Shea 2000)
  11. OS X Problem... (Eric Ridgley 2000)
When I said as a context this is the code: [orderfile file=../ShoppingCarts/[cart]] Your Facility [header8] [header9] You currently have
[search db=../data/scaimain.db&eqhosp_clinic_namedatarq=[header10]][NUMFOUND] [/search] records
in your facilities's database. [/orderfile] When I first hit this index.tpl file in a subdirectory it processes fine but after performing a search (to generate a report on other pages) it goes back to this page and somethhing fails along the lines of no data is brought back from the shopping cart. So I am no using any links that have db's declared in them, I'm only passing the cart.> From: Eric Ridgley > Reply-To: (WebCatalog Talk) > Date: Mon, 13 Mar 2000 13:32:09 > To: (WebCatalog Talk) > Subject: Re: OS X Problem... > > The Search is performed as a context, not as a command. > >> From: Michael O Shea >> Reply-To: (WebCatalog Talk) >> Date: Mon, 13 Mar 2000 17:25:26 >> To: (WebCatalog Talk) >> Subject: Re: OS X Problem... >> >>> Here's one for ya' >>> >>> We have a site that hosts multiple users associated with different >>> research facilities throughout the US. Each User has access to their >>> facilities entire section of the database. Each User also has a limited >>> access to ALL of the data from all the facilities in a combined section of >>> the web site. The site works just fine on our OS 9 / WebTen / Apache Server >>> but when we moved to our OS X box we ran into a problem. It is still on our >>> OS 9 box now and can stay there but we were a bit unnerved buy the problem >>> with OS X. >>> >>> Basically the user logs in and their facility ID is put into a header >>> field in a shopping cart. As long as they are in their center it uses this >>> facility ID to show only records from their facility. We use an Orderfile >>> context to achiever this. Where the problem arises is when the user performs >>> a search using a range of dates, start/end month(mrFIELDNAMEdata) and >>> start/end year(xrFIELDNAMEdata). The search returns fine but when the user >>> selects a link back to the 'main page' of their facility it looses the >>> information from the cart. All the code is good and it works fine on our OS >>> 9 box but not on the OS X box. The cart does not get deleted, it's still >>> there in the ShoppingCarts directory. The 'main page' loads with no user >>> data, it should say: Welcome [title] [last_name], you have [numfound] >>> records in your facilities database, but instead all the fields are blank >>> and the [numfound] indicates zero records found. Reloading the page does not >>> work but Hitting the Back Button until you hit that 'main page' again resets >>> everything just fine and it works like a charm. It seems that it only fails >>> when you call the search page. >>> Any Ideas? Sounds like an OS X bug to me. >>> >> What kind of search? If you are using somepage.tpl$search&db=blabla >> then it will not work. You will have to use Contexts or change your >> search to somepage.tpl?command=search&db=blabla. >> I cannot Imagine there being a OSX specific bug. >> >> >> >> Micheal O Shea Email:micheal@com4u.ch >> com4u.ch http://www.com4u.ch >> Breitistrasse 7B PGP key available upon request. >> >> CH-5506 Maegenwil Tel: +41 62 896 46 26 >> Switzerland >> >> ------------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Eric Ridgley

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Summarizing results. Is there a shortcut? (1999) Moment of Thanks (1997) question: search return in order (1997) searching for items that begin with a number (2004) webcat- multiple selection in input field (1997) my SOS last week... (1996) RE: type 2 errors with ssl server (1997) Micro-managing External Links (2006) WebCat2b13MacPlugIn - syntax to convert date (1997) Make sure I understand this??? (1997) [WebDNA] Solaris version? (2008) WebCat2 several catalogs? (1997) Upgrading old WebCat Database Files (1997) Show items based on login Password (2003) Show shoppingcart after remove last item (1997) Newbie questions (2000) Secure Server basic question... (1997) math a various prices (1997) using listfiles to build a database? (2000) .html processing? (1998)