Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Well i manged to sort out the 1st problem with the CP.cgi!

But now when I press the "Configure BBS" button the web page says "There has been an internal error" "Please contact your Admin dep"...ME!

When I look @ the ERR.log I see the following:

[Mon Aug 13 21:23:22 2001] [error] Undefined subroutine &Apache::ROOTlocalhost::mod_perl::cp_2ecgi::GeneratePassword2 called at c:/program files/instantservers/miniportal/apache/mod_perl/ubb_setup.cgi line 124.

Now when I open the file "ubb_setup.cgi" line 124 shows: $random_pw = &GeneratePassword2;

What the hell am I doin wrong?.....I read the install notes for Win NT & that says for Q8 about the Admin password. but I thought the BBS files were open IE no passwords set?

If any1 can help out on this matter I would be greatfull!

I am using MiniPortal Software v1.10 (Web Server)with Apache/1.3.19 (Win32) mod_perl/1.25
On a Pentium 200MMx, Windows 98 4.10.1998, 64Mb SDRAM

The WEB site is configured to be just a local host with no web access!


Guy
<img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" /> <img src="https://www.ubbcentral.com/boards/images/graemlins/confused.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Without knowing your version number and without access to the site, I have to make some guesses.

1) UBB6 will not run on Win95/98/ME without making alterations to the files as described on this page. Infopop will not usually support edited files and does not recommend trying to run UBB6 on those systems. Unix/WinNT/Win2000 are suitable platforms.

2) It looks like you may be trying to use mod_perl. UBB6 will not run reliably under mod_perl at this time. I do not know when they will have time to work on that problem. For now, the scripts should not be in a mod_perl enabled directory and the comments in front of the several lines that the script says to remove for mod_perl should not be removed. The cgi directory should be a 'normal' cgi-bin. With Apache, you need to set the Perl path properly in cp.cgi and ultimatebb.cgi. It is usually something like #!C:/perl/bin/perl if you are using ActivePerl. Note the forward slashes.

3) I have not taken time to read through the specific area of the script where you are getting the pw problem. However, when you ask UBB to verify email addresses, it generates a random password to send to the new user. Passwords are used for Administrators and for all registered users as well as for private forums.

4) I don't know anything about MiniPortal Software. If that is a server, why do you also use Apache? (I said I don't know anything about MiniPortal <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> )

5) You do have ActivePerl installed or some other Perl 5.004 or higher, I trust.

Anonymous
Unregistered
Anonymous
Unregistered
Hi thanks for replying I have already done the Flock mod on the lib cgi script file...& yes the miniport/Apache, software DOES use mod perl the cgi scrip dir is the mod_perl dir itself!....as far as the help files say.

Im just trying to get the BBs up & running for the 1st time I havent been able to get past configuring the path for the dir's yet!

Yes the miniport software has perl or mod perl installed & is mapped to the mod_perl dir all the scripts placed there do run!

Can I just run the UBB with just Active Perl WITHOUT installing the server software?.....this may get around the Mod Perl problem?.....I have got Active Perl but as far as I knwn UBB will ONLY run on some sort of WEB Server?

Anyway I hope this makes things a little clearer.

Guy Greenwood

Anonymous
Unregistered
Anonymous
Unregistered
UBB is written to run on a web server. The pages it produces would be of little practical value output to the command line and would not be a valid test bed for later installation. I have a test setup on Win98se using Apache and ActivePerl. It was relatively easy to setup and runs well for test purposes. The default ActivePerl installation works fine. The Apache configuration was not difficult as long as you slowly and carefully read the documentation comments in the httpd.conf file. There are a couple of ways to set up the cgi-bin. I used the ScriptAlias method so the server would attempt to run everything in the cgi-bin. That cuts down on unauthorized browsing of the files.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
The UBB does not seem to run Mod_perl cleanly and even at that your mod_perl needs to have the ubb directory placed in @inc in a startup script. That is the cause of the undefined subroutine.

I added to my httpd.conf
PerlRequire /path/to/perl/lib/startup.pl
Alias /perl/ /path/tp/perl/
<Location /perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
And in my startup.pl

use strict;

# Extend @INC if needed
use lib qw(/path/to/perl/ubbcgi);

# Make sure we are in a sane environment.
$ENV{MOD_PERL} or die "not running under mod_perl!";

I have no idea how you would do that under your setup. Even at that, even with Apache::Registry I had to restart the server after I input the general variables page so that the server would see the change in the file. I also tried statinc. With registry and statinc once I restarted the server I could use the board for a while but eventually I ran into that refresh problem that I could not solve.

You may want to read this mod_perl discussion.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
1 members (Ruben), 802 guests, and 202 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)