Page Index Toggle Pages: [1] 2 
Topic Tools
Hot Topic (More than 10 Replies) XAMPP + YaBB......... (Read 10,178 times)
L_ith
Full Member
***
Offline



Posts: 246
XAMPP + YaBB.........
Apr 12th, 2010 at 6:32pm
Post Tools
Right well.... i've got XAMPP installed all secured but i want to get a YaBB forum on it... i've opend the "PL" files and put the correct path to perll which is

#!C:\xampp\perl\bin\perl.exe

But... once the files are uploaded and i go to setup it just gives me this error.


(Server error!
The server encountered an internal error and was unable to complete your request.

Error message:
Insecure dependency in require while running with -T switch at C:/xampp/htdocs/P2/Forum/Setup.pl line 44. ,

If you think this is a server error, please contact the webmaster. )



P2 is just a test folder... this is on a home web-server im doing this for testing purposes... but would really need to see the forum active and working ? any help? i've search the forums and there is no tutorials on YaBB + XAMPP, i did try to CHMOD them under FTP but it wont let me? is it because this is my own server ? condused here... any help please !!!

thanks


- surfer

Smiley
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #1 - Apr 12th, 2010 at 8:51pm
Post Tools
Preface - just delete the folders you placed YaBB in.

A. Put the yabb2 folder under cgi-bin, yabbfiles should go under htdocs and run setup again. (you don't need the public_html part of the path, that is for a different Apache default -- htdocs serves the same purpose, it is the Document Root)

B. About ISE problem: Turn off mod_perl in the XAMPP control panel.

This will jump just about all hurdles

Good Luck
Smiley

Edited:
As long as you install as an administrator, there are no 'permissions' on Apache on Windows, the server handles all that through httpd.conf.  CHMOD permissions are for *nix systems.
« Last Edit: Apr 12th, 2010 at 8:56pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
L_ith
Full Member
***
Offline



Posts: 246
Re: XAMPP + YaBB.........
Reply #2 - Apr 12th, 2010 at 10:19pm
Post Tools
Awesome thanks it works just 2 other problms at the moment

here is the screenshots




i assume thats  mail server? i have to install one my self correct ? any tutorials?



Just would like to know how to turn that feature off?


this is all very new to me... last YaBB i fully used was 1.4 ? lol

Smiley

oh and how do i make a shorter URL so it Reads


Forum

Not

cgi-bin/Forum/YaBB.pl ? i tried changing the cgi-bin folder to Forum but it didnt work ?

oh and you said

(B. About ISE problem: Turn off mod_perl in the XAMPP control panel)

how to turn of? (new to this)

cheers
« Last Edit: Apr 12th, 2010 at 10:23pm by L_ith »  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #3 - Apr 13th, 2010 at 12:36am
Post Tools
Replies:

A: You won't need either of those missing Modules to just fo testing. The first is only for using SMTP servers that use TLS, the second is basically for *nix servers.

B: in the Admin Center, Forum Settings > Posting
Check for ALL CAPS?
If set to 0 no checking is done. Otherwise the number you insert is the number of characters in all caps that opens a JavaScript alert on submit of the post.


C:  In this case, since you are new, we won't get into mod_rewrite. Just make a redirect page (for now):

Code
Select All
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Forum Redirect</title>
<meta http-equiv="refresh" content="1;URL=http://put your forums top level URL here/cgi_bin/yabb2/yabb.pl">
</head>
<body>

<p>You are being redirected </p>

<p>&nbsp;</p>
</body>
</html> 




If you want to make your forum public:

You could name this file index.htm and place it in the root of your htdocs folder.  This (along with the next step) will make YaBB your home page for right now.  You will want to change the default index order anyway if you will be making your forum public.  This part you should read up on in XAMPP (it tells you how to do that) its a function of the Apache httpd.conf file.  If you DON'T make those changes, steering to your server's URL or IP address from outside your local network will error out with a security warning.

D. In the XAMPP Control Panel, click SETUP, type 6 in the Command Line Interface to (tpggel) disable mod_perl.

(although I know most of these answers, this isn't, after all, XAMPP support central.  Grin

Good Luck
Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
L_ith
Full Member
***
Offline



Posts: 246
Re: XAMPP + YaBB.........
Reply #4 - Apr 13th, 2010 at 1:23am
Post Tools
Hi again thanks for speedy replies !


Well yes i wont need it for testing but i will install another forum on my server which will be used.. so how do i install those modules? i mean... i need my forum to email me and my members passwords so how do i come about this ? XAMPP has somehting called "Mercury Mailserver" will this work ?  also i would like to install 

Modules

Compress::Bzip2

Net::SMTP::TLS


I, need them right to have email working?

And yes XAMPP is not a support thing but xampp makes it very easy for me.  Grin


Thanks
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #5 - Apr 13th, 2010 at 1:52am
Post Tools
A few things -

In the Codex we tell you that XAMPP is not a tested solution, right?  That means it needs fixes beyond what the average user will be able to 'get' --  And you just made our case.  We recommend basically: Install Active States Perl, Install Apache, add a Mailserver or Mail Transfer Agent and we explain all the ins and outs. 

As it happens you asked while I happen to be busy figuring out if WAMP (maybe not) or XAMPP (probably yes with fixes) will run YaBB correctly.

There are also a hundred other things that may need fixes. Despite what ANYONE tells you, WAMP and XAMPP are highly customized installs.  In some cases, the software components are custom builds; i.e. the executables only work in their own environment.  This is why it will probably be the case that WAMP won't cut it. There are a lot of good things to say about them, like 'they work for many situations'.  And their developers put in a lot of hard work. BUT if you don't know all the ins and outs of software configurations, they won't work with many 'special scripts'.

I hope you read this one: Setting Up a Home based Server
http://codex.yabbforum.com/YaBB.pl?num=1226450192

You want Apache?
With Windows, it comes in many flavors. Some users here are professing that they have used WAMP and XAMPP. All swear that there is a problem with it because it does not run YaBB (especially under WAMP).


THAT SAID:

A - NO YOU DO NOT NEED THEM (the Perl Mods) - sorry for the caps, but you should actually read my replies. 

A: You won't need either of those missing Modules to just for testing. The first is only for using SMTP servers that use TLS, the second is basically for *nix servers.  Even if you use your own mail server you won't be needing those modules. (and in order to install them you would have to learn more about Perl and XAMPP).

B. You can likely use your ISP's SMTP server to send the mail. I have not yet done the testing and setup for Mercury Mail, maybe this weekend or next week.

Edited:
Tested: Correct, see next reply #6 in topic - Mercury Mail setup not needed to send mail from YaBB


C. There are major security holes for using either of these servers on public networks. THEY SAY SO ON THEIR SITES.  They are both really designed as test beds for users and developers.

Wink

Quote:
And yes XAMPP is not a support thing but xampp makes it very easy for me.


The easy thing to do, that will get things working best (oddlly enough) is to follow the original advice;

Install Perl, Install Apache, set up mail == YaBB will work correctly.   You would not have had to ask all these questions. Grin

-- I will let everyone know on Mail with XAMPP - when I get done testing.  Smiley  And making sure you don't accidentally set up an Anonymous FTP, LOL.  Grin

Good Luck
Smiley
« Last Edit: Apr 13th, 2010 at 8:00am by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #6 - Apr 13th, 2010 at 7:55am
Post Tools
I am toast  Cheesy

But, provided your ISP offers an SMTP service that runs on Port 25, these settings work for XAMPP

Send Emails using:  YaBB SMTP Engine
Location of Sendmail Program :c:\xampp\sendmail\sendmail.exe      
SMTP-Server: smtp.yourisp.net
Select SMTP Server Authorization Type : OFF
SMTP Authorization Username: leave blank      
SMTP Authorization Password : leave blank
Webmaster Email Address: this is your Reply to address

That's it.

Cool      
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
L_ith
Full Member
***
Offline



Posts: 246
Re: XAMPP + YaBB.........
Reply #7 - Apr 20th, 2010 at 11:07pm
Post Tools
Thanks man ! it works to !
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #8 - Apr 21st, 2010 at 1:31am
Post Tools
Yep, LOL I know -   Grin

I'm glad it is working for you.  I have Wordpress and YaBB running on a spare box (over XP) as a test.

There's lots of little things to fix, and I am working on a list of them.

Good Luck
Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Tah Zonemaster
YaBB Newcomer
*
Offline



Posts: 22
Re: XAMPP + YaBB.........
Reply #9 - Nov 21st, 2010 at 1:26pm
Post Tools
Sorry for bumping this, but i get this error to:
Insecure dependency in require while running with -T switch at C:/xampp/htdocs/yabb/cgi-bin/yabb2/Setup.pl line 44. ,
The paths are correct and i moved the YaBBfiles directory to the htdocs directory. Using YaBB2.5. Any ideas?
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #10 - Nov 22nd, 2010 at 9:42pm
Post Tools
A - XAMPP? - which version?

B - Are you running mod_perl?  If so, turn it off with the  'setup' tool from the XAMPP Control Panel.

Smiley
« Last Edit: Nov 22nd, 2010 at 10:09pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Tah Zonemaster
YaBB Newcomer
*
Offline



Posts: 22
Re: XAMPP + YaBB.........
Reply #11 - Nov 23rd, 2010 at 5:15pm
Post Tools
Thanks for the reply Smiley
XAMPP 2.5.8. I disabled mod_perl, but it doesn't help. Sad
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #12 - Nov 23rd, 2010 at 8:12pm
Post Tools
Umm - there is NO XAMPP 2.5.8.

the latest XAMPP is 1.7.3

http://www.apachefriends.org/en/xampp.html

Where did you find that info???

The error you are getting should not be possible on a Windows host.

Are you sure you are running on a Windows XAMPP machine?

-T
-- This UNIX-based option turns on taint checking. Normally, these checks are only done when running setuid or setgid. The docs/perlsec.htm documentation file that comes with your Perl distribution has more information about this option. -uThis UNIX-based option will cause Perl to dump core after compiling your script. See the Perl documentation that came with your Perl distribution for more information.

what XAMPP package was used, you can find it in the xampp root in readme_en.txt I think???

What version of windows is the host???

Huh
« Last Edit: Nov 23rd, 2010 at 8:22pm by JonB »  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Tah Zonemaster
YaBB Newcomer
*
Offline



Posts: 22
Re: XAMPP + YaBB.........
Reply #13 - Dec 21st, 2010 at 8:57am
Post Tools
I'm sorry for the late reply, but I'm using XamPP 1.7.3. Smiley Yes, I'm running windows on my computer. Windows Vista. Oh and more information about my XamPP installation:
Apache Friends XAMPP (Basis Package) version 1.7.3
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,009
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: XAMPP + YaBB.........
Reply #14 - Dec 21st, 2010 at 4:18pm
Post Tools
make sure mod_perl is disabled, and that your shebang lines point to  this:

#!/xampp/perl/bin/perl.exe --


Good Luck and Happy Holidays
Wink
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Topic Tools
 
  « Board Index ‹ Board  ^Top