Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (gliderdad), 40 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 03/22/07
Posts: 416
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
Topic Options
#162652 - 10/15/01 03:45 PM zero sized thread error
Anonymous
Unregistered

When trying to reply to a thread, this error message comes up instead of the reply screen:

An error has occured:


Tried to open zero sized thread 001531 in forum 5 at /home/bluetig/public_html/cgi-bin/boards/ubb_lib_files.cgi line 791.


Please inform the board administration of this error so that they may fix the problem. Thank you!

As far as I can tell, this is the only thread where this is happening. I tried "reply" on a few others, and the reply screen comes up as it should.

I'm running:

Powered by Infopop Corporation
Ultimate Bulletin BoardTM 6.1.0 Public Beta 1.2

at www.bluetights.com/boards

Will rebuilding forum stats fix this?

Thanks for your help.

Zoom
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."
#162653 - 10/15/01 03:50 PM Re: zero sized thread error
Anonymous
Unregistered

No, as the thread itself has been destroyed. You will need to delete the topic file.

Please upgrade to beta 2.1...

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!
Top
#162654 - 10/15/01 06:47 PM Re: zero sized thread error
Anonymous
Unregistered

[QUOTE]No, as the thread itself has been destroyed. You will need to delete the topic file.
Please upgrade to beta 2.1...[/QUOTE]I can't delete it. I get the same error message when I try. I've downloaded the 2.1 upgrade as you suggested, but if I upgrade with that thread still there, won't that cause a glitch during/after the upgrade?

Also, I noticed that the upgrade has a PHP test and another PHP file. How do I use these? Since things are a bit changed around here at Infopop, is there a forum for the PHP information?

Thanks

Zoom
Top
#162655 - 10/15/01 07:01 PM Re: zero sized thread error
Anonymous
Unregistered

Delete the actual topic file using FTP - that's the only way to get it done.

You can find out more information on the Accelerator at this URL:

http://community.infopop.net/6/ubb.x?a=tpc&s=729094322&f=1503071313&m=7453002313

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!
Top
#162656 - 10/15/01 07:40 PM Re: zero sized thread error
Anonymous
Unregistered

[QUOTE]Delete the actual topic file using FTP - that's the only way to get it done.
You can find out more information on the Accelerator at this URL[/QUOTE]Thanks, Charles, you're the fastest tech in the west

My site host has this info on PHP4:

PHP 4 is now available as CGI binary on all servers. We are keeping PHP 3 as an Apache module to prevent any possible problems with people's current scripts. Thus, any files you already have with the .php extension will still
run the exact same.

To use PHP 4 you:
1. Put the path to php4 as the VERY FIRST LINE of your script, before
anything else: #!/usr/bin/php4
2. save your PHP files with the .cgi extension.
3. Set the permissions of the script to 755.

I'm guessing this would cause a problem changing the script to read the way they want for the files to work, plus I wouldn't have a clue what all files would have to have that change. At any rate, as always, thanks for your very quick responses. I really appreciate your patience.

Zoom
Top
#162657 - 10/15/01 08:00 PM Re: zero sized thread error
Anonymous
Unregistered

A couple of changes...

First, get the upgrade working.

Second, rename ultimatebb.php and ubbaccel_test.php with .cgi extensions.

Third, edit those two files to include the path to PHP, as noted by your host.

Fourth, set permissions on the files - 755 should do it.

Fifth (phew), visit ubbaccel_test.cgi in your browser, note the output. Make sure that the tests pass.

Sixth (getting there), edit ubb_lib.cgi. There's a line pointing to $vars_config{NonCGIURL}/ultimatebb.php. Change that to point to $vars_config{NonCGIURL}/ultimatebb.cgi

Seventh... turn on the Accelerator, clear the UBB cache, and see if it works.

We officially do not advise running the Accelerator using the PHP CGI binary, but if that's all your host has, the above procedure SHOULD work.

--
Charles Capps
Programmer, Infopop Corporation
Please do not contact me privately for support - post on the board or open a support ticket instead!
Top
#162658 - 10/16/01 03:34 PM Re: zero sized thread error
Anonymous
Unregistered

Okay, Charles, I followed your instructions. The upgrade to 2.1 went perfectly and so moved on to the next steps you gave. I got this on the ubbaccel_test.cgi (nee php):

UBB Accelerator Test
Your PHP version is 4.06: OK
Your PHP version has zlib: Yes

Your PHP version will have no issues with the UBB Accelerator. The UBB Accelerator will use zlib compressed output.

I edited the ubb_lib.cgi as you instructed. Turned on the accelerator, but this is what I got as a message on the main board page:

Warning: Cannot add header information - headers already sent by (output started at /home/redboot/public_html/cgi-bin/ubb/ultimatebb.cgi:2) in /home/redboot/public_html/cgi-bin/ubb/ultimatebb.cgi on line 490

That's where I have a board set up for testing upgrades and such and I keep it closed except if the real board (same site host provider) goes down. However, the above error repeats itself from "line 490" to "line 494".

So, I took a wrong turn at Albuquerque somewhere. It's too bad, I have to tell you, Charles, that accelerator feature is Batmobile cool Maybe if my site host ever goes with PHP 4.06 as its Apache module version, I'll have no problems.

It does show how versatile UBB is, though, since I almost got it to work even with my site host's round about approach to PHP 4. Thanks so much for trying to get it to work. I at least got some PHP experience our of it and that was very cool.

Zoom (atomic batteries to power ...)
Top
#162659 - 10/16/01 04:05 PM Re: zero sized thread error
Anonymous
Unregistered

Make sure there's no blank line between the #! and the <?PHP lines. If there is, PHP throws that 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
#162660 - 10/16/01 05:17 PM Re: zero sized thread error
Anonymous
Unregistered

[QUOTE]Make sure there's no blank line between the #! and the <?PHP lines. If there is, PHP throws that error.[/QUOTE]Okay, allow me an indulgment <gush> Charles, is a genius!</gush>

Seriously, you were right on the money. That got rid of the warnings.

I did a test post and test reply and they went perfect, though it shows it as the cgi-bin/boards/ultimate.cgi (where it always was before turning on the accelerator) as opposed to the cgi-bin/ubb/ultimate.cgi(the php that was saved as cgi as per my site host's instructions). Is that where/how it's supposed to work?

I mean when I'm on the main page, it shows ubb/ultimate.cgi and all the forum topics when I hover the cursor over them also show the ubb/ultimate.cgi, but once I go to them, they show the /boards/ulitmate.cgi. If that's how it's supposed to work, then it's working fine, and I really appreciate the instructions and help!

Zoom (turbines to speed)
Top
#162661 - 10/16/01 06:28 PM Re: zero sized thread error
Anonymous
Unregistered

OKay... time to explain things.

The UBB can be really intense on the server. To help ease up on the potential load, it saves cached copies of most pages.

The Accelerator cheats. It tries to find a cached copy of the page you're trying to get to. If it finds one, it serves it up. If it does NOT find one, it redirects the request to the UBB, which will serve the page AND make a cached copy.

That's why the links are that way. Whenever possible, you'll be directed to the cache. If there's no cached copy (as there wouldn't be after you reply to a topic, or if you post a new topic), you'll get redirected.

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



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
33840 Topics
181692 Posts

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