Previous Thread
Next Thread
Print Thread
Hop To
Joined: Feb 2004
Posts: 60
W
journeyman
journeyman
W Offline
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.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 smile

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
W
journeyman
journeyman
W Offline
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
R
Former Developer
Former Developer
R Offline
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
I
enthusiast
enthusiast
I Offline
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
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.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Feb 2004
Posts: 60
W
journeyman
journeyman
W Offline
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
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


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 29
D
newbie
newbie
D Offline
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
D
newbie
newbie
D Offline
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,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
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


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Aug 2006
Posts: 29
D
newbie
newbie
D Offline
Joined: Aug 2006
Posts: 29
That worked great. Thanks!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)