Re: using listfiles to build a database? more

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 27298
interpreted = N
texte = >I have gone a head and tried to write this database and nothing is >written. Here is the WebCat code: > >------------ > >[ListFiles ./pdfs/] > > [Showif [IsFolder]=T] > > [ListFiles [FullPath]] > > [hideif [IsFolder]=F] > > [ListFiles [FullPath]] > >
[fullpath]   | >  [filename]   |   [cart] > [Append db=dbs/ >files.db]pub_filepath=[fullpath]&pub_filename=[filename]&pub_id=[cart][/ >Append] > > [/ListFiles] > > [/hideif] > > > [/ListFiles] > > [/Showif] > >[/ListFiles] > >------------ > >this is WebCat 3.0.7 on Solaris. I have checked to make sure that the >files are owned by 'nobody' and everything is in the webroot folder that >we use for the site. I have tried with the full path (from root) to the >database etc. > >As I am not a unix guru, I don't knwo where to look on the system for >possible error messages that might tell me why I couldn't write to the >database. I can say that the [elapsedtime] is longer since I added the >append context. Anyone have any ideas as to why this isn't working? Is it >something dumb in the code or do you think it is in the permissions? > >And I have checked the case of the db filename, that isn't the problem > >Dale Try the above code with no append and see if you can see [filename] and [fullpath]. If you do the append should work.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------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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: using listfiles to build a database? more (Dale Therio 2000)
  2. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  3. Re: using listfiles to build a database? more (Therio, Dale 2000)
  4. Re: using listfiles to build a database? more (Kenneth Grome 2000)
  5. Re: using listfiles to build a database? more (WebDNA Support 2000)
  6. Re: using listfiles to build a database? more (Joseph D'Andrea 2000)
  7. Re: using listfiles to build a database? more (Dale Therio 2000)
  8. Re: using listfiles to build a database? more (Michael O Shea 2000)
  9. Re: using listfiles to build a database? more (Dale Therio 2000)
  10. Re: using listfiles to build a database? more (Michael O Shea 2000)
  11. Re: using listfiles to build a database? more (Michael O Shea 2000)
  12. Re: using listfiles to build a database? more (Therio, Dale 2000)
  13. Re: using listfiles to build a database? more (Dale Therio 2000)
>I have gone a head and tried to write this database and nothing is >written. Here is the WebCat code: > >------------ > >[ListFiles ./pdfs/] > > [Showif [IsFolder]=T] > > [ListFiles [FullPath]] > > [hideif [IsFolder]=F] > > [ListFiles [FullPath]] > >
[fullpath]   | >  [filename]   |   [cart] > [Append db=dbs/ >files.db]pub_filepath=[fullpath]&pub_filename=[filename]&pub_id=[cart][/ >Append] > > [/ListFiles] > > [/hideif] > > > [/ListFiles] > > [/Showif] > >[/ListFiles] > >------------ > >this is WebCat 3.0.7 on Solaris. I have checked to make sure that the >files are owned by 'nobody' and everything is in the webroot folder that >we use for the site. I have tried with the full path (from root) to the >database etc. > >As I am not a unix guru, I don't knwo where to look on the system for >possible error messages that might tell me why I couldn't write to the >database. I can say that the [elapsedtime] is longer since I added the >append context. Anyone have any ideas as to why this isn't working? Is it >something dumb in the code or do you think it is in the permissions? > >And I have checked the case of the db filename, that isn't the problem > >Dale Try the above code with no append and see if you can see [filename] and [fullpath]. If you do the append should work.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------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go 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 Michael O Shea

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:

same bill to and ship to? (1998) [WebDNA] Encode cookies ONLY via "method=Base64" (2008) European Dates (1998) Multiple fields on 1 input (1997) emailer (1997) Date Formats (1997) WebDNA equivalent for $REQUEST_URI (2004) Search technique question (1998) Showing unopened cart (1997) Showing unopened cart (1997) OT: Amazon Patents (2000) Separate SSL Server (1997) Listserver problem (1997) web delivery (1997) Auto-increment number, but only up to 100 then start overat 1 (2002) WebCatalog Plug-in for Webstar. (1997) GuestBook example (1997) [WebDNA] Search on a database (2012) RE: Credit card processing - UK (1997) List archive status? (1999)