Tetra-WebBBS Support Forum
Good morning Dave.
The scripts rely on a few (3) standardised environmental variables which are misconfigured on your server.
You can check your current settings yourself if you add "?debug&env" to the URL of your forum.
For an old programmer there is a document which should explaining the details:
http://tetrabb.com/documentation/WebBBS/index.cgi?page=1;md=read;id=36
From what I've seen so far, the three environment variables are screwed up on your server. There are a couple of hosts out there who don't get 'em right on virtual server setups. Luckily it's pretty easy to fix inside the scripts.
Assuming the following is correct:
$ENV{'SCRIPT_FILENAME'} = '/data/9/2/58/65/2710880/user/2978105/cgi-bin/bbs62x/webbbs_config.pl'
Then we can derive the two other variables and set them at the beginning of the script.
Try to put the following lines at the top of webbbs_config.pl, just below the line pointing to Perl:
BEGIN {
$ENV{'SCRIPT_NAME'} = "/cgi-bin/bbs62x/webbbs_config.pl";
$ENV{'DOCUMENT_ROOT'} = "/data/9/2/58/65/2710880/user/2978105/htdocs";
}
NOTE:
For the two other entry scripts, you must of course adjust the first variable pointing back to itself.
OR:
You may derive the things from what your server seems to offer. There is a non-standard environment variable on your server: SCRIPT_URL
Seems that one is pointing back to the script itself. If you believe it's a reliable environment setting on your host, then you can simplify the code above and have just one codeblock for all entry scripts.
Thus you can try to copy the following to all entry scripts instead of using the codeblock above and adjust the scriptname:
BEGIN {
$ENV{'SCRIPT_NAME'} = $ENV{'SCRIPT_URL'};
$ENV{'DOCUMENT_ROOT'} = "/data/9/2/58/65/2710880/user/2978105/htdocs";
}
Hope I don't have any typo in the above codeblocks. Then of course it won't work either
Please check if the document folder indeed is "htdocs" which I used above. If it's anything else, then please change the blocks above.
..... and try to get &debug output done before moving on. Paths and URLs must be set correctly or the scripts can't function properly.
Sorry for inconvenience setting up the scripts. Only we're all at a loss if hosts don't get the most common Apache setups right.
Please report your findings. You may have other questions. I'll be happy to answer asap. However, we're switching internet access provider these days and it seems to be little fun on our end
Rainer
Messages In This Thread
- 6.2 installation trouble.
- Some progress...
- LOL!
- I'm having license install issues now.
- Re: I'm having license install issues now.
- Re: I'm having license install issues now.
- Re: LOL!
- Re: I'm having license install issues now.
- I'm having license install issues now.
- LOL!
- Some progress...

![[+]](/i/toc_collapsed.gif)
![[-]](/i/toc_expanded.gif)
WebScripts










