|
|
Joined: May 1999
Posts: 242
Coder
|
Coder
Joined: May 1999
Posts: 242 |
I've left my warnings on for wwwthreads and all sorts of strange stuff got spit out in the form of warnings that I thought were serious (I guess not []/w3timages/icons/wink.gif[/]). Try turning off the warnings to see if that helps - should be in the php.ini file. []/w3timages/icons/smile.gif[/] 6 []/w3timages/icons/frown.gif[/] Screamers
|
|
|
|
Joined: Nov 2000
Posts: 23
Power User
|
Power User
Joined: Nov 2000
Posts: 23 |
I don't have access to things like that. []/w3timages/icons/frown.gif[/] Also I had never had this problem before and we have been running WWWThreads for about 7 months. Magicia (Site Manager) http://uwo.world-gaming.cc
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Hmm, Ok give this a try. Edit postlist.php, line 173 currently looks like this:
if (!$user[U_FlatPosts]) {
Try changing that, to this:
if ($user[U_FlatPosts] < 1) {
UBB.threads Developer
|
|
|
|
Joined: Nov 2000
Posts: 23
Power User
|
Power User
Joined: Nov 2000
Posts: 23 |
|
|
|
|
Joined: Nov 2000
Posts: 23
Power User
|
Power User
Joined: Nov 2000
Posts: 23 |
I added the change and unfortunetly nothing still get division by zero at line 817. Magicia (Site Manager) http://uwo.world-gaming.cc
|
|
|
|
Joined: May 1999
Posts: 3,039
Guru
|
Guru
Joined: May 1999
Posts: 3,039 |
Ok, for some reason $user[U_FlatPosts] is getting set to 0 even though it should default to the $theme['flatposts'] setting in theme.inc.php. What do you have for this setting? If you have a positive value then it should be working, but you can try adding this bit of code and it should tell you what it is being set to:
Line 817 of postlist.php you can put this:
echo "user[U_FlatPosts] is $user[U_FlatPosts']";
This should print out that value after the subject. If it is coming up blank or 0 then somehow we have to get it to force a positive value in there because the checks that are supposed to do this are failing.
UBB.threads Developer
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|
|