Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (SteveS, Telly), 31 Guests and 18 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/06/10
Posts: 14
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 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
Topic Options
#145456 - 02/01/01 05:12 AM First Problem
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 . 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 "$| = 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! . Hope someone can help.

AgentX
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."
#145457 - 02/01/01 05:17 AM Re: First Problem
Anonymous
Unregistered

Try uploading the Modules directory files in binary, but everything else in the CGI folder ASCII.
Top
#145458 - 02/01/01 05:17 AM Re: First Problem
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
Top
#145459 - 02/01/01 05:22 AM Re: First Problem
Anonymous
Unregistered

Troy,

Tried that, still gives the same error message.

AgentX
Top
#145460 - 02/01/01 05:24 AM Re: First Problem
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. =)
Top
#145461 - 02/01/01 06:08 AM Re: First Problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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.
Top



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
How do I make a selection between helpdesk and service desk
by Telly
09:47 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
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
Forum Stats
10488 Members
36 Forums
33836 Topics
181688 Posts

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