Page Index Toggle Pages: 1 [2] 3 
Topic Tools
Very Hot Topic (More than 25 Replies) Converted from SP 1.4! to 2.5 (Read 10,018 times)
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #15 - Nov 28th, 2010 at 4:36pm
Post Tools
Hi Captain John Thanks.

One little tid bit I just stumbled on.

I opened my admin.var file and I noticed that after
the username password and most of the files there was
a extra symbol it wont show on this board if I copy and
paste it. Its like a squar zero.

After I removed all of them I can now log in.
Problem is I have 1,800 members so I would rather
not do this by hand.

Now I guess the next question would be did I use ascii
or binary mode on the file transfer.

I don't know on the old board?
Its like 9 years old.
It is on line WORKING.
I did the conversion on line and in my root directory.
I did NOT transfer files to do the conversion.
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #16 - Nov 28th, 2010 at 4:40pm
Post Tools
I mean I did not transfer the old board files.
I did transfer the new board, in ascii of course.
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #17 - Nov 28th, 2010 at 6:06pm
Post Tools
Sorry to bother you Captain John.


After I add the file.
Am I supposed to run setup again?
Or just change the file?

Thanks.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #18 - Nov 28th, 2010 at 8:32pm
Post Tools
lol run the file ... to convert
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #19 - Nov 28th, 2010 at 10:04pm
Post Tools
Copied file.
Pasted to note pad.
Changed path to perl.
Uploaded to server in ascii.
Changed name to Setup_003.pl
Changed permissions to 755.
Hit it with Browser.

Error 500 Internal Server Error (Premature end of script headers: Setup_003.pl)
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #20 - Nov 29th, 2010 at 12:27am
Post Tools
You certainly didn't need the _003 in the file name.

Did you use the Edit - Select ALL - Copy functions of your browser, then Edit Paste in Note Pad ?

Check your editing of the shebang (your not on a linux/Unix server ?)
« Last Edit: Nov 29th, 2010 at 12:32am by »  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #21 - Nov 29th, 2010 at 3:10am
Post Tools
I always have a hard time getting pl scripts to run on
the server. Sometimes they wont work when I first try them
and then hours later they will work.

The server is free BSD and the shebang is
#!/usr/local/bin/perl --
not the general
#!/usr/bin/perl --

I know this because I have 2 working yabb boards
in the same cgi bin.

I used.

Edit - Select ALL - Copy functions of your browser, then Edit Paste in Note Pad

Although I didn't do that the first time.

I also called the file Setup.pl
and deleted the existing Setup file.

File was uploaded in ascii.
and chmod 777

Ill have to work on this next weekend so ill
keep trying.

Many thanks for your help and patience.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #22 - Nov 29th, 2010 at 3:35am
Post Tools
Welcome ... Good Luck
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #23 - Nov 29th, 2010 at 7:26am
Post Tools
Well I guess I couldn't sleep LOL
So I looked over the internet and stared reading
how Perl scrips work.

This was at the top of my Setup.pl that was returning
errors.


#!/usr/local/bin/perl --

###############################################################################
# Setup.pl                                                                    #
###############################################################################
# YaBB: Yet another Bulletin Board                                            #
# Open-Source Community Software for Webmasters                               #
# Version:        YaBB 2.3.1                                                  #
# Packaged:       January 04, 2009                                            #
# Distributed by: http://www.yabbforum.com ;                                   #
# =========================================================================== #
# Copyright (c) 2000-2009 YaBB (www.yabbforum.com) - All Rights Reserved.     #
# Software by:  The YaBB Development Team                                     #
#               with assistance from the YaBB community.                      #
# Sponsored by: Xnull Internet Media, Inc. - http://www.ximinc.com ;           #
#               Your source for web hosting, web design, and domains.         #
###############################################################################

$setupplver = 'YaBB 2.3.1 $Revision: 1.34.2.17.2.33 $';

# use CGI::Carp qw(fatalsToBrowser); # used only for tests


So I was reading that I could (Uncomment ? )
use CGI::Carp qw(fatalsToBrowser);

And (I think ) force the browser to print by.
print "Content-type: text/html\n\n";

So I changed the Setup.pl to read.

#! /usr/local/bin/perl
use CGI::Carp qw(fatalsToBrowser);
print "Content-type: text/html\n\n";

And the browser returned the error.

Status: 500 Content-type: text/html
Software error:


Can't locate ./Variables/advsettings.txt in @INC (@INC contains: /usr/local/lib/perl5/5.8.9/BSDPAN /usr/local/lib/perl5/site_perl/5.8.9/mach /usr/local/lib/perl5/site_perl/5.8.9 /usr/local/lib/perl5/5.8.9/mach /usr/local/lib/perl5/5.8.9 . ./Modules ./Modules) at /home/public/cgi-bin/yabb2/Setup.pl line 4280.
For help, please send mail to the webmaster (nobody), giving this error message and the time and date of the error.

So I looked in ./Variables/advsettings.txt and there is
no file by this name.

But I am a little closer.
And it almost midnight LOL.
My how $Time="flys"  Smiley


  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #24 - Nov 29th, 2010 at 4:25pm
Post Tools
Did you remove Setup.lock or Convert.lock from the ./Variables folder ?  Setup.lock should be there in order to run the Convert only, you don't want to run Setup again.
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #25 - Nov 29th, 2010 at 5:01pm
Post Tools
Convert.lock and Setup.lock
are both in the ./Variables folder
they are both chmod 664
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #26 - Nov 29th, 2010 at 5:18pm
Post Tools
mmmmm the Dev's combined some settings into Settings.pl, I believe advsettings.txt was one of them .. (Note: that setup I had you download was a Y2.3 version) but I knew the conversion for older versions of YaBB worked then.
 So I tried replacing the newer one with it, but it seems to be calling the old files, not Settings.pl.
 So ........ that won't work....... back to the drawing board

Edited:
Okay ... Now this will take more work ... Install Y2.3.1, then convert your 1.4 forum to Y2.3.1, then "upgrade" to Y2.5 (follow Quick-Guide instructions)
« Last Edit: Nov 29th, 2010 at 6:30pm by »  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #27 - Nov 29th, 2010 at 10:22pm
Post Tools
Cool! Something like that had crossed my mind.
Only I diden't know what verson. as I remember

my 1.4 is an upgrade itself.

Ill get it set up and give it a try,,

Thanks!
  
Back to top
 
IP Logged
 
markp1313
YaBB Newcomer
*
Offline



Posts: 37
Re: Converted from SP 1.4! to 2.5
Reply #28 - Nov 30th, 2010 at 4:17am
Post Tools
I Converted from 1.4 to 2.3.1. and
the Board did not go into mantenence mode.
Also all the posts and messages worked.

But nobody can log in.

I went to the admin.var and it did the same as 2.5
That is during the conversion process it adds a small
rectangular symbol after most of the values in " "

For example.
I will use an   *   to denote the location of the extra symbol.
Its a spam bot so I don't care if its public LOL


### User variables for ID: AdvertisingPo ###

'password',"bcwuyopwkl*
"
'realname',"AdvertisingPo*
"
'email',"lomtev-petr@mail.ru*
"
'regdate',"09/14/07 at 17:23:36*"
'regreason',"*"
'webtitle',"
"
'weburl',"http://*
"
'spamcount',"*"
'spamtime',"*"
'signature',*"
"
'postcount',"0*"
'position',*"
"
'addgroups',"*"
'icq',*"
"
'aim',*"
"
'yim',*"
"
'skype',"*"

If I remove the extra symbol that looks like a rectangle
the username/password will work. But I got over 1800 members so its not practical to fix all the files.


  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Converted from SP 1.4! to 2.5
Reply #29 - Dec 1st, 2010 at 3:29am
Post Tools
mmmm must be something with ftp or the bsd server itself ... maybe something with carriage returns .... but I am at a lost why that character is appearing.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Topic Tools