Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
7 registered (alnadabi, David Dreezer, Island Piper, ntdoc, Ruben Rocha, smallufo, 1 invisible), 20 Guests and 21 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/13/07
Posts: 26
Top Posters (30 Days)
Ruben Rocha 167
Rick 117
Gizmo 107
Thelockman 64
driv 54
AllenAyres 35
ScriptKeeper 34
Ian 31
Mark S 30
blaaskaak 27
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
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: 7883
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
daveylondon
Recent Topics
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Today at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Today at 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
Yesterday at 11:28 AM
Custom Island per Forum?
by unixpaul
Yesterday at 10:18 AM
SQL Corruption?
by Jason Carey
Yesterday at 05:52 AM
Forum Stats
4247 Members
33 Forums
30485 Topics
154652 Posts

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