|
Joined: Feb 2004
Posts: 60
journeyman
|
journeyman
Joined: Feb 2004
Posts: 60 |
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.phpI 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
|
|
|
|
Joined: Nov 2006
Posts: 3,095 Likes: 1
Carpal Tunnel
|
Carpal Tunnel
Joined: Nov 2006
Posts: 3,095 Likes: 1 |
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.
|
|
|
|
Joined: Feb 2004
Posts: 60
journeyman
|
journeyman
Joined: Feb 2004
Posts: 60 |
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
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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.
|
|
|
|
Joined: Jun 2006
Posts: 196
enthusiast
|
enthusiast
Joined: Jun 2006
Posts: 196 |
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
|
|
|
|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
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.
|
|
|
|
Joined: Feb 2004
Posts: 60
journeyman
|
journeyman
Joined: Feb 2004
Posts: 60 |
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
Last edited by winter; 11/27/2006 12:09 PM.
|
|
|
|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
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
|
|
|
|
Joined: Aug 2006
Posts: 29
newbie
|
newbie
Joined: Aug 2006
Posts: 29 |
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.
|
|
|
|
Joined: Aug 2006
Posts: 29
newbie
|
newbie
Joined: Aug 2006
Posts: 29 |
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";
|
|
|
|
Joined: Jun 2006
Posts: 16,302 Likes: 116
|
Joined: Jun 2006
Posts: 16,302 Likes: 116 |
humm, seems th eredirectors where updaed from the version i'm running lol.. redirect 0 should be equivelant to commenting out the headr code
|
|
|
|
Joined: Aug 2006
Posts: 29
newbie
|
newbie
Joined: Aug 2006
Posts: 29 |
That worked great. Thanks!
|
|
|
|
Test
by Phun - 05/28/2024 7:31 PM
|
|
|
|
1 members (Ruben),
403
guests, and
251
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|