YaBB Community and Support Forum
YaBB Home About YaBB Download YaBB YaBB Support Customize Your Forum Development Contribute to the Project
  Welcome, Guest. Please Login or Register


 
Page Index Toggle Pages: 1
Topic Tools
 
YaBB 2.5.2. Script showing, doesn't execute (Read 1,308 times)
 Apr 3rd, 2013 at 10:33am
There are no actions to perform.  

KIGLO 
YaBB Newbie
*
Offline
Posts: 2


YaBB 2.5
YaBB 2.5.2. Script showing, doesn't execute
Hi there,
I've looked up a lot of things on google, but couldn't manage to find anything useful  Undecided

First a few details:
I am using YaBB 2.5.2.
host is: nazuka.net
-> it does support Perl/CGI (as shown here: nazuka.net on their features.php site)
-> it has a SSH console

I have ch modded all files as shown on the youtube introduction video: youtube: go to "watch?v=kuT6FDHqoWE"
The guy in the video uploaded everything via Filezilla - so did I. I don't know if he changed between ASCII and binary, though it looks like he is running it in automatic mode. So did I.

I get shown the Setup.pl as a script, but it doesn't execute.
I tried changing the shebang line to the one for Windows Servers, just in case. Nothing happened, so I changed it back.

Is there a command for activating the perl script in the SSH Console? Or am I using the wrong path to perl?
I tried getting support from Nazuka.net directly, but those d-heads didn't answer. Angry

Thanks for your support!

PS: My perl files (Setup.pl, YaBB.pl, etc) directory is:
public_html/cgi-bin/Setup.pl

the YaBB files:
public_html/yabbfiles

P.P.S: Would have posted the links directly, but I am not allowed to post active links yet.
 
 
IP Logged  
 Reply #1 - Apr 3rd, 2013 at 1:17pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
The path to Perl has to be the one to your Perl install and your hosting service should tell you where it is (it should be in your service documentation). The examples in the Quick-Guide are only examples.
 
WWW  
IP Logged  
 Reply #2 - Apr 4th, 2013 at 3:25am
There are no actions to perform.  

KIGLO 
YaBB Newbie
*
Offline
Posts: 2


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
Is there any way I can find out by myself? I did contact their service department twice now, but still haven't got a reply.
 
 
IP Logged  
 Reply #3 - Apr 4th, 2013 at 2:41pm
There are no actions to perform.  

xnoddyx 
Support Team
Documentation Team
YaBB Moderators
YaBB Next Team
Beta Testers
****
Offline
Posts: 1,552
UK:Scotland/livingston


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
KIGLO wrote on Apr 4th, 2013 at 3:25am:
Is there any way I can find out by myself? I did contact their service department twice now, but still haven't got a reply.

ok you can have a look on your control panel and see if there are any cgi/perl scripts for auto install and then download the main load file and look for the path to perl/shebang line.

Edited:
or you can email me your login info for your host and I will have a look for you when sending the email in Subject: have YaBB help then your user name for here.
« Last Edit: Apr 4th, 2013 at 2:43pm by xnoddyx »  
YaBB install help video
1. what yabb forum are you running and the url
2. describe in as much detail as you can what happens and also post screenshots if you can
3. please be patient we live in different time zones and have other commitments but we will help you
as bill and ted say (Be excellent to each other)
WWW xnoddyx xnoddyx1  
IP Logged  
 Reply #4 - Apr 7th, 2013 at 4:15am
There are no actions to perform.  

mrbrklyn 
YaBB Newbie
*
Offline
Posts: 7


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
What?  Your telling him to give you direct access to his account?  I hope there is some kind of oversite besides an anonymous name on a freckless board before someone does this!

Finding the perl path is very simple

ruben@workstation:~> which perl
/usr/bin/perl
ruben@workstation:~>


ruben@workstation:~> perl -v

This is perl 5, version 16, subversion 0 (v5.16.0) built for x86_64-linux-thread-multi

Copyright 1987-2012, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at perl org the Perl Home Page.


Damn - how often is it just easier to right you own stuff than to try to interpet things like:


Quote:
ok you can have a look on your control panel and see if there are any cgi/perl scripts for auto install and then download the main load file and look for the path to perl/shebang line.


???

Really ??  I'll remember that.  I've had to pour over the code for this thing and sometimes it makes my head spin a little.

Ruben
NYLXS
 
 
IP Logged  
 Reply #5 - Apr 7th, 2013 at 4:30am
There are no actions to perform.  

mrbrklyn 
YaBB Newbie
*
Offline
Posts: 7


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
KIGLO wrote on Apr 3rd, 2013 at 10:33am:
Hi there,
I've looked up a lot of things on google, but couldn't manage to find anything useful  Undecided

First a few details:
I am using YaBB 2.5.2.
host is: nazuka.net
-> it does support Perl/CGI (as shown here: nazuka.net on their features.php site)
-> it has a SSH console

I have ch modded all files as shown on the youtube introduction video: youtube: go to "watch?v=kuT6FDHqoWE"
The guy in the video uploaded everything via Filezilla - so did I. I don't know if he changed between ASCII and binary, though it looks like he is running it in automatic mode. So did I.
.


Auch - those binary/text directions are for the
BIRDS
.

You have ssh - so use it

take the entire YaBB_2.5.2.tar.gz and scp it to your account

scp ./YaBB_2.5.2.tar.gz younname@yourhost.com:~/

Now untar it

tar -xzvf YaBB_2.5.2.tar.gz

then go from there.  You will need to chmod things because... because the install is frankly a little broken.

You might need to chmod and chown it correctly.  You need to know the layout of your webserver acces, that is where you can put the CGIs and where everything else can go to.

Since I run our own server we have the ownership as the server owner

My internat set up looks like this from the cgi-bin

ruben@www:~/webserver/coinhangout/lounge/cgi-bin/yabb2> ls -al
total 352
drwxr-xr-x 14 daemon daemon   4096 Mar 23 00:58 .
drwxr-xr-x  3 root   root       18 Mar 18 20:50 ..
drwxr-xr-x  2 daemon daemon   4096 Oct 21 13:40 Admin
-rwxr-xr-x  1 daemon daemon  15074 Oct 16 22:33 AdminIndex.pl
drwxr-xr-x  2 daemon daemon     22 Oct 21 13:40 Backups
drwxr-xr-x  2 daemon daemon   4096 Apr  4 00:39 Boards
drwxr-xr-x  6 daemon daemon     64 Oct 21 13:40 Convert
-rwxr-xr-x  1 daemon daemon  19931 Oct 16 22:33 FixFile.pl
drwxrwxr-x  3 daemon daemon     53 Oct 21 13:40 Help
-rw-r--r--  1 daemon daemon     73 Mar 18 23:18 .htaccess
-rw-r--r--  1 daemon daemon    177 Mar 23 00:58 index.html
drwxrwxr-x  3 daemon daemon     53 Oct 21 13:40 Languages
drwxr-xr-x  2 daemon daemon   4096 Apr  4 00:40 Members
drwxr-xr-x  2 daemon daemon  12288 Apr  6 02:55 Messages
drwxr-xr-x  6 daemon daemon     89 Oct 21 13:40 Modules
-rwxr-xr-x  1 daemon daemon   4452 Mar 20 07:27 Paths.pl
-rwxr-xr-x  1 daemon daemon 254231 Oct 16 22:33 Setup.pl
drwxr-xr-x  2 daemon daemon   4096 Oct 21 13:40 Sources
drwxr-xr-x  6 daemon daemon     92 Oct 21 13:40 Templates
drwxr-xr-x  2 daemon daemon   4096 Apr  4 00:41 Variables
-rwxr-xr-x  1 daemon daemon   6443 Oct 16 22:33 YaBB.pl

Your user will need to a user that the hosting company allows for changing of files within the webserver directory space... (its a huge security hole and not every user can do that).  The combination of the RIGHT USER and the RIGHT PERMISIONS allows for a proper installation.

Ruben
NYLXS

« Last Edit: Apr 7th, 2013 at 4:31am by mrbrklyn »  
 
IP Logged  
 Reply #6 - Apr 7th, 2013 at 8:11am
There are no actions to perform.  

mrbrklyn 
YaBB Newbie
*
Offline
Posts: 7


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
One more point.  no server will execute a cgi without the webserver allowing it.  This is most often done through SCRIPT ALIAS and mod_cgi on apache.  FWIW, as an aside, there is nothing particularly special about cgi and I've done most of my web work over the years in mod_perl, with a MASON and EMBPERL stack...  

The bottom line though, is that apache doesn't execute anything unless you tell it to.  If the cgis are in the wrong place, they will show up as code text.
 
 
IP Logged  
 Reply #7 - Apr 7th, 2013 at 5:58pm
There are no actions to perform.  

Dandello 
Global Moderator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline
Posts: 1,856
Earth


YaBB 2.5
Re: YaBB 2.5.2. Script showing, doesn't execute
Look at Nazuka.net's terms of service:
Quote:
We do not allow any kind applications to be hosted here.
Applications such as proxy scripts, shell scripts, online gaming scripts, file/image sharing scripts, chat scripts, paid-to-surf, auto-surf, buxto, and torrent scripts cannot be hosted here. Account will be suspended and you will have to request permission to reactivate it. If a violation occurs again, the account will be closed.


I also suspect your cgi-bin has not been activated to run scripts other than the ones they offer on their CMS list.
 
WWW  
IP Logged  
Page Index Toggle Pages: 1
Topic Tools
 

Get Yet another Bulletin Board at SourceForge.net. Fast, secure and Free Open Source software downloads Support This Project BoardMod - YaBB features and templates YaBB Codex - support on installation and usage YaBB Toolbar for your browser

YaBB Facebook Group Page

Vulnerability Scanner

Valid RSS Valid XHTML Valid CSS Powered by Perl
YaBB Chat and Support Community » Powered by YaBB 3.0 Beta!
YaBB Forum Software © 2000-2011. All Rights Reserved.