Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
When I enter the CP, I get this message:

An unexpected fatal error has occured:

D:/BulletinBoard_UNR/ubb/vars_config.inc.php: Expected to write out 447 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


My ultimatebb.cgi is at http://board.unreality.dk/ubbcgi/ultimatebb.cgi

Anonymous
Unregistered
Anonymous
Unregistered
Hmm... have you checked permissions on the noncgi folder?

Anonymous
Unregistered
Anonymous
Unregistered
There is the same rights on the dirs as there were before I upgraded.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
What version did you upgrade from?

Are you on a server that is running FAT32 instead of NTFS?

Honor The Victims

Anonymous
Unregistered
Anonymous
Unregistered
I upgraded from 6.05
Will have to ask the sysadmin about the FAT32 thing.

Anonymous
Unregistered
Anonymous
Unregistered
It is running NTFS

Anonymous
Unregistered
Anonymous
Unregistered
This board is screwed.. Sometimes it shows 2 replies to this thread, and other times it shows the correct #s.

It also shows a different "Last Thread" in the main forum some times.

Anyways.. Regarding UBB. Anyone know a solution to my problem?

Anonymous
Unregistered
Anonymous
Unregistered
Have you tried clearing the cache yet?

Anonymous
Unregistered
Anonymous
Unregistered
*Move along, nothing to see here...*

Anonymous
Unregistered
Anonymous
Unregistered
In the CP I get that message above, so I didn't dare to do anything.

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Henrik I have a fix.

But first a stern warning.

I am about to instruct you on how to remove that error warning. This means from this point on you'll have no indication that somwething is awry.

The reason you are getting this error is that you either are on a FAT32 system or your quota is full or the server's hard drive full. Probably the former and not the latter.

Once you do what I am going to put below You will be in a position to have no warning when or if your UBB might fail. Please consider this carefully. I urge you to find a safer place to house your UBB after you get it running.

Ok, scary warnings done, here is the fix.

Open ubb_lib_filehandle and comment out lines 177 to 193.

That's located right under the big scary warning inside the file.

Honor The Victims

Anonymous
Unregistered
Anonymous
Unregistered
The server is running NTFS and there's about 1.5gb free space on it.

The "fix" is to block out the error lines?

Anonymous
Unregistered
Anonymous
Unregistered
I am getting the same error.
We're running Windows 2000 using NTFS with 4 GB of available disk space.

I get this error as soon as I log into the Control Panel.

Code
 C:/WWW/HSHSL/cats/help/ubb/vars_config.inc.php: Expected to write out 435 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 
If I ignore the error and select "Upgrade your UBB", I get Fatal Error.

Code
 C:/WWW/HSHSL/cats/cgi/vars_wordlets_err.cgi: Expected to write out 15463 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 

Anonymous
Unregistered
Anonymous
Unregistered
Hi guys,

It seems like there's a number of issues with Windows.

The next release will not have these errors.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Hey Charles..

That's the best news I have gotten all week! <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />
When will the next release come out? I have almost 9000 members on my board, and they are having withdrawals! <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Probably tonight or tomorrow.

If you can't wait, pop open ubb_lib_filehandle.cgi in Notepad - there's a big comment block around line 100-150 that describes what you need to do.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
This one, right?

Quote
ATTENTION USERS ON WIN2K/XP MACHINES

If you are running your system with the FAT32 filesystem, the following code will FAIL. Windows does *NOT* update FAT fast enough for our zero size file check to function. Do not use FAT32. It is not suitable for production use.

Use NTFS. It actually treats the files sanely.

If you can't switch to NTFS, comment out everything from this point down to the end of this if block (when the indent goes a tab back to the left). Do so at your own risk. Without zero size file detection, UBB tends to fall apart pretty quickly.
I don't like the last part of that... If the board is going to fall apart by blocking out those lines, what kinda fix is that?

Anonymous
Unregistered
Anonymous
Unregistered
It's meant to strike fear into your heart. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

In short, without the zero size file checks, the UBB has no way to catch those errors... when it comes back to read that file later, and if it really IS zero sized, it will throw an even uglier error...

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
<img src="https://www.ubbcentral.com/boards/images/graemlins/frown.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Quote
Originally posted by Charles Capps:
Probably tonight or tomorrow.

If you can't wait, pop open ubb_lib_filehandle.cgi in Notepad - there's a big comment block around line 100-150 that describes what you need to do.
Will it come today? <img src="https://www.ubbcentral.com/boards/images/graemlins/laugh.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
This is the only way to work arround that bug till Infopop say something else.

UBB 6.1 final
opne ubb_lib_filehandle.cgi at your notepad (no wrap and at view status bar on)

comment line 190 with # and it will work.

Nervana<BR>Cairo,Egypt

Anonymous
Unregistered
Anonymous
Unregistered
We're looking at this afternoon or early tomorrow.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Brilliant

Anonymous
Unregistered
Anonymous
Unregistered
So we close to a release? <img src="https://www.ubbcentral.com/boards/images/graemlins/smile.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Very. I'm currently putting the finishing touches on the German and French zips. <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!

Anonymous
Unregistered
Anonymous
Unregistered
Screw the germans and french! release it! hehehe <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" />

Anonymous
Unregistered
Anonymous
Unregistered
Hi.. I'm running 6.1.0.1 and still receiving this error. I'm nowhere near my quota and the server is a Cobalt Linux server. Exact error:

Sorry, UBB has encountered an unexpected, fatal error. This error is extremely abnormal. Please contact the board administration. The error text is:

/home/sites/site1/users/mlaguna/web/ubb/Forum1/forum_1.threads: Expected to write out 127824 bytes, but file on disk is only !]
Here is the backtrace:
Backtrace: ubb_lib_filehandle.cgi:178 -> sub UBB::FileHandle::tracer
Backtrace: ubb_lib_filehandler.cgi:132 -> sub UBB::FileHandle::close
Backtrace: ubb_lib_files.cgi:411 -> sub UBB::FileHandler::close
Backtrace: ubb_lib_files.cgi:65 -> sub main::WriteHashToFile
Backtrace: ubb_lib_posting.cgi:145 -> sub main::UpdateForumTopics
Backtrace: ubb_new_reply.cgi:469 -> sub main::update_forum_summary
Backtrace: ultimatebb.cgi:622 -> sub main::submit_new_reply

» Please use your browser's back button to return.


Please help. There are no hacks on my forum; everything is straight from the "shrinkwrap".

Laguna

Anonymous
Unregistered
Anonymous
Unregistered
Laguna, please open a new topic for your issue. It has little to do with the errors in this thread. They are on Windows, you are on Unix - there's a world of difference!

Please include both the version and the URL to your board in that new topic. Thank you!

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!


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
0 members (), 797 guests, and 200 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)