Previous Thread
Next Thread
Print Thread
Hop To
#145456 02/01/2001 6:12 AM
Anonymous
Unregistered
Anonymous
Unregistered
Hey All,

Well I got my grubby little hands on the brand spanking new version of UBB6! Ohh how exciting. I hastily unzipped the files, uploaded them to my unix server, set all the permissions according to the documentation and ran cp.cgi in my browser.

Woo hoo, the first part went okay, it asked me where all my directories were located...Well actually it figured it out for me but still <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> . Anyway, I clicked on continue and I get this message:

CGI or Server Error
The server encountered a problem while trying to execute the requested CGI program.
This may be due to a programming error, a permissions problem, or a misconfiguration.

Notes:

"Premature end of script headers:"
This will usually follow any error messages sent out by a program. By default, all error messages (messages which are sent to stderr) go to the error log file.

This indicates that the program failed to return a valid "Content-type" string to the server. This is usually because the program is a script which failed to compile or because of the fact that stdout is buffered by deafult. If this is a Perl script, try adding "$&#0124; = 1;" to the top of the program.

"Illegal character 15 (carriage return)"
This indicates that the CGI program is a Perl script which was incorrectly uploaded to the server with "BINARY" transfer mode, after being developed and/or edited on a non-UNIX machine (any platform which uses more than just one character to indicate an end-of-line state). To fix this problem, resend the script to the server after setting your FTP client to use "ASCII" transfer mode. In this mode, the server will translate the file such that it contains just the one character, making it valid on UNIX machines.

Now, I know you're probably thinking "he uploaded the files in Binary", but I didn't. I made sure that I uploaded the files in ASCII and the noncgi folder in Binary. I even tried uploading the cgi dir in ASCII a second time to make sure. Still get the same message. I think it's complaining about not being able to find a valid "Content-type" string to the server. I'm not sure.

What do you all think? Maybe I shouldn't be trying to do this at 12:19AM, but damn this is too exciting to goto sleep! <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" /> . Hope someone can help.

AgentX

#145457 02/01/2001 6:17 AM
Anonymous
Unregistered
Anonymous
Unregistered
Try uploading the Modules directory files in binary, but everything else in the CGI folder ASCII.

#145458 02/01/2001 6:17 AM
Anonymous
Unregistered
Anonymous
Unregistered
[Side Note]

I ran the ubb6_test.cgi program and all test results came back fine. Very strange. I think I'm going to try again tomorrow.

AgentX

#145459 02/01/2001 6:22 AM
Anonymous
Unregistered
Anonymous
Unregistered
Troy,

Tried that, still gives the same error message.

AgentX

#145460 02/01/2001 6:24 AM
Anonymous
Unregistered
Anonymous
Unregistered
Can you do a properties on the file, or check your URL bar, and let us know which CGI is giving you the errors? Would help them/us to nail it down. =)

#145461 02/01/2001 7:08 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
noncgi folder in Binary.

In other words, you uploaded all of the templates in binary.

Everything goes in ASCII except .jpg or .gif. The templates need to go in ASCII or you will recieve that error.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Nightcrawler), 445 guests, and 142 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)