UBB.Dev
Posted By: PhillipBurum Need 6.7 Repair-Work - 03/04/2006 8:46 AM
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.
Posted By: Ian Spence Re: Need 6.7 Repair-Work - 03/04/2006 4:10 PM
you've been emailed
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/04/2006 10:35 PM
And I replied again wink

Thanks!
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/05/2006 6:14 AM
Ian,
My Hero, have you left me? wink
Posted By: Ian Spence Re: Need 6.7 Repair-Work - 03/05/2006 8:25 PM
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.
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 3:35 AM
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!
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 3:37 AM
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;
Posted By: AllenAyres Re: Need 6.7 Repair-Work - 03/06/2006 3:43 AM
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.
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 5:58 AM
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
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 7:14 AM
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.
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 7:16 AM
I just checked ultimatebb.cgi, it was already set to ascii.
Posted By: AllenAyres Re: Need 6.7 Repair-Work - 03/06/2006 7:42 AM
have you made extensive modifications to your files? You could always upload fresh ones until you figure out the issue
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 7:44 AM
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.
Posted By: Ian Spence Re: Need 6.7 Repair-Work - 03/06/2006 7:45 AM
Don't worry about that, you'll only need to update one line of ubb_lib.cgi for that.
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 7:48 AM
So where would I start? Should I just backup (again frown ) the CGI folder, and replace the cgi files in it? Excluding the subfolders ofcourse?
Posted By: AllenAyres Re: Need 6.7 Repair-Work - 03/06/2006 7:55 AM
pm me ftp access and I'll fix it for you.
Posted By: PhillipBurum Re: Need 6.7 Repair-Work - 03/06/2006 5:38 PM
PM'd wink
Posted By: AllenAyres Re: Need 6.7 Repair-Work - 03/07/2006 8:36 PM
Looks like it works again, was it a server issue?
© UBB.Developers