I was backing up my DB by means of WSFTP LE, as normal.
Somehow, I managed to dork things up. I'm now getting a "Premature end of script headers" for cp.cgi and ultimatebb.cgi.
Willing to pay for prompt help because of time constraints, and we are a non-profit 503(c) organization planning a fund raiser. I know, great timing huh.
The site is:
www.tinbenders.org/cgi-bin/ultimatebb.cgi and I had issues from a problem before where I ended up with 2 cgi-bin folders, one for members and the other for the actual CGI's. I have all the paths and an FTP login handy.
Please email with offer of help.
[email protected]Thank you.
Ian,
My Hero, have you left me?
every ftp software I've used has defaulted .cgi to binary, so you should check that. You should really just reset vars_config to reflect the old path, since that path worked.
I would, and I'll check the file, but I didn't actually get that far. I didn't *edit* any files, I mearly FTP'd to my HDD and when it broke, I copied the member folder over.
Thanks!
I just checked the vars_config and this is what it is set to:
%vars_config = (
q!AdminLogging! => q!YES!,
q!BBName! => q!TinBenders.Org 4x4!,
q!CGIPath! => q!/home/httpd/vhosts/tinbenders.org/cgi-bin!,
q!CGIURL! => q!http://www.tinbenders.org/cgi-bin!,
q!CachePath! => q!/home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb//cache-[REMOVED]!,
q!Cookie_Number! => q!2453215.1718!,
q!EnableAccel! => q!NO!,
q!MaxMemFields! => q!71!,
q!MembersPath! => q!/home/httpd/vhosts/tinbenders.org/cgi-bin/Members!,
q!NonCGIPath! => q!/home/httpd/vhosts/tinbenders.org/httpdocs/Forums/ubb/!,
q!NonCGIURL! => q!http://www.tinbenders.org/Forums/ubb!,
q!VariablesPath! => q!/home/httpd/vhosts/tinbenders.org/cgi-bin!,
q!cache_pw! => q![REMOVED]!,
);
1;
you've got 2 / in the cache path right after ubb
Forums/ubb//etc
May or may not be the problem.
you've also got a / at the end of your NonCGIPath, you might want to remove that - that's actually what's adding the extra / in your cache path.
Changes Made. Thank you Allen! I wish I could say that fixed it, but it didn't.
Since I had FTP on auto for the file transfers, both ways... Is there any way that I can fix a Binary transfer, asuming that was the problem?
I'm still getting:
The server encountered an internal error and was unable to complete your request.
Error message:
Premature end of script headers: ultimatebb.cgi
If you think this is a server error, please contact the webmaster
What encoding should the file be?
Within Plesk, I can change the encoding by means of a drop-down menu. Ut was set to UTF-8, I changed it to ASCII, but no joy.
I just checked ultimatebb.cgi, it was already set to ascii.
have you made extensive modifications to your files? You could always upload fresh ones until you figure out the issue
I've got a few hacks installed, Quick reply, calender etc.
I would easily give them up, if I thought I could upload some non-modified files and make them work, but I'm not sure what I would need to upload, and whether or not it would work with the user profile cgi's that have extra fields. My concern would be a "hack attempt" error.
Don't worry about that, you'll only need to update one line of ubb_lib.cgi for that.
So where would I start? Should I just backup (again
) the CGI folder, and replace the cgi files in it? Excluding the subfolders ofcourse?
pm me ftp access and I'll fix it for you.
Looks like it works again, was it a server issue?