Document Contains No Data - problem with DBasics WWWAdminPro

Posted on 1997-10-15
Last Modified: 2013-12-25
I'm running DBasics WWWAdminPro on a FreeBSD Server.
I enter a test message to be added to the WWWBOARD and preview it - no problem so far.
When I choose Post Message I get a Document contains no data message. The permissions are all set correctly, and the scripts run fine on a different server.
Try it  at
Question by:MrG

Expert Comment

ID: 1830825
This script is working correctly, but the reason that wwwboard is returning an "empty page" (when I tried it, I was returned a HTML page, with nothing in the body).

Is it possible for you to place the wwwboard.cgi file at an accessible URL so that I can examine the source code further?

Author Comment

ID: 1830826
I'll put the source code at very shortly

Author Comment

ID: 1830827
I've now put the source at

The script actually created the first message file (1.shtml) and gives the no data messeage.

Then it will create no more files!!
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

LVL 84

Expert Comment

ID: 1830828
do you have the "wwwboard.cfg" and "wwwadmin.cfg" files?
Do you see anything in your server error logs?

LVL 84

Expert Comment

ID: 1830829
When I run the source at, or open
I don't get a Document contains no data message


Author Comment

ID: 1830830
Try using the webboard at:

The config files are in the directory
LVL 84

Expert Comment

ID: 1830831
When I try to run a duplicate of your wwwboard.cgi locally, I get
Permission denied at wwwboard.cgi 229.
which looks like
open(NEWFILE,">$basedir/$mesgdir/$num\.$ext") || die $!;
Does your server have permission to access that file?

Expert Comment

ID: 1830832
What you need to do is telnet in to shell, and change permissions of your directory /usr/home/gareth/public_html/talkshop/test to 755.  So it would be chmod 755 /usr/home/gareth/public_html/talkshop/test

I believe what is happening is that the CGI is not having the permissons to create the file and write into directory.

Author Comment

ID: 1830833
This doesn't work!! Sorry!!

Expert Comment

ID: 1830834
there is something wrong with the script, I went to authors test page and I got internal server error when for posting. When I got the error that I forgot my name, there was no problem.


Accepted Solution

nathans earned 200 total points
ID: 1830835
I see you are still having problems I will help you get it going and if you want some professioanl Web help talk to me when it comes to this...

Check out my web site below
then click on message board

check out the bad word feature...
and I can create other scripts for you as well as recreate the board if you want.

If you need help email me  - Home  - Work
A True Perl N. u T.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question