Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (SteveS), 29 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/05/06
Posts: 105
Top Posters (30 Days)
Ruben 49
Gizmo 24
DennyP 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
drkknght00 9
SD 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 2 1 2 >
Topic Options
#169097 - 11/26/06 12:07 AM upgrade.php error
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
I'm upgrading from 7.0 to 7.0.2 and get the following message on running the upgrade.php script:

Code:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/www/jakchat/forums/libs/mysql.inc.php on line 44

Fatal error: Call to undefined function: smartyprepare() in /home/www/jakchat/forums/libs/ubbthreads.inc.php on line 753


any suggestions?


_________________________
Okusi Associates -- Indonesian business and management services
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."
#169101 - 11/26/06 12:28 AM Re: upgrade.php error [Re: Okusi]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
don't know if this is related, but one of my administrators unwittingly reopened my board while it was upgrading. could this have left the database in an open state, thus causing the above problem?? and if so, how do i now close the database, keeping in mind that i no longer have access to the control panel ...
_________________________
Okusi Associates -- Indonesian business and management services
Top
#169103 - 11/26/06 12:56 AM Re: upgrade.php error [Re: Okusi]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
From the error it looks like the MySQL server has actually died and not available. If this is still happening, then you should contact your host.
Top
#169104 - 11/26/06 12:57 AM Re: upgrade.php error [Re: Okusi]
Bill B Offline

member
Registered: 10/29/06
Posts: 189
Loc: Issaquah, WA
Do you have phpMyAdmin installed?
_________________________
--BIll B
Top
#169106 - 11/26/06 01:04 AM Re: upgrade.php error [Re: Rick]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
Originally Posted By: Rick
From the error it looks like the MySQL server has actually died and not available. If this is still happening, then you should contact your host.

no, it's definately up. must be some other issue. could my mysql server setup options have been overwritten during the upgrade?? perhaps i've overwritten them?
_________________________
Okusi Associates -- Indonesian business and management services
Top
#169107 - 11/26/06 01:19 AM Re: upgrade.php error [Re: Okusi]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Quote:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/www/jakchat/forums/libs/mysql.inc.php on line 44
commonly when I see this error MySQL isn't running
_________________________
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
#169109 - 11/26/06 01:23 AM Re: upgrade.php error [Re: Gizmo]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
according to my ISP customer support, they have no problem. indeed, they wrote a quick program on my system that connected.

my mysql host is not localhost, but something else. could my host setting be overwritten during the copying of files or something? just speculating ... i've not nothing more to go on, and my users are clamouring \:\(
_________________________
Okusi Associates -- Indonesian business and management services
Top
#169111 - 11/26/06 01:26 AM Re: upgrade.php error [Re: Okusi]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
Originally Posted By: KuKuKaChu
my mysql host is not localhost, but something else. could my host setting be overwritten during the copying of files or something? just speculating ... i've not nothing more to go on, and my users are clamouring \:\(


You could check your includes/config.inc.php file and see what host yoru forum istrying to connect to
_________________________
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
#169113 - 11/26/06 01:28 AM Re: upgrade.php error [Re: Gizmo]
Okusi Offline
member
Registered: 06/05/06
Posts: 163
Loc: Jakarta, Indonesia
this is all includes/config.inc.php contains:

Code:
<?php
$config = array ();
?>
_________________________
Okusi Associates -- Indonesian business and management services
Top
#169114 - 11/26/06 01:31 AM Re: upgrade.php error [Re: Okusi]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
umm, this is in your forum directory right? cas it should contain a LOT more...

Did you follow the upgrade guide? Such as not overwriting your includes or cachebuilders directories?
_________________________
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
Page 1 of 2 1 2 >



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

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
Yesterday at 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
181693 Posts

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