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:

Need relative path explanation (1997) OT: Amazon Patents (2000) multiple product databases (1997) UPS charges (2000) Hiding HTML and page breaks (1997) Kaaaaahhhhhhhnnnnnnn! (1997) Webcat table size. (2001) Safari browser and WebDNA set-cookies (2003) [Announce]: Web server security and password protection (1997) Re2: frames & carts (1997) Proper way to save links in a db (2002) Question on TABLES (2003) Ampersands in database fields? (1998) Setting up shop (1997) Questions To Answer (1997) Setting up shop (1997) WebMerchant issues. (2000) SERIAL NUMBER PROBLEM *AGAIN*!!! (1998) UPS Shipping Docs (Where To Go) (1999) [HIDEIF] inside [FOUNDITEM] (1997)