Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Dunny, Ruben), 48 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 709
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 24
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
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
#223401 - 03/01/09 12:59 PM 7.5 - showprofile.inc.php mysql errors
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
MySQL - 4.1.22
PHP Version 4.3.11

I installed 7.5 last night and today I have a few hundred kbs of MySQL error logs. Also, forum features appear to be intermittently slow.

They are predominately like this...
(I guess 95% relate to showprofile.inc.php)

I asked my host if there was any issue with the MySQL server and there isn't. All the other scripts on my site using php/MySQL appear to be ok.


Php Code:



Script: /-----/forums/scripts/showprofile.inc.php - Line: 418
select t2.USER_AVATAR,t2.USER_AVATAR_WIDTH,t2.USER_AVATAR_HEIGHT,t3.USER_DISPLAY_NAME,t3.USER_ID,t4.ONLINE_LAST_ACTIVITY,t2.USER_MOOD
from ubbt_ADDRESS_BOOK as t1
left join ubbt_ONLINE as t4 on t4.USER_ID = t1.USER_ID,
ubbt_USER_PROFILE as t2,
ubbt_USERS as t3
where t1.ADDRESS_ENTRY_USER_ID = 272
and t1.USER_ID = t2.USER_ID
and t2.USER_ID = t3.USER_ID
- Lost connection to MySQL server during query

 


Any thoughts?
_________________________
Using version :: 7.5.6
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."
#223402 - 03/01/09 02:11 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: driv]
Ruben Online   hyper

Registered: 12/20/03
Posts: 4424
Loc: Lutz,FL
Even though your host states no problem. I would be highly suspicious of "Lost connection to MySQL server during query"
But for the rest of it. I noticed when I upgraded to 7.5 I had similar errors other than the connection issue. I recall about 4 entries but I believe a different line.

Call it coincidence but when I enabled the profile comments. The errors did not return.

To your question about slow I did notice at first that viewing profiles seemed to stall a little but not now. But if you are having Mysql connection issues, that would slow down everything.


But in any case I think this should be in the Bug forum.
_________________________
Blue Man Group
Top
#223404 - 03/01/09 02:29 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: Ruben]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
I didn't post it in the bug forum as I figured that if it was a bug it would have affected others (and there didn't appear to be a more appropriate forum).

Quote:
Call it coincidence but when I enabled the profile comments. The errors did not return.


I'll have a look for this smile
_________________________
Using version :: 7.5.6
Top
#223408 - 03/01/09 03:57 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: driv]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Quote:
when I enabled the profile comments.


Can't see the wood for the trees... Where is this?
_________________________
Using version :: 7.5.6
Top
#223409 - 03/01/09 03:58 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: driv]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Well, the benefit of the error logging is it blatantly tells you the problem in the error message; if you're loosing connections to MySQL it's generally the MySQL servers fault tongue
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#223411 - 03/01/09 04:10 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: Gizmo]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Cheers Giz - I'll get back to them.

Where's the enable profile comments?
_________________________
Using version :: 7.5.6
Top
#223415 - 03/01/09 06:30 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: driv]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Good question; I'm not sure... I figured it'd be in "Profile Settings" but it's not lol...
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#223416 - 03/01/09 06:33 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: Gizmo]
Gizmo Offline

Registered: 06/05/06
Posts: 14995
Loc: Portland, OR; USA
Found it...
Master Settings -> Feature Settings -> General -> Enable Profile Comments?
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#223417 - 03/01/09 07:19 PM Re: 7.5 - showprofile.inc.php mysql errors [Re: Gizmo]
SD Offline
Registered: 04/19/07
Posts: 4056
Loc: SoCal, USA
that's a very inefficient query.. just from an SQL geek's standpoint..
_________________________

Threads tutorials . Threads & Wordpress experts . UBB resume

If I you, click this link as to why
Top
#223428 - 03/02/09 04:11 AM Re: 7.5 - showprofile.inc.php mysql errors [Re: SD]
driv Offline

Pooh-Bah
Registered: 01/10/04
Posts: 2377
Originally Posted By: Sirdude
that's a very inefficient query.. just from an SQL geek's standpoint..
Don't know where it's coming from - but my error log file is full of these queries.

There are hundreds of them in there this morning and it's just 9am.
_________________________
Using version :: 7.5.6
Top
Page 1 of 3 1 2 3 >



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 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
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

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