Hi,
I am running lasso 7 on a Windows 2000 server/IIS 5. I am attempting to submit an event: [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', -Delay='3',-Username='user',-Password='pass', -Repeat=True, -Restart=True] The event is shown in Lasso administration but it never executes. If I browse to 'http://www.myserver.net/backup.lasso' the scripts on the page execute correctly. Any ideas? Chris Lombardo -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 6/15/2006 ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
Scheduled events operate outside the context of the web root, so all
file paths (for includes, file operations, etc.) must be specified from the machine root. That's the first thing I would check. JLH On 6/16/06, Chris Lombardo <[hidden email]> wrote: > Hi, > > I am running lasso 7 on a Windows 2000 server/IIS 5. I am attempting > to submit an event: > > [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', > -Delay='3',-Username='user',-Password='pass', -Repeat=True, -Restart=True] > > The event is shown in Lasso administration but it never executes. If I > browse to 'http://www.myserver.net/backup.lasso' the scripts on the page > execute correctly. > > Any ideas? > > Chris Lombardo > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 6/15/2006 > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage > -- Find and Share Free Lasso Custom Tags at tagSwap.net! Download hundreds of open source Lasso custom tags, and post your own for others to use. RSS feeds track the newest and most popular tags. http://tagSwap.net/ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
> Scheduled events operate outside the context of the web root, so all
> file paths (for includes, file operations, etc.) must be specified > from the machine root. This reminds me of a point I wanted to ask. Why is it that async processes do not resolve their paths to the directories they are executed from? I ran into an instance where I created a file. It was not in the directory where the async process was launched. It was in the ~lasso/LassoSites/default-1/pagename/myfile.txt . Why? Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [hidden email] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Member --------------------------------------------------------------- > From: Jason Huck <[hidden email]> > Reply-To: <[hidden email]> > Date: Fri, 16 Jun 2006 12:47:07 -0400 > To: <[hidden email]> > Subject: Re: Event Schedule Problem > > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. > > That's the first thing I would check. > > JLH > > > > > On 6/16/06, Chris Lombardo <[hidden email]> wrote: >> Hi, >> >> I am running lasso 7 on a Windows 2000 server/IIS 5. I am attempting >> to submit an event: >> >> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >> -Delay='3',-Username='user',-Password='pass', -Repeat=True, -Restart=True] >> >> The event is shown in Lasso administration but it never executes. If I >> browse to 'http://www.myserver.net/backup.lasso' the scripts on the page >> execute correctly. >> >> Any ideas? >> >> Chris Lombardo >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 6/15/2006 >> >> >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage >> > > > -- > Find and Share Free Lasso Custom Tags at tagSwap.net! > Download hundreds of open source Lasso custom tags, and post your own > for others to use. RSS feeds track the newest and most popular tags. > http://tagSwap.net/ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by jasonhuck
Really?!
I'm waiting to run my first scheduled event this coming Sunday. I just entered it via Lasso Admin, and used the full URL for the process_x.lasso file. Process_x.lasso works just fine when triggered through a browser. Are you saying that an include, such as include: 'includes/site_config.inc'; has to be specified, somehow, from the server root? I'm not even sure how I would do that - include: 'domaindirectory/includes/site_config.inc'; Is that what you mean? ...Doug On Jun 16, 2006, at 9:47 AM, Jason Huck wrote: > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. > > That's the first thing I would check. > > JLH > > > > > On 6/16/06, Chris Lombardo <[hidden email]> wrote: >> Hi, >> >> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >> attempting >> to submit an event: >> >> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >> Restart=True] >> >> The event is shown in Lasso administration but it never executes. >> If I >> browse to 'http://www.myserver.net/backup.lasso' the scripts on >> the page >> execute correctly. >> >> Any ideas? >> >> Chris Lombardo >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >> 6/15/2006 >> >> >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage >> > > > -- > Find and Share Free Lasso Custom Tags at tagSwap.net! > Download hundreds of open source Lasso custom tags, and post your own > for others to use. RSS feeds track the newest and most popular tags. > http://tagSwap.net/ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: http://www.listsearch.com/ > lassotalk.lasso?manage --- Doug Gentry Dynapolis & Southern Oregon University p: 541-261-8501 / Toll Free: 888-490-0644 [hidden email] ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
You'd include it with the full path. For example on Mac OS X:
//Library/WebServer/Documents/YourSite/includes/siteconfig.inc Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [hidden email] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Member --------------------------------------------------------------- > From: Doug Gentry <[hidden email]> > Reply-To: <[hidden email]> > Date: Fri, 16 Jun 2006 09:53:16 -0700 > To: <[hidden email]> > Subject: Re: Event Schedule Problem > > Really?! > > I'm waiting to run my first scheduled event this coming Sunday. I > just entered it via Lasso Admin, and used the full URL for the > process_x.lasso file. Process_x.lasso works just fine when triggered > through a browser. > > Are you saying that an include, such as > > include: 'includes/site_config.inc'; > > has to be specified, somehow, from the server root? I'm not even > sure how I would do that - > > include: 'domaindirectory/includes/site_config.inc'; Is that > what you mean? > > ...Doug > > On Jun 16, 2006, at 9:47 AM, Jason Huck wrote: > >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. >> >> That's the first thing I would check. >> >> JLH >> >> >> >> >> On 6/16/06, Chris Lombardo <[hidden email]> wrote: >>> Hi, >>> >>> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >>> attempting >>> to submit an event: >>> >>> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >>> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >>> Restart=True] >>> >>> The event is shown in Lasso administration but it never executes. >>> If I >>> browse to 'http://www.myserver.net/backup.lasso' the scripts on >>> the page >>> execute correctly. >>> >>> Any ideas? >>> >>> Chris Lombardo >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >>> 6/15/2006 >>> >>> >>> >>> ------------------------------ >>> Lasso Support: http://support.omnipilot.com/ >>> Search the list archives: http://www.listsearch.com/lassotalk.lasso >>> Manage your list subscription: >>> http://www.listsearch.com/lassotalk.lasso?manage >>> >> >> >> -- >> Find and Share Free Lasso Custom Tags at tagSwap.net! >> Download hundreds of open source Lasso custom tags, and post your own >> for others to use. RSS feeds track the newest and most popular tags. >> http://tagSwap.net/ >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: http://www.listsearch.com/ >> lassotalk.lasso?manage > > > --- > Doug Gentry > Dynapolis & Southern Oregon University > p: 541-261-8501 / Toll Free: 888-490-0644 > [hidden email] > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Steffan A. Cline
Because they are launched as a different thread, and as such, they
lose that scope. Would be nice to pass in where you want them to run in some future version though. Adam. -- Adam Randall <[hidden email]> Senior Web Architect Stork Avenue, Inc. http://www.storkavenue.com/ (800) 861-5437 AIM/iChat: blitz574 On Jun 16, 2006, at 12:52 PM, Steffan A. Cline wrote: >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. > > > This reminds me of a point I wanted to ask. Why is it that async > processes > do not resolve their paths to the directories they are executed > from? I ran > into an instance where I created a file. It was not in the > directory where > the async process was launched. It was in the > ~lasso/LassoSites/default-1/pagename/myfile.txt . > > Why? > > > Thanks > > Steffan > > --------------------------------------------------------------- > T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 > Steffan A. Cline > [hidden email] Phoenix, Az > http://www.ExecuChoice.net USA > AIM : SteffanC ICQ : 57234309 > Lasso Partner Alliance Member > --------------------------------------------------------------- > > > >> From: Jason Huck <[hidden email]> >> Reply-To: <[hidden email]> >> Date: Fri, 16 Jun 2006 12:47:07 -0400 >> To: <[hidden email]> >> Subject: Re: Event Schedule Problem >> >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. >> >> That's the first thing I would check. >> >> JLH >> >> >> >> >> On 6/16/06, Chris Lombardo <[hidden email]> wrote: >>> Hi, >>> >>> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >>> attempting >>> to submit an event: >>> >>> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >>> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >>> Restart=True] >>> >>> The event is shown in Lasso administration but it never executes. >>> If I >>> browse to 'http://www.myserver.net/backup.lasso' the scripts on >>> the page >>> execute correctly. >>> >>> Any ideas? >>> >>> Chris Lombardo >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >>> 6/15/2006 >>> >>> >>> >>> ------------------------------ >>> Lasso Support: http://support.omnipilot.com/ >>> Search the list archives: http://www.listsearch.com/lassotalk.lasso >>> Manage your list subscription: >>> http://www.listsearch.com/lassotalk.lasso?manage >>> >> >> >> -- >> Find and Share Free Lasso Custom Tags at tagSwap.net! >> Download hundreds of open source Lasso custom tags, and post your own >> for others to use. RSS feeds track the newest and most popular tags. >> http://tagSwap.net/ >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by clomb1234
In my experience, events run just like they would from a browser
(withholding browser session information and authentication of course)... If your event is not running, make sure that you don't have a space in your URL. Your URL should be properly URL encoded or it won't work. Example: "http://www.example.com/myevent.lasso?param1=Run this page" ^^ this won't even run at all as a scheduled event "http://www.example.com/myevent.lasso?param1=Run%20this%20page" ^^ this will run as a scheduled event -----Original Message----- From: Doug Gentry [mailto:[hidden email]] Sent: Friday, June 16, 2006 9:53 AM To: [hidden email] Subject: Re: Event Schedule Problem Really?! I'm waiting to run my first scheduled event this coming Sunday. I just entered it via Lasso Admin, and used the full URL for the process_x.lasso file. Process_x.lasso works just fine when triggered through a browser. Are you saying that an include, such as include: 'includes/site_config.inc'; has to be specified, somehow, from the server root? I'm not even sure how I would do that - include: 'domaindirectory/includes/site_config.inc'; Is that what you mean? ...Doug On Jun 16, 2006, at 9:47 AM, Jason Huck wrote: > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. > > That's the first thing I would check. > > JLH > > > > > On 6/16/06, Chris Lombardo <[hidden email]> wrote: >> Hi, >> >> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >> attempting >> to submit an event: >> >> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >> Restart=True] >> >> The event is shown in Lasso administration but it never executes. >> If I >> browse to 'http://www.myserver.net/backup.lasso' the scripts on >> the page >> execute correctly. >> >> Any ideas? >> >> Chris Lombardo >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >> 6/15/2006 >> >> >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage >> > > > -- > Find and Share Free Lasso Custom Tags at tagSwap.net! > Download hundreds of open source Lasso custom tags, and post your own > for others to use. RSS feeds track the newest and most popular tags. > http://tagSwap.net/ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: http://www.listsearch.com/ > lassotalk.lasso?manage --- Doug Gentry Dynapolis & Southern Oregon University p: 541-261-8501 / Toll Free: 888-490-0644 [hidden email] ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by jasonhuck
On 6/16/06 at 12:47 PM by [hidden email] (Jason Huck):
>Scheduled events operate outside the context of the web root, so all >file paths (for includes, file operations, etc.) must be specified >from the machine root. > >That's the first thing I would check. This doesn't affect scheduled events since they are actually run using [Include_URL]. A scheduled event hit looks just like a browser hit to Lasso. You might try restarting Lasso Service to force the event queue to restart. Also, a delay of 3 is very short. That is asking the event to run every 3 minutes. [fletcher] -- Fletcher Sandbeck [hidden email] Director of Product Development http://www.lassostudio.com OmniPilot Software, Inc. http://www.omnipilot.com ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Steffan A. Cline
I suppose that the answer to this is that async processes don't really
have a "location" to run from. They are simply snippets of code that open a new thread and don't have a "file location" of their own, so they don't really have a starting point. -----Original Message----- From: Steffan A. Cline [mailto:[hidden email]] Sent: Friday, June 16, 2006 9:52 AM To: [hidden email] Subject: Async Process relevant path WAS [ Re: Event Schedule Problem ] > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. This reminds me of a point I wanted to ask. Why is it that async processes do not resolve their paths to the directories they are executed from? I ran into an instance where I created a file. It was not in the directory where the async process was launched. It was in the ~lasso/LassoSites/default-1/pagename/myfile.txt . Why? Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [hidden email] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Member --------------------------------------------------------------- > From: Jason Huck <[hidden email]> > Reply-To: <[hidden email]> > Date: Fri, 16 Jun 2006 12:47:07 -0400 > To: <[hidden email]> > Subject: Re: Event Schedule Problem > > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. > > That's the first thing I would check. > > JLH > > > > > On 6/16/06, Chris Lombardo <[hidden email]> wrote: >> Hi, >> >> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >> to submit an event: >> >> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >> -Delay='3',-Username='user',-Password='pass', -Repeat=True, -Restart=True] >> >> The event is shown in Lasso administration but it never executes. If I >> browse to 'http://www.myserver.net/backup.lasso' the scripts on the page >> execute correctly. >> >> Any ideas? >> >> Chris Lombardo >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >> >> >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage >> > > > -- > Find and Share Free Lasso Custom Tags at tagSwap.net! > Download hundreds of open source Lasso custom tags, and post your own > for others to use. RSS feeds track the newest and most popular tags. > http://tagSwap.net/ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
Well, this was the assumption I came to when searching for my file but just
seemed odd that this is the case and wanted to make sure it was supposed to be the expected result. Thanks Steffan --------------------------------------------------------------- T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 Steffan A. Cline [hidden email] Phoenix, Az http://www.ExecuChoice.net USA AIM : SteffanC ICQ : 57234309 Lasso Partner Alliance Member --------------------------------------------------------------- > From: Daniel Logue <[hidden email]> > Reply-To: <[hidden email]> > Date: Fri, 16 Jun 2006 10:09:24 -0700 > To: <[hidden email]> > Subject: Re: Async Process relevant path WAS [ Re: Event Schedule Problem ] > > I suppose that the answer to this is that async processes don't really > have a "location" to run from. They are simply snippets of code that > open a new thread and don't have a "file location" of their own, so they > don't really have a starting point. > > -----Original Message----- > From: Steffan A. Cline [mailto:[hidden email]] > Sent: Friday, June 16, 2006 9:52 AM > To: [hidden email] > Subject: Async Process relevant path WAS [ Re: Event Schedule Problem ] > >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. > > > This reminds me of a point I wanted to ask. Why is it that async > processes > do not resolve their paths to the directories they are executed from? I > ran > into an instance where I created a file. It was not in the directory > where > the async process was launched. It was in the > ~lasso/LassoSites/default-1/pagename/myfile.txt . > > Why? > > > Thanks > > Steffan > > --------------------------------------------------------------- > T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 > Steffan A. Cline > [hidden email] Phoenix, Az > http://www.ExecuChoice.net USA > AIM : SteffanC ICQ : 57234309 > Lasso Partner Alliance Member > --------------------------------------------------------------- > > > >> From: Jason Huck <[hidden email]> >> Reply-To: <[hidden email]> >> Date: Fri, 16 Jun 2006 12:47:07 -0400 >> To: <[hidden email]> >> Subject: Re: Event Schedule Problem >> >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. >> >> That's the first thing I would check. >> >> JLH >> >> >> >> >> On 6/16/06, Chris Lombardo <[hidden email]> wrote: >>> Hi, >>> >>> I am running lasso 7 on a Windows 2000 server/IIS 5. I am > attempting >>> to submit an event: >>> >>> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >>> -Delay='3',-Username='user',-Password='pass', -Repeat=True, > -Restart=True] >>> >>> The event is shown in Lasso administration but it never executes. If > I >>> browse to 'http://www.myserver.net/backup.lasso' the scripts on the > page >>> execute correctly. >>> >>> Any ideas? >>> >>> Chris Lombardo >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: > 6/15/2006 >>> >>> >>> >>> ------------------------------ >>> Lasso Support: http://support.omnipilot.com/ >>> Search the list archives: http://www.listsearch.com/lassotalk.lasso >>> Manage your list subscription: >>> http://www.listsearch.com/lassotalk.lasso?manage >>> >> >> >> -- >> Find and Share Free Lasso Custom Tags at tagSwap.net! >> Download hundreds of open source Lasso custom tags, and post your own >> for others to use. RSS feeds track the newest and most popular tags. >> http://tagSwap.net/ >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage > > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Daniel Logue
On Jun 16, 2006, at 1:09 PM, Daniel Logue wrote:
> I suppose that the answer to this is that async processes don't really > have a "location" to run from. They are simply snippets of code that > open a new thread and don't have a "file location" of their own, so > they > don't really have a starting point. That's true. Lasso never knows where the webserver root is anyway, unless the webserver tells it where it is. In a normal connection, all file paths are resolved through the web server. This permits things like virtual directories, different web roots etc. Since an async tag has no connection to the web server, it uses the application working directory, which would be the current site's directory, as the root. -K > -----Original Message----- > From: Steffan A. Cline [mailto:[hidden email]] > Sent: Friday, June 16, 2006 9:52 AM > To: [hidden email] > Subject: Async Process relevant path WAS [ Re: Event Schedule > Problem ] > >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. > > > This reminds me of a point I wanted to ask. Why is it that async > processes > do not resolve their paths to the directories they are executed > from? I > ran > into an instance where I created a file. It was not in the directory > where > the async process was launched. It was in the > ~lasso/LassoSites/default-1/pagename/myfile.txt . > > Why? > > > Thanks > > Steffan > > --------------------------------------------------------------- > T E L 6 0 2 . 5 7 9 . 4 2 3 0 | F A X 6 0 2 . 9 7 1 . 1 6 9 4 > Steffan A. Cline > [hidden email] Phoenix, Az > http://www.ExecuChoice.net USA > AIM : SteffanC ICQ : 57234309 > Lasso Partner Alliance Member > --------------------------------------------------------------- > > > >> From: Jason Huck <[hidden email]> >> Reply-To: <[hidden email]> >> Date: Fri, 16 Jun 2006 12:47:07 -0400 >> To: <[hidden email]> >> Subject: Re: Event Schedule Problem >> >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. >> >> That's the first thing I would check. >> >> JLH >> >> >> >> >> On 6/16/06, Chris Lombardo <[hidden email]> wrote: >>> Hi, >>> >>> I am running lasso 7 on a Windows 2000 server/IIS 5. I am > attempting >>> to submit an event: >>> >>> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >>> -Delay='3',-Username='user',-Password='pass', -Repeat=True, > -Restart=True] >>> >>> The event is shown in Lasso administration but it never executes. If > I >>> browse to 'http://www.myserver.net/backup.lasso' the scripts on the > page >>> execute correctly. >>> >>> Any ideas? >>> >>> Chris Lombardo >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: > 6/15/2006 >>> >>> >>> >>> ------------------------------ >>> Lasso Support: http://support.omnipilot.com/ >>> Search the list archives: http://www.listsearch.com/lassotalk.lasso >>> Manage your list subscription: >>> http://www.listsearch.com/lassotalk.lasso?manage >>> >> >> >> -- >> Find and Share Free Lasso Custom Tags at tagSwap.net! >> Download hundreds of open source Lasso custom tags, and post your own >> for others to use. RSS feeds track the newest and most popular tags. >> http://tagSwap.net/ >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage > > > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by clomb1234
Thank you for your suggestions - I will be trying them soon.
Chris Lombardo ------------- In my experience, events run just like they would from a browser (withholding browser session information and authentication of course)... If your event is not running, make sure that you don't have a space in your URL. Your URL should be properly URL encoded or it won't work. Example: "http://www.example.com/myevent.lasso?param1=Run this page" ^^ this won't even run at all as a scheduled event "http://www.example.com/myevent.lasso?param1=Run%20this%20page" ^^ this will run as a scheduled event -----Original Message----- From: Doug Gentry [mailto:dwgentry@[Protected]] Sent: Friday, June 16, 2006 9:53 AM To: [hidden email] Subject: Re: Event Schedule Problem Really?! I'm waiting to run my first scheduled event this coming Sunday. I just entered it via Lasso Admin, and used the full URL for the process_x.lasso file. Process_x.lasso works just fine when triggered through a browser. Are you saying that an include, such as include: 'includes/site_config.inc'; has to be specified, somehow, from the server root? I'm not even sure how I would do that - include: 'domaindirectory/includes/site_config.inc'; Is that what you mean? ....Doug On Jun 16, 2006, at 9:47 AM, Jason Huck wrote: > Scheduled events operate outside the context of the web root, so all > file paths (for includes, file operations, etc.) must be specified > from the machine root. > > That's the first thing I would check. > > JLH > > > > > On 6/16/06, Chris Lombardo <chris@[Protected]> wrote: >> Hi, >> >> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >> attempting >> to submit an event: >> >> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >> Restart=True] >> >> The event is shown in Lasso administration but it never executes. >> If I >> browse to 'http://www.myserver.net/backup.lasso' the scripts on >> the page >> execute correctly. >> >> Any ideas? >> >> Chris Lombardo >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >> 6/15/2006 >> >> >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: >> http://www.listsearch.com/lassotalk.lasso?manage >> > > > -- > Find and Share Free Lasso Custom Tags at tagSwap.net! > Download hundreds of open source Lasso custom tags, and post your own > for others to use. RSS feeds track the newest and most popular tags. > http://tagSwap.net/ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: http://www.listsearch.com/ > lassotalk.lasso?manage --- Doug Gentry Dynapolis & Southern Oregon University p: 541-261-8501 / Toll Free: 888-490-0644 doug@[Protected] ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: 6/15/2006 ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Doug Gentry
Just a quick afterword. I think it was Fletcher who explained that
scheduled events didn't need to be specified to the server root, rather than the site root. That confirms my experience with my first scheduled event this past Sunday. In one of my sites I had process_x.lasso. Part of the code in that file was a regular include: 'includes/site_config.inc'; - all specified within the site/domain. This ran fine. ....Doug On Jun 16, 2006, at 9:53 AM, Doug Gentry wrote: > Really?! > > I'm waiting to run my first scheduled event this coming Sunday. I > just entered it via Lasso Admin, and used the full URL for the > process_x.lasso file. Process_x.lasso works just fine when > triggered through a browser. > > Are you saying that an include, such as > > include: 'includes/site_config.inc'; > > has to be specified, somehow, from the server root? I'm not even > sure how I would do that - > > include: 'domaindirectory/includes/site_config.inc'; Is that > what you mean? > > ...Doug > > On Jun 16, 2006, at 9:47 AM, Jason Huck wrote: > >> Scheduled events operate outside the context of the web root, so all >> file paths (for includes, file operations, etc.) must be specified >> from the machine root. >> >> That's the first thing I would check. >> >> JLH >> >> >> >> >> On 6/16/06, Chris Lombardo <[hidden email]> wrote: >>> Hi, >>> >>> I am running lasso 7 on a Windows 2000 server/IIS 5. I am >>> attempting >>> to submit an event: >>> >>> [Event_Schedule: -URL='http://www.myserver.net/backup.lasso', >>> -Delay='3',-Username='user',-Password='pass', -Repeat=True, - >>> Restart=True] >>> >>> The event is shown in Lasso administration but it never executes. >>> If I >>> browse to 'http://www.myserver.net/backup.lasso' the scripts on >>> the page >>> execute correctly. >>> >>> Any ideas? >>> >>> Chris Lombardo >>> >>> -- >>> No virus found in this outgoing message. >>> Checked by AVG Anti-Virus. >>> Version: 7.1.394 / Virus Database: 268.9.0/366 - Release Date: >>> 6/15/2006 >>> >>> >>> >>> ------------------------------ >>> Lasso Support: http://support.omnipilot.com/ >>> Search the list archives: http://www.listsearch.com/lassotalk.lasso >>> Manage your list subscription: >>> http://www.listsearch.com/lassotalk.lasso?manage >>> >> >> >> -- >> Find and Share Free Lasso Custom Tags at tagSwap.net! >> Download hundreds of open source Lasso custom tags, and post your own >> for others to use. RSS feeds track the newest and most popular tags. >> http://tagSwap.net/ >> >> ------------------------------ >> Lasso Support: http://support.omnipilot.com/ >> Search the list archives: http://www.listsearch.com/lassotalk.lasso >> Manage your list subscription: http://www.listsearch.com/ >> lassotalk.lasso?manage > > > --- > Doug Gentry > Dynapolis & Southern Oregon University > p: 541-261-8501 / Toll Free: 888-490-0644 > [hidden email] > > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: http://www.listsearch.com/ > lassotalk.lasso?manage --- Doug Gentry Dynapolis & Southern Oregon University p: 541-261-8501 / Toll Free: 888-490-0644 [hidden email] ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by jasonhuck
Marc Pope wrote:
> If the user > doesn't have Javascript, it won't help anyway so you end up validating > twice. You could even use AJAX to return errors to the same page without > refreshing. Doesn't AJAX require JavaScript though? So if they don't have JavaScript, I don't think they'd have AJAX either. - Bil ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
On Nov 9, 2006, at 1:37 PM, Bil Corry wrote: > Marc Pope wrote: >> If the user >> doesn't have Javascript, it won't help anyway so you end up >> validating >> twice. You could even use AJAX to return errors to the same page >> without >> refreshing. > > Doesn't AJAX require JavaScript though? So if they don't have > JavaScript, I don't think they'd have AJAX either. > > > - Bil Yes - Ajax requires javascript. This is why I use Lasso (and autovalidate) for forms and other "mission critical" elements. Where I want to enhance the experience, Ajax is great. In this case, I would think about using AJAX to perform "on page/as it happens" checks and still perform a Lasso check prior to writing to DB. My 2 cents, Paul ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Bil Corry-3
Good point! ha
On 11/9/06 1:37 PM, "Bil Corry" <[hidden email]> wrote: > Doesn't AJAX require JavaScript though? So if they don't have JavaScript, I > don't think they'd have AJAX either. ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
In reply to this post by Bil Corry-3
> For <select>, you have to look at which value was chosen using
> .selectedIndex, and since you don't care so long as it isn't the > default, you can write it like this: > > if (schoolname.selectedIndex == 0){ > alert("You MUST enter your school or building!") > schoolname.focus() > return false > } > > That will work for IE and FF (and probably the rest). Bil, that works beautifully on SeaMonkey, Explorer, and Safari. Thanks for the assistance. I don't use Javascript that often but there are situations where it is the best solution (once you get past the various browser incompatibilities). James ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
Hi all.
For some time I am receiving something like "Hoax Data" on POST forms. They are obviously generated not by human input I guess. Most of the form inputs are repeats and look the same. Is there an easy recommended technique to avoid such hoax inputs into forms? Any information on techniques and maybe resources to read about would be highly appreciated. Thanks a lot. Cheers Detlef ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
My solution, which is pretty low tech, is to ask the user a question
for which the answer is obvious, but an automated bot can't guess. For example if on the Piedmont Choirs web site I'll ask a form user to enter the first name of the organization, that starts with the letter 'P'. Then I test for this on the response page. It has worked so far, though my sites are hardly the target for sophisticated bots. There are the other Captcha type solutions too. See listsearch.com for their solutions. ....Doug On Nov 12, 2006, at 12:08 PM, Detlef Hebbel wrote: > Hi all. > > For some time I am receiving something like "Hoax Data" on POST > forms. They > are obviously generated not by human input I guess. Most of the > form inputs > are repeats and look the same. > > Is there an easy recommended technique to avoid such hoax inputs > into forms? > > Any information on techniques and maybe resources to read about > would be > highly appreciated. > > Thanks a lot. > > Cheers > Detlef > --- Doug Gentry Dynapolis & Southern Oregon University p: 541-261-8501 / Toll Free: 888-490-0644 [hidden email] www.dynapolis.com ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
Thanks Doug.
>> How to avoid hoax data on Lasso POST forms? >> For some time I am receiving something like "Hoax Data" on POST >> forms... I have done something similar on the input forms by asking users to put a certain text "ABC" into a field. It works and stops the hoax, however the number of enquiries has gone down a lot as the users are been ask for another "manual" step to do. I would prefer a something like an "automated" way the avoid hoaxes. >> Is there an easy recommended technique to avoid such hoax inputs >> into forms? Cheers Detlef on 13/11/06 9:19 AM, Doug Gentry at [hidden email] wrote: > My solution, which is pretty low tech, is to ask the user a question > for which the answer is obvious, but an automated bot can't guess. > > For example if on the Piedmont Choirs web site I'll ask a form user > to enter the first name of the organization, that starts with the > letter 'P'. Then I test for this on the response page. It has worked > so far, though my sites are hardly the target for sophisticated bots. > > There are the other Captcha type solutions too. See listsearch.com > for their solutions. > > ....Doug > > On Nov 12, 2006, at 12:08 PM, Detlef Hebbel wrote: > >> Hi all. >> >> For some time I am receiving something like "Hoax Data" on POST >> forms. They >> are obviously generated not by human input I guess. Most of the >> form inputs >> are repeats and look the same. >> >> Is there an easy recommended technique to avoid such hoax inputs >> into forms? >> >> Any information on techniques and maybe resources to read about >> would be >> highly appreciated. >> >> Thanks a lot. >> >> Cheers >> Detlef >> > > > --- > Doug Gentry > Dynapolis & Southern Oregon University > p: 541-261-8501 / Toll Free: 888-490-0644 > [hidden email] > www.dynapolis.com > > > > ============================================ > Attend the Lasso Summit > March 2-7, 2007 in Fort Lauderdale, FL > http://www.LassoSummit.com/ > ============================================ > > ------------------------------ > Lasso Support: http://support.omnipilot.com/ > Search the list archives: http://www.listsearch.com/lassotalk.lasso > Manage your list subscription: > http://www.listsearch.com/lassotalk.lasso?manage > ============================================ Attend the Lasso Summit March 2-7, 2007 in Fort Lauderdale, FL http://www.LassoSummit.com/ ============================================ ------------------------------ Lasso Support: http://support.omnipilot.com/ Search the list archives: http://www.listsearch.com/lassotalk.lasso Manage your list subscription: http://www.listsearch.com/lassotalk.lasso?manage |
Free forum by Nabble | Edit this page |