Link to home
Start Free TrialLog in
Avatar of MrG
MrG

asked on

Document Contains No Data - problem with DBasics WWWAdminPro

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 www.rusholme.com/wwwboard/talkshop/
Avatar of Voodoo
Voodoo

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?
Avatar of MrG

ASKER

I'll put the source code at http://www.rusholme.com/source.txt very shortly
Avatar of MrG

ASKER

I've now put the source at http://www.rusholme.com/source.txt

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

Then it will create no more files!!
Avatar of ozo
do you have the "wwwboard.cfg" and "wwwadmin.cfg" files?
Do you see anything in your server error logs?

When I run the source at http://www.rusholme.com/source.txt, or open
http://www.rusholme.com/wwwboard/wwwboard.cgi
I don't get a Document contains no data message

Avatar of MrG

ASKER

Try using the webboard at:
http://www.rusholme.com/talkshop/test

The config files are in the directory
http://www.rusholme.com/talkshop
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?
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.
Avatar of MrG

ASKER

This doesn't work!! Sorry!!
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.

Sincerely,
VMPN
ASKER CERTIFIED SOLUTION
Avatar of Nathan Stanford Sr
Nathan Stanford Sr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial