Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
1 registered (Ruben Rocha), 25 Guests and 22 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 1097
Top Posters (30 Days)
Ruben Rocha 104
Rick 80
Mark S 72
Thelockman 58
Gizmo 54
driv 35
ntdoc 32
Sirdude 32
packlite 24
AllenAyres 22
Latest Photos
bear test
Beach Barbie-Q
Sunset
Accept the challenge!
Trees
Topic Options
Rate This Topic
#145456 - 02/01/01 02: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
#145457 - 02/01/01 02: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 02: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 02:22 AM Re: First Problem
Anonymous
Unregistered


Troy,

Tried that, still gives the same error message.

AgentX

Top
#145460 - 02/01/01 02: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 03:08 AM Re: First Problem
Rick Administrator Offline

*****

Registered: 06/04/06
Posts: 7991
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


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

Today's Birthdays
GOTMYSELFA...., smilinjack
Recent Topics
New members don't get access and are not displayed in the config panel
by Yomar
01/08/09 03:32 AM
How to Change Link Color / Underline in styles?
by ECNet
01/07/09 10:00 PM
Chaging the "max online" number and date
by wanted
01/07/09 02:22 PM
7.4.1. In Threaded Mode - "Mark All Read" Doesn't Work
by packlite
01/07/09 10:26 AM
Custom island with sql connection
by Robje01
01/07/09 09:13 AM
Forum Stats
4296 Members
33 Forums
30687 Topics
156000 Posts

Max Online: 978 @ 06/24/07 08:19 PM