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/
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/
ASKER
I'll put the source code at http://www.rusholme.com/source.txt very shortly
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!!
The script actually created the first message file (1.shtml) and gives the no data messeage.
Then it will create no more files!!
do you have the "wwwboard.cfg" and "wwwadmin.cfg" files?
Do you see anything in your server error logs?
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
http://www.rusholme.com/wwwboard/wwwboard.cgi
I don't get a Document contains no data message
ASKER
Try using the webboard at:
http://www.rusholme.com/talkshop/test
The config files are in the directory
http://www.rusholme.com/talkshop
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/$m esgdir/$nu m\.$ext") || die $!;
Does your server have permission to access that file?
Permission denied at wwwboard.cgi 229.
which looks like
open(NEWFILE,">$basedir/$m
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_ht ml/talksho p/test to 755. So it would be chmod 755 /usr/home/gareth/public_ht ml/talksho p/test
I believe what is happening is that the CGI is not having the permissons to create the file and write into directory.
I believe what is happening is that the CGI is not having the permissons to create the file and write into directory.
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
Sincerely,
VMPN
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Is it possible for you to place the wwwboard.cgi file at an accessible URL so that I can examine the source code further?