Previous Thread
Next Thread
Print Thread
Hop To
#147872 12/02/2001 3:52 AM
Anonymous
Unregistered
Anonymous
Unregistered
after trying to upgrade from 5.47d to 6.1.0 I got the following error


An unexpected fatal error has occured:

d:/64.226.14X.XX/ubb/vars_config.inc.php: Expected to write out 433 bytes, but file on disk is only 0!]
Here is the backtrace:
Backtrace: ubb_lib_filehandle.cgi:190 -> sub UBB::FileHandle::tracer
Backtrace: ubb_lib_filehandler.cgi:128 -> sub UBB::FileHandle::close
Backtrace: ubb_lib_files.cgi:522 -> sub UBB::FileHandler::close
Backtrace: cp_ubbacc.cgi:22 -> sub main::WriteFileAsString
Backtrace: cp_lib.cgi:665 -> sub main::do_prepare
Backtrace: cp_entry.pl:3 -> sub main::CheckAccel
Backtrace: ubb_lib.cgi:1775 -> sub (eval)
Backtrace: cp_lib.cgi:458 -> sub main::LoadTemplate
Backtrace: cp.cgi:232 -> sub main::cp_entry_page


I thought I would try and continue and after I submited the upgrade button I received this error.


An unexpected fatal error has occured:

d:/64.226.14x.xx/cgi-bin/vars_wordlets_err.cgi: Expected to write out 15041 bytes, but file on disk is only 0!]
Here is the backtrace:
Backtrace: ubb_lib_filehandle.cgi:190 -> sub UBB::FileHandle::tracer
Backtrace: ubb_lib_filehandler.cgi:128 -> sub UBB::FileHandle::close
Backtrace: ubb_lib_files.cgi:411 -> sub UBB::FileHandler::close
Backtrace: cp_upgrade.cgi:131 -> sub main::WriteHashToFile
Backtrace: cp_upgrade.cgi:91 -> sub main::c_u_UpdateWordlets
Backtrace: cp.cgi:757 -> sub main::c_u_DoUpgrade


Can you please help.

Will

#147873 12/02/2001 4:08 AM
Anonymous
Unregistered
Anonymous
Unregistered
hmmmm... don't think this is WinNT/2K related, unless you don't have permissions set on those files/folders correctly. Recheck them, and please send a link to your ubb6_test.cgi and ubbaccel_test.php files please... <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

---
- Allen
- Stand318
- UBBâ„¢ Developers Network &#0124; UBBThreadsâ„¢ Developers Network

#147874 12/02/2001 4:33 AM
Anonymous
Unregistered
Anonymous
Unregistered
where do I set the Perl paths for cgi files

can you give me an example of what the line should look like please.

Which of my original files would contain that path info and what would that line look like.

If you could give line #'s that would be helpful too.

thanx

Will

http://www.goldderby.com/cgi-bin2/ubb6_test.cgi

I can't find the other file.

#147875 12/02/2001 4:45 AM
Anonymous
Unregistered
Anonymous
Unregistered
cgi-bin2 is a back up of my orignal files plus the upgrade. I had i named /cgi-bin when I receieved the error. I reverted back to my originals so I could reopen my board while we trouble shoot.

Will

#147876 12/02/2001 12:13 PM
Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by wjafour:
where do I set the Perl paths for cgi files

can you give me an example of what the line should look like please.

Which of my original files would contain that path info and what would that line look like.

If you could give line #'s that would be helpful too.
The path to perl is always the very first line of a script file. The only script files in the UBB that have a path to perl are cp.cgi and ultimatebb.cgi. If you are upgrading from a 5.xx series board then you'll have to check the upgrade cgi file too. And the test files will have a path to perl.

That first line with the path to perl always starts with #! with most looking like #!/usr/bin/perl and some looking like #!/usr/local/bin/perl

There is not required path, its set individually by each server administrator, so you'll have to check with your host on where they've put perl 5.

Doug
Moderator: Cool Customers
Captain Kirk: "Once again we've saved civilization as we know it."
Dr. McCoy: "And the good news is they're not going to prosecute."

#147877 12/02/2001 4:17 PM
Anonymous
Unregistered
Anonymous
Unregistered
WinNT/2K doesn't require a path to perl...

What your test script is saying is that the IUSR_IPSWEW0014ATL2 account requires RWXD permissions on the ubb noncgi, variables, and Members directories. If you do not have the ability to set those permissions on that account, please talk to your server admin about granting them. You can point them to the UBB Installation pages that require it.

---
- Allen
- Stand318
- UBBâ„¢ Developers Network &#0124; UBBThreadsâ„¢ Developers Network

#147878 12/02/2001 11:44 PM
Anonymous
Unregistered
Anonymous
Unregistered
all of my files have -rwxrwxrwx and folders have drwxrwxrwx next to them. I believe this should indicate that the files are set correctly.

Any other advise would be appreciated.

Will

#147879 12/03/2001 12:22 AM
Anonymous
Unregistered
Anonymous
Unregistered
my ubb6_test.cgi

is checking path "d:/64.226.14x.xx/cgi-bin"

is tthis the path that should be listed in the first line of the three cgi documents that i need to check the paths for perl or do I need to contact my host provider?

Will

I am trying again.

http://www.goldderby.com/cgi-bin/ubb6_test.cgi

maybe this helps
every other test was ok except these

Path Path exists and is a directory OK

CGI Directory Path: has not been defined sucessfully in the control panel: help

NonCGI Directory Path: has not been defined sucessfully in the control panel: help

Members Directory Path: has not been defined sucessfully in the control panel: help

Variables Directory Path: has not been defined sucessfully in the control panel: help

#147880 12/03/2001 12:57 AM
Anonymous
Unregistered
Anonymous
Unregistered
Content-type: text/html Charset: ISO-8859-1 Content-Type: text/html

this message is floating above my cp pages.

#147881 12/03/2001 1:48 AM
Anonymous
Unregistered
Anonymous
Unregistered
I think If I could remove that line from whichever file is serving it to the headers before the HTML tag It might help solve my problem, but what do I know?

I set all my paths in ultimatebb.cgi, cp.cgi, and ubb_upgrade.cgi to my servers perl path.

#!C:PerlbinPerl.exe

I was told by my hosting company that this wasn't necessary on NT servers, but I did it anyway.

Will

#147882 12/03/2001 1:54 AM
Anonymous
Unregistered
Anonymous
Unregistered
Paths to perl do not matter on Windows/IIS setups... please do not change the top of those files. You might put something in there that will mess them up <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Your software is a little old, you really should be upgrading to 6.1.0.3, a good number of bugs were squashed since 6.1 release.

If your problems continue, you might open a support ticket up for them to take a look at... it appears the permissions on your cache folders are set too low.


Oh, and when you get through, use the "move-kit" files (Ultimate.cgi and forumdisplay.cgi) in case your members have bookmarked your old forums. It will automatically forward them to your new ones...

---
- Allen
- Stand318
- UBBâ„¢ Developers Network &#0124; UBBThreadsâ„¢ Developers Network

#147883 12/03/2001 2:11 AM
Anonymous
Unregistered
Anonymous
Unregistered
Can you explain this, I am sorry it is unclear to me what you mean.

Quote
Originally posted by AllenAyres: it appears the permissions on your cache folders are set too low.
Can you explain why this text is written to the page before the the Html tag is written.

"Charset: ISO-8859-1 Content-Type: text/html "
or

"Content-type: text/html Charset: ISO-8859-1 Content-Type: text/html "

Is this just text that should have been commented out and isn't or is this a different type of problem?

Thank you for your help.

Will

#147884 12/03/2001 7:01 PM
Anonymous
Unregistered
Anonymous
Unregistered
That is just printing as a result of the error... once the errors are lined out, those will go away... did you get this fixed?

---
- Allen
- Stand318
- UBBâ„¢ Developers Network &#0124; UBBThreadsâ„¢ Developers Network

#147885 12/04/2001 12:01 AM
Anonymous
Unregistered
Anonymous
Unregistered
No, I restored my backups. I spent to many hours with the boards down. I will try again later. I just did a simple upgrade to 5.47e


Is ther a simpler way to upgrade from this version to 6.1.03, I wouldn't mind going through 2 or 3 upgrades if I thought I would have a better success rate.

Thanx for all your help.


Will


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (Ruben), 1,248 guests, and 268 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)