Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (Dunny, Pilgrim, lisayling), 30 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 469
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 3 1 2 3 >
Topic Options
#155337 - 10/20/01 08:03 AM Board won't work after upgrade to 6.1.0
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
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#155338 - 10/20/01 10:29 AM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Hmm... have you checked permissions on the noncgi folder?
Top
#155339 - 10/20/01 01:42 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

There is the same rights on the dirs as there were before I upgraded.
Top
#155340 - 10/20/01 03:45 PM Re: Board won't work after upgrade to 6.1.0
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
What version did you upgrade from?

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

Honor The Victims
Top
#155341 - 10/20/01 04:56 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

I upgraded from 6.05
Will have to ask the sysadmin about the FAT32 thing.
Top
#155342 - 10/20/01 05:14 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

It is running NTFS
Top
#155343 - 10/21/01 04:31 AM Re: Board won't work after upgrade to 6.1.0
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?
Top
#155344 - 10/21/01 05:36 AM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Have you tried clearing the cache yet?
Top
#155345 - 10/21/01 02:56 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

*Move along, nothing to see here...*
Top
#155346 - 10/21/01 03:09 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

In the CP I get that message above, so I didn't dare to do anything.
Top
#155347 - 10/21/01 08:10 PM Re: Board won't work after upgrade to 6.1.0
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
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
Top
#155348 - 10/22/01 01:22 AM Re: Board won't work after upgrade to 6.1.0
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?
Top
#155349 - 10/22/01 08:58 AM Re: Board won't work after upgrade to 6.1.0
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 [/CODE]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 [/CODE]
Top
#155350 - 10/22/01 02:31 PM Re: Board won't work after upgrade to 6.1.0
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!
Top
#155351 - 10/22/01 02:50 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Hey Charles..

That's the best news I have gotten all week!
When will the next release come out? I have almost 9000 members on my board, and they are having withdrawals!
Top
#155352 - 10/22/01 03:04 PM Re: Board won't work after upgrade to 6.1.0
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!
Top
#155353 - 10/22/01 03:34 PM Re: Board won't work after upgrade to 6.1.0
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. [/QUOTE]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?
Top
#155354 - 10/22/01 03:53 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

It's meant to strike fear into your heart.

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!
Top
#155355 - 10/23/01 01:30 AM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Top
#155356 - 10/23/01 02:44 PM Re: Board won't work after upgrade to 6.1.0
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.
[/QUOTE]Will it come today?
Top
#155357 - 10/23/01 03:09 PM Re: Board won't work after upgrade to 6.1.0
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
Top
#155358 - 10/23/01 04:05 PM Re: Board won't work after upgrade to 6.1.0
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!
Top
#155359 - 10/24/01 01:27 AM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Brilliant
Top
#155360 - 10/24/01 03:24 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

So we close to a release?
Top
#155361 - 10/24/01 03:33 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Very. I'm currently putting the finishing touches on the German and French zips.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!
Top
#155362 - 10/24/01 05:19 PM Re: Board won't work after upgrade to 6.1.0
Anonymous
Unregistered

Screw the germans and french! release it! hehehe
Top
#155363 - 10/26/01 08:22 AM Re: Board won't work after upgrade to 6.1.0
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
Top
#155364 - 10/26/01 01:44 PM Re: Board won't work after upgrade to 6.1.0
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!
Top
Page 1 of 3 1 2 3 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33836 Topics
181692 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image