Previous Thread
Next Thread
Print Thread
Rate Thread
#270792 03/12/2004 12:49 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
Greetings,

I am getting several of the following errors visable in the error logs.

/ubbthreads/pals/shoutdisplaypal.php

Unable to do_query: SELECT U_Username,U_Password,U_SessionId, U_StyleSheet, U_Status, U_Privates, U_FrontPage, U_Number, U_Banned,U_Agree FROM w3t_Users WHERE U_Number = '102' - Can't connect to local MySQL server through socket '/var/tmp/mysql.sock' (2)

Sponsored Links
vajraman #270793 03/12/2004 1:10 PM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
"Can't connect to local MySQL server" generally means that the MySQL server itself is down. Speak to your host...


UBB.classic: Love it or hate it, it was mine.
vajraman #270794 03/12/2004 5:34 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Are you still seeing these.

Cpanel did an emergency security update of their software which hosed up the CPanels ofmany of the servers on the net. In fixing that today - a reboot was needed. So these errors are common when the box is rebooted as there is a few moments when the webserver (Apache) comes back online but MySQL hasn't quite started up yet.

Now that things are settling in on the new box you are on - restarts on our end should be very infrequent.

Daine #270795 03/12/2004 7:31 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
[]JoshPet said:
Are you still seeing these.

Cpanel did an emergency security update of their software which hosed up the CPanels ofmany of the servers on the net. In fixing that today - a reboot was needed. So these errors are common when the box is rebooted as there is a few moments when the webserver (Apache) comes back online but MySQL hasn't quite started up yet.

Now that things are settling in on the new box you are on - restarts on our end should be very infrequent. [/]
All looks good now. The reason I asked is becuase I just updated the IIP and thought I did something wrong

Rick8765 #270796 03/15/2004 3:52 PM
Joined: Mar 2003
Posts: 159
Member
Member
Joined: Mar 2003
Posts: 159
Was just checking the Error Logs again and am now getting the following error listed several times:

/ubbthreads/dosearch.php

Unable to do_query: SELECT t1.B_Number,t1.B_Main,t3.U_Username,t1.B_Subject,t1.B_Posted,t1.B_Board,t3.U_Color,t1.B_Reged,t1.B_Icon,t1.B_Posterid,t1.B_Status,t1.B_AnonName,t1.B_Body FROM w3t_Posts AS t1, w3t_Users AS t3 WHERE t1.B_Approved = 'yes' AND t1.B_Posterid = t3.U_Number AND t1.B_Status <> 'M' AND t1.B_Board IN ('WSS','UER','PER','psd','oldpsd','fd','69fd','order','racing','anything','4sale','chat','ua','990373psd','TH','polls','jokes','newbie') AND (Bo_Cat = 6 ) ORDER BY B_Posted DESC LIMIT 26 - Unknown column 'Bo_Cat' in 'where clause'


I am assuming that the 'Bo_Cat' colum was not created? Am I warm?

TIA,

BWilliams

Sponsored Links
vajraman #270797 03/15/2004 4:12 PM
Joined: Aug 2002
Posts: 1,191
Kahuna
Kahuna
Joined: Aug 2002
Posts: 1,191
Bo_Cat exists only in the w3t_Boards table if I am not mistaken. The query here selects from the w3t_Posts and w3t_Users tables.

I had a look at the script and there is something I didn't quite understand there since the selection of the Bo_Cat column in the Where criteria wouldn't do any good since the table itself is not included in the From clause.

You might want to have a look at the official support forum of Infopop for .threads. This might be a but
(admitting that he is lazy and didn't look himself...)


Nikos

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 20240430)