Page Index Toggle Pages: 1 ... 3 4 [5] 6 
Topic Tools
Very Hot Topic (More than 25 Replies) Upgraded from 2.4 to 2.5 and now broken (Read 19,687 times)
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #22 - Jun 11th, 2012 at 11:03pm
Post Tools
Dandello wrote on Jun 11th, 2012 at 10:33pm:
If this were Apache/Linux, I'd definitely go with permissions error.

...

I think the equivalent error on Apache is a 500 error - premature end of Script headers.

...

I can vouch for that.  Cry

I'm curious as to how JonB might solve this since it could possibly give me clues about my equivalent 500 error when I try to install YaBB. Permissions have been given correctly, so we've got something else going on as well.

How this gets resolved should be interesting.

Edited:
I realize that I'm probably reaching here, but what if the YaBB installation package has gotten corrupted in some way? His and mine. I think I downloaded it from the proper source.

I got clued into this thinking by reading through some of the "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers" search results that came up.

I mean, there's always that possibility. Undecided
« Last Edit: Jun 11th, 2012 at 11:08pm by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,200
Location: Earth

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #21 - Jun 11th, 2012 at 10:33pm
Post Tools
If this were Apache/Linux, I'd definitely go with permissions error.

Setup.pl is pretty much self contained BUT it does need the Members/admin.vars file and Subs.pl and it checks for the forum.control file and the cookie. And the failure is occurring while trying to run sub adminlogin2. So it isn't finding the things it needs or is unable to access them.

I think the equivalent error on Apache is a 500 error - premature end of Script headers. Which basically means the script didn't run through properly. (But we already knew that.)

JonB is our expert on IIS.
« Last Edit: Jun 11th, 2012 at 10:35pm by Dandello »  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #20 - Jun 11th, 2012 at 10:25pm
Post Tools
Maybe the following is a clue:

When you load your Setup.pl file, it will give you the following error:

Code
Select All
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
 



And yet, when you give it a complete set of HTTP headers, the following error message is given:

Code
Select All
An Error Has Occurred!

Setup Error: You should fill in your password!
 


So instead of giving it a www header, I gave it the full header of http://www, etc.

I remember getting an HTTP Header error after modifying another forum (not YaBB), and it was because I made the mistake of duplicating the HTTP Header.

Or more accurately, I had changed the HTTP address of an internal file, and the forum's software duplicated it. Fortunately, I was able to reverse my error, and everything worked again.

This is why I think there could be an issue with the path settings.
  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #19 - Jun 11th, 2012 at 10:12pm
Post Tools
Since your Setup.pl file loads (even though it doesn't actually work), I'm wondering if this is a path issue.  Questioning

If it is, then maybe that can be corrected locally, and then uploaded to your server.

Is there anyone here with the brains to figure this out? It's beyond my pay scale.  Angry
  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #18 - Jun 11th, 2012 at 10:04pm
Post Tools
sausagenet wrote on Jun 11th, 2012 at 9:53pm:
Hi Bill
Thanks - but it isn't Sad

The bit that is working is that IIS is serving the pages.
You can try it - feel free - there is no data there - you can login as admin, and you will instantly receive the CGI error.

Drat! I hadn't known this. Sorry.  Sad

I suspect that there's something simple to fix this, but I'm hardly one to figure it out.  Roll Eyes
  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
sausagenet
YaBB Newcomer
*
Offline



Posts: 25

None
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #17 - Jun 11th, 2012 at 9:53pm
Post Tools
Hi Bill
Thanks - but it isn't Sad

The bit that is working is that IIS is serving the pages.
You can try it - feel free - there is no data there - you can login as admin, and you will instantly receive the CGI error.
  
Back to top
 
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #16 - Jun 11th, 2012 at 9:42pm
Post Tools
sausagenet wrote on Jun 11th, 2012 at 9:35pm:
Ok, so instant fail.
At my domain there is a brand new, 25AE install, with no cofiguration at all.  As soon as you login to setup.pl, you get...

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

So I cannot even begin to setup a fresh system.

Just a quick, but important note: Your http://www.sausagenet.org/Setup.pl page is actually working, so it looks like you're in good shape. Of course I left it alone so that you can do your thing as the admin of your forum.
Edited:
sausagenet wrote on Jun 11th, 2012 at 9:53pm:
Hi Bill
Thanks - but it isn't Sad

... you can login as admin, and you will instantly receive the CGI error.


Good luck!

Edited:
Dandello wrote on Jun 11th, 2012 at 5:57pm:
...
Bill may well be right on this and not all files were properly updated.

Evidently not. Oh well. I was just guessing anyway.  Roll Eyes
« Last Edit: Jun 11th, 2012 at 10:07pm by Bill Myers »  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
sausagenet
YaBB Newcomer
*
Offline



Posts: 25

None
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #15 - Jun 11th, 2012 at 9:35pm
Post Tools
Ok, so instant fail.
At my domain there is a brand new, 25AE install, with no cofiguration at all.  As soon as you login to setup.pl, you get...

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.

So I cannot even begin to setup a fresh system.
  
Back to top
 
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,200
Location: Earth

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #14 - Jun 11th, 2012 at 9:12pm
Post Tools
Quote:
@JonB
Are you saying that I should do a clean install instead of the upgrade?

Yep. That's what he said.  Wink That way you won't have any 2.4 Language/Variables/ etc. files hiding out and mucking things up.

But based on the error what is happening is Security.pl is checking for banned email addresses or banned member names and may be looking in the wrong place or in a file that's formatted wrong for 2.5. Since the file is giving back bad info, Security.pl crashes, locking everybody out but the admin.

A clean install should solve this.

So once you do a full clean install and have your members and messages transferred over, you will also need to re-input your banned members lists. (I can just about guarantee there's a @mail.ru sitting in a banned email list or member name list even if you can't see it in the Admin Center.)
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
sausagenet
YaBB Newcomer
*
Offline



Posts: 25

None
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #13 - Jun 11th, 2012 at 8:30pm
Post Tools
Hi
Thanks for everyone for the replies so far - hopefully we can resolve this Smiley

Just to be clear, this was Yabb 2.4, running on Windows 2003, IIS6.  It was working perfectly before the upgrade, and has done for many years, having been through every previous upgrade since around 2003!  The permissions thing doesn't apply to IIS 6 on Windows., and anyay, whatever paths and security that were in place are still excactly the same now. (the IUSR_ has same perms as before)

I can confirm that the upgrade package *definitely* overwrote all files it contained - this is default behaviour in Windows, and I just did it again to be sure ("all files with the same name will be overwritten").  So what we have in place is exactly what was working before, with all updated files overwritten.

I have probably muddied the waters mentioning UK2/Unix - I would love to do this, but the priority just now is to get it working as is, as I know nothing whatsoever about unix/permissions, and I have worked with Windows Server for 20 years!

The Detailed Version check does show that all files are 2.5AE


The current situation is:

-For me, Admin, I can logon, and view everything,  and it appears to all work ok.  But it does not appear to allow anyone else , giving this error...
"-Untrapped Error : Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE @mail.ru/ at ./Sources/Security.pl line 149"
I have looked in the (updated) admin centre, and there is no mention of mail.ru in the banned domains.


-New registraions don't work.  They return "CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers."  This appears to be the only page that does this.

@JonB
Are you saying that I should do a clean install instead of the upgrade?

cheers!
--ian
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,789
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #12 - Jun 11th, 2012 at 6:28pm
Post Tools
Generally -- other than the 'update' packages created by YaBB and distributed on SourceForge, the only 'proper' way to move/upgrade YaBB is by the 'clean install' method.

This is an abbreviated version of the 'right way'.

Clean Install:
A. Back everything up OFF the server.

B. Remove, rename, or relocate the prior installation AND its data.

C. Install the new version YaBB fresh and get it to work.

D. Bring back the data from the prior install and convert as indicated in the Quick Start guide for the new version.

Better details are found in the codex.
http://www.yabbforum.com/codex/YaBB.pl?num=1190674425
http://www.yabbforum.com/codex/YaBB.pl?board=upgrade

Good luck to all
Cool
  

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



Posts: 2,200
Location: Earth

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #11 - Jun 11th, 2012 at 5:57pm
Post Tools
Before doing much more - check Admin->Detailed Version Check and make sure all your main files are 2.5AE

Bill may well be right on this and not all files were properly updated.
  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
Bill Myers
God Member
Beta Testers
*****
Offline



Posts: 1,563
Location: Los Angeles

YaBB 2.4
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #10 - Jun 11th, 2012 at 4:57pm
Post Tools
sausagenet wrote on Jun 10th, 2012 at 10:38pm:
Hi mate, thanks for reply.
This wasn't an FTP upload, so ASCII/Binary doesn't come into it.  In windows, you just logon to the server, download the zip file and overwrite the newer files.  Nothing at all but the updated files has changed.

But I am interested in a new install?  I have web space at UK2 - I'd love to move the forum off the windows server and host it at UK2 instead (which would be unix).  If I can do this with a fresh install, and just copy the members/messages/menus, then I'd definitely like to do this if it's simple enough, but I know nothing whatsoever about unix.

Just guessing here, but maybe Windows only updated newer files versus replacing every file as I think it should have been done.

After all, it seems that you now have a cross of files from both versions of YaBB, so maybe that needs to be corrected in order for YaBB 2.5 to work as it should.

Solution? Maybe the thing to do is to once again upload files onto your server, but do them individually versus unzipping them.

I say this because I think Windows will only update/overwrite files that are "new" versus files that need to be overwritten even though they don't appear to be new.

Think of it this way. When a program is updated, sometimes what's needed is an uninstall before an update can be applied. Maybe this is how a Windows server works (but I do not know this for certain).

By the way, I think you'll be much happier on a UNIX server at UK2.

You have a beautiful looking forum as it looks now, so I hope your upgrade issues will be fixed soon so that you and your membership can fully enjoy it.

Good luck!
  

Morning, noon, or night, have a great one!

Note: This forum doesn't allow for us to freely edit our posts or topics to make corrections as needed, so please remember to look for subsequent posts if you see any mistakes or outdated information. Sorry for the inconvenience.
Back to top
IP Logged
 
Dandello
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 2,200
Location: Earth

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #9 - Jun 11th, 2012 at 2:45pm
Post Tools
Oops  Embarrassed  silly me not realizing how different IIS is from Apache on the same OS. (Which is probably one of the reasons I've never really played with IIS.)

  

If you only have one solution to a problem you're not trying hard enough!
Back to top
WWW  
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,789
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Upgraded from 2.4 to 2.5 and now broken
Reply #8 - Jun 11th, 2012 at 1:56pm
Post Tools
There's an open question (unless I missed it) is the OP on Windows/Apache or Windows IIS?

Questioning

OOPS - resolved - its IIS -

IIS permissions on Server 2003 are totally different than Apache on Windows.  I know, that is how I got here... (long story)

http://www.newnetenterprises.com/merchants/web_tutorials/iis6_yabb.htm

Good Luck
Cool


« Last Edit: Jun 11th, 2012 at 1:59pm by JonB »  

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