Technology TidBits

Answers to various technical questions on php programming, mysql, linux, and many more categories.
25% off Hosting at HostGator.com:
Use Code techbits25



Without warning, my WebDNA databases and templates are not being found - help!

Last updated: 06/28/2009
The symptom is something like this:

When loading any WebDNA page, you get an error message:

An unknown error occurred: DBError  /data/x.db Database file could not be found

Or:

Template /blah/blah/blah/x.tpl not found

After checking that the databases and templates are indeed where they are supposed to be, there seems to be something wrong with WebDNA itself. 

The quick solution here is to restart WebDNA.  That has worked for me.  If you had ssh access, login and "su" to root.  In the /etc/init.d/ directory, there will be some kind of startup file, named "WebDNACtl" or "WebControl" or something.  Run that with a "stop" and then with a "start" argument.  That should effectively restart the system. 

If you don't have ssh access, then try rebooting the whole server, or have your hosting provider do it for you. 

I don't know the underlying cause of this error, so at this point, the only fix I know of is to restart the server process.

blog comments powered by Disqus
Have your own Tech-bit to contribute? Submit it here


Showing: 1-1 of 1  
Comments:
  • 09/08/2008   |   Donovan Brooke

  • One "cause" for this may be permissions if the server is a linux, Mac, or unix platform.

    Donovan



    Add comment:
    Name:
    Email:
    Comment: *
    (Use BBcode - No HTML)


    You MUST answer this simple math equation - to prevent spammers:  


    Other questions in this category:
    How can I add new fields to my WebDNA database?



    Powered by KnowledgebasePublisher 1.1
    Host Gator
    Content provided by Roberts WebForge, Inc.