#77058
09/26/2001 6:34 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
I want to test some code out on a dummy UBB on my PC.
I've installed Active Perl and set up the UBB in a directory called ubbtest.
I've edited the cplinks file to point to the cgi folder, but when i go to set the General variables, it asks if I want to download the file (cpanel.cgi) instead of just giving me the gen vars page so i can set up the ubb.
Can someone tell me what i'm doing wrong, and how to do this properly?
Thanks in advance!
|
|
|
#77059
09/26/2001 6:46 PM
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
do you use apache or IIS? is the path in the first line correct (#!/usr/bin/perl is the default) ? Sincerely
joking
|
|
|
#77060
09/26/2001 7:17 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Neither.
I'm attempting to run it on Win 98 SE at home.
I want to test some things before upgrading.
I made the mistake of attempting to run it under a seperate directory under my domain on the server!
|
|
|
#77061
09/26/2001 7:50 PM
|
Joined: Jan 2001
Posts: 1,940
Developer
|
Developer
Joined: Jan 2001
Posts: 1,940 |
NBAustin,
You must run a Webserver on your own computer in order to test UBB locally.
qasic
|
|
|
#77062
09/26/2001 8:36 PM
|
Joined: Mar 2000
Posts: 3,594
Moderator / Template Diva
|
Moderator / Template Diva
Joined: Mar 2000
Posts: 3,594 |
As Qasic said, you have to be running a web server in order to run UBB. ActivePerl is only half of the requisites. IIS (my server of choice) isn't included on Win98, to my knowledge. So you'll have to get another one, preferably Apache and make sure that's set up correctly, and also make sure it's set up for Perl and stuff. Then install UBB into your webserver directory. It ought to work then, though I don't know much about setting up Apache. ---Skorpion
Don't put that signature in your mouth! You don't know where it's been!
|
|
|
#77063
09/26/2001 10:42 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Can I use that goofy-ass "personal web server" that comes with Windows or Front Page to make it work?
|
|
|
#77064
09/26/2001 11:59 PM
|
Joined: Sep 2000
Posts: 4,211
Master Hacker
|
Master Hacker
Joined: Sep 2000
Posts: 4,211 |
You're right, Skorp; IIS is not included with the 95 kernel packages, nor will it run on anything less than an NT-based system. Instead of using PWS on W98, though, I would go ahead and use Apache, because it is much better.
|
|
|
#77065
09/27/2001 12:03 AM
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
You can use PWS for local testing. If you upgrade to v6+ you'll need to disable flock in your ubb to be able to test locally. I got your files NB, just haven't had much time to go over them all
|
|
|
#77066
09/27/2001 1:46 AM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Thanks Allen!
I was wondering if you got them.
On another note...the ubb_library2.pl you helped me with returns a syntax error at line 306. I'll be damned if i can find it1
Also, how do I set up PWS to test the ubb?
Thanks in advance!
Nick
|
|
|
#77067
09/27/2001 1:59 AM
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
I use xitami for testing under win98 ... fast&without problems...
|
|
|
#77068
10/01/2001 5:16 PM
|
Joined: Nov 2000
Posts: 915
Developer
|
Developer
Joined: Nov 2000
Posts: 915 |
I run apache, wouldn't have it any other way.
|
|
|
#77069
10/01/2001 5:21 PM
|
Joined: Jan 2000
Posts: 395
Member
|
Member
Joined: Jan 2000
Posts: 395 |
Is it self-explanatory, or is it involved? I'd hate to FUBAR my computer.
|
|
|
#77070
10/01/2001 7:17 PM
|
Joined: Mar 2000
Posts: 204
Member
|
Member
Joined: Mar 2000
Posts: 204 |
I use Xitami too.. Perfect if all you want to do is test stuff like that..
Although, since flock isn't implemented on Win9x, UBB6 won't work, so I just use it to test Perl, PHP, or any other kinds of scripts that I write.. Very useful..
-Never Underestimate The Power Of Stupid People In Large Groups.
|
|
|
#77071
10/03/2001 1:05 AM
|
Joined: Jan 2000
Posts: 48
Member
|
Member
Joined: Jan 2000
Posts: 48 |
flock will not work on in Win9X. You'll need to implement a workaround for locking files (i.e. semiphore files and checking comes to mind).
I got UBB 6 to work in Win98SE using Apache, ActiveState Perl. Be sure to download and install MicroSoft's DCOM patch to get above two to work. I am staying away from PWS as it took me 3 days to uninstall it and it's a pig.
My thoughts, CW
|
|
|
#77072
10/03/2001 2:41 AM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
6.1.0 will not run on Win9x at all - flock is used everywhere and is absolutely critical to operations.
This will include testing your hacks locally.
Just an FYI.
[ 10-03-2001: Message edited by: Charles Capps ]
UBB.classic: Love it or hate it, it was mine.
|
|
|
#77073
10/04/2001 3:21 AM
|
Joined: May 2000
Posts: 1,356
Addict
|
Addict
Joined: May 2000
Posts: 1,356 |
heh! just comment out the flock(..) lines if you didnt change it they must be in sub lock & sub unlock... also; before uploading to the real server, change the lines back to normal... xitami is fast & works without problems... perfect for testing under windows9x
|
|
|
#77074
10/04/2001 1:23 PM
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
jeologic, have you even *LOOKED* at the new code? If not, then do so now. This very instant. Then read this thread. &lock() and &unlock() are only around now because the setup script hasn't been converted to the new file locking scheme. You can't just comment those two out and expect flock to be gone.
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|