Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (SteveS), 29 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 105
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#169064 - 11/25/06 07:53 PM Redirect Script included with Importer...
winter Offline
journeyman
Registered: 02/13/04
Posts: 62
OK, I have just finished the import of my old classic board and it went well!!! (YEA!!)

But I can't get the redirect script to function that is included in the importer zip file. It seems like it should be simple enough, but when I change the URL I get this error.\

Server error!

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

Error message:
Premature end of script headers: ultimatebb.cgi



This is the web address I am placing in the new ultimatebb.cgi file.
http://www.aspergerinfo.com/forums/ubbthreads.php

I suspect this is an easy thing to fix for someone who knows what they are doing...problem is that does not apply to me \:\)

Any help or suggestions is most appreciated!
Thanks in advance,
winter
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#169128 - 11/26/06 04:51 AM Re: Redirect Script included with Importer... [Re: winter]
ntdoc Offline
Registered: 11/09/06
Posts: 3384
The link seems to work for me. I was able to get to the site and open forums.

I'm guessing you now have this working the way you want.
Top
#169158 - 11/26/06 01:16 PM Re: Redirect Script included with Importer... [Re: ntdoc]
winter Offline
journeyman
Registered: 02/13/04
Posts: 62
No, it is not working yet for me...the link I posted above is what I have entered into the new ultimatebb.cgi file and is what I think should work, but all it does is return the error message listed above. I am assuming that I either need to update something else, or the link I am using is not correct? I'm afraid I don't have a lot of experience editing cgi files so I was hoping someone who has successfully done this could give me some advice on what they did?

Thanks again,
winter
Top
#169159 - 11/26/06 01:51 PM Re: Redirect Script included with Importer... [Re: winter]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
You *should* only need to change the URL, but the error is stating the headers aren't being set properly. If you can open a trouble ticket or PM me with the ftp info to your forum I can take a look.
Top
#169170 - 11/26/06 06:11 PM Re: Redirect Script included with Importer... [Re: Rick]
Ian Spence Offline
Registered: 06/04/06
Posts: 255
could have possibly uploaded in binary or ascii, whichever was the one you weren't supposed to upload in. Also, if he edited the file in notepad he'd get errors
Top
#169183 - 11/26/06 09:39 PM Re: Redirect Script included with Importer... [Re: Ian Spence]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
If headers aren't being accepted, comment out the redirect message in the script (search it for 30 then comment out the line with a #) and test it. It seems its the same issue i was having that apache sends its own redirect code.
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#169199 - 11/27/06 11:08 AM Re: Redirect Script included with Importer... [Re: Gizmo]
winter Offline
journeyman
Registered: 02/13/04
Posts: 62
Yea!! I think I got it. I changed the redirect code to 0 and then I copied the entire script and inserted it into the top of my original ultimatebb.cgi script...keeping all the old script in place just down below the redirect code. For some reason that worked. I don't know why and it is clunky looking, but it works and the end user will never know as they just magically get redirected to the new forum!

Thanks for the help guys!
winter


Edited by winter (11/27/06 11:09 AM)
Top
#169212 - 11/27/06 06:28 PM Re: Redirect Script included with Importer... [Re: winter]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
by "clunky looking" i assume you mean the code? cas the script itself won't give your browser any output, at least in a stock version.

PM me if you'd like my copy of ultimatebb.cgi
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#169223 - 11/27/06 09:19 PM Re: Redirect Script included with Importer... [Re: Gizmo]
DebbieH103 Offline
newbie
Registered: 08/05/06
Posts: 27
My ubb classic php is redirecting, but my old ultimatebb.cgi is not. I get this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@tropictravelonline.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Top
#169229 - 11/27/06 10:17 PM Re: Redirect Script included with Importer... [Re: DebbieH103]
DebbieH103 Offline
newbie
Registered: 08/05/06
Posts: 27
changed permission to 755 and now get white screen from IE and if I try in AOL, I get Web Server Error

--------------------------------------------------------------------------------
Description: The host "www.tropictravelonline.com" did not return the document "http://www.tropictravelonline.com/cgi-bin/ultimatebb.cgi" correctly.

Next changed below:

# What type of redirect shall we send?
# 0 - Don't send a 301/302 header, my webserver does this. (Enable this if 301/302 results in an ISE or blank page)
# 301 - Permanent
# 302 - Temporary
# $redirect = 302;
$redirect = 0;

below is my redirect:

# Replacement ultimatebb.cgi script.
# $URL needs to be set to your UBB.threads installation.
$URL = "http://www.tropictravelonline.com/ubbthreads/ubbthreads.php";
Top
Page 1 of 2 1 2 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
Yesterday at 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image