Previous Thread
Next Thread
Print Thread
Rate Thread
#206470 11/28/2000 5:16 PM
Joined: Jun 1999
Posts: 77
Journeyman
Journeyman
Joined: Jun 1999
Posts: 77
Attached is a screen shot of the PHP forum on my site. One of my users posted about it yesterday. Last night I changed a couple lines in addpost.php to fix the error when preview is off. I went to make a few test posts and noticed the post about the blacked out view field. I didn't see it and couldn't duplicate it so I thought maybe it was just my users browser acting up. Today I got 3 more mails about it and when I went to check the attachment is what I seen.
Thank you,
Bob

Extreme VB Forums - Visual Basic Help
Attachments
21-25826-view.gif (0 Bytes, 0 downloads)

Sponsored Links
Rapt0r #206471 11/28/2000 5:26 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Hmm, interesting. It looks like the views isn't incrementing so nothing gets printed out. And when nothing gets printed out it will do this in some browsers, usually netscape. It's not hard to fix by just printing a nonbreaking space in this column, but need to figure out why the Views aren't incrementing. Thanks for the report.

-------------------
Scream
WWWThreads Developer


UBB.threads Developer
Rapt0r #206472 11/28/2000 5:39 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Got a question for ya. How did you setup your tables? Did you do use the perl createtable? The B_Counter field in the w3t_Posts should have a default of '0' in the sql database, so even if there were no views it should show a 0. On your's when you view a post that has an empty thread counter it just shows blank.

-------------------
Scream
WWWThreads Developer


UBB.threads Developer
Sally #206473 11/28/2000 5:50 PM
Joined: Jun 1999
Posts: 77
Journeyman
Journeyman
Joined: Jun 1999
Posts: 77
When I switched servers I updated the perl version to 5.12 and then installed the php version and used the same db. I used the altertable scripts. Somethings not right. The perl version shows the same and it doesn't seem like the count is incrementing. I dumped the post table just now I notice B_Counter is empty in all new posts. This just started today. But I also noticed if I view a thread from yesterday the count goes up. This seems to be affecting some of the new threads but not all of them.
Thank you,
Bob

Extreme VB Forums - Visual Basic Help

Rapt0r #206474 11/28/2000 5:53 PM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Ok, the PERL version used to have a problem with this in the initial createtable. What you will probably want to do is go into mysql directly and issue the following command:

ALTER TABLE w3t_Posts CHANGE B_Counter B_Counter INT(9) DEFAULT '0';

That should get it to where old and new threads increment properly.

-------------------
Scream
WWWThreads Developer


UBB.threads Developer
Sponsored Links
Rapt0r #206475 11/28/2000 5:55 PM
Joined: Jun 1999
Posts: 77
Journeyman
Journeyman
Joined: Jun 1999
Posts: 77
To see what I mean look here Some of the posts count up but some don't. This is really getting strange. In the mean time I'm going to set the count field to zero and refresh the db and see if that does anything.
I changed B_Counter and refreshed mysql and only some of the posts increment. I did notice now that when I check the post at the top the total views do increment but they don't show on main page. Some of the posts also seem to be stuck on 1 view which shouldn't be because there are 5 or 6 replies to them.
Thank you,
Bob

Extreme VB Forums - Visual Basic Help

Edited by Extrm Bob on 11/28/00 05:06 PM.



Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)