Previous Thread
Next Thread
Print Thread
Hop To
#169097 11/26/2006 1:07 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
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
Okusi #169101 11/26/2006 1:28 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
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
Okusi #169103 11/26/2006 1:56 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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.

Okusi #169104 11/26/2006 1:57 AM
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Do you have phpMyAdmin installed?


--BIll B
Rick #169106 11/26/2006 2:04 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
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
Okusi #169107 11/26/2006 2:19 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #169109 11/26/2006 2:23 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
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 frown


Okusi Associates -- Indonesian business and management services
Okusi #169111 11/26/2006 2:26 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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 frown


You could check your includes/config.inc.php file and see what host yoru forum istrying to connect to


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #169113 11/26/2006 2:28 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
this is all includes/config.inc.php contains:

Code
<?php
$config = array ();
?>



Okusi Associates -- Indonesian business and management services
Okusi #169114 11/26/2006 2:31 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #169116 11/26/2006 2:35 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
i may have copied includes in a moment of distraction frown ... too many kids running around the office on sunday morning ...

cachebuilders and styles were definately left alone


Okusi Associates -- Indonesian business and management services
Okusi #169117 11/26/2006 2:38 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
run install.php to the "create yoru admin user" screen and you should be safe, from there run upgrade.php.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #169118 11/26/2006 3:07 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
i seem to have got my system back smile .... a few pieces have fallen off, but it's largely intact.

thanks!


Okusi Associates -- Indonesian business and management services
Okusi #169119 11/26/2006 3:20 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
one of the things that has not yet come back is my shout box! it just stays blank, and won't accept posts.

may be unrelated, however my firefox debugger reports this error when my main page opens

uncaught exception: Permission denied to call method XMLHttpRequest.open

same problem in IE7.

do i need to replace a file that may ahve been overwritten??

Last edited by KuKuKaChu; 11/26/2006 3:39 AM.

Okusi Associates -- Indonesian business and management services
Okusi #169121 11/26/2006 3:42 AM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
That sounds like a domain name issue. Normally you'll see this if you have your full url set to domain.com but you are visiting by www.domain.com, or vice versa. There are some security precautions with AJAX in that it will only allow you to use it on the exact domain you're currently on.

Hopefully that makes a bit of sense.

Rick #169122 11/26/2006 4:28 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
yes, i found the problem. my configuration had lost the setting where i declared more than one domain (eg, http://www.jakchat.com|http://jakchat.com)

that fixed that problem ... now for all the rest smile

buggering up your configuration files is not recommended. you may wish be make a note of that in your documentation wink


Okusi Associates -- Indonesian business and management services
Okusi #169133 11/26/2006 6:20 AM
Joined: Jun 2006
Posts: 16,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
haha, but even Rick buggers his config file wink


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Gizmo #169140 11/26/2006 7:46 AM
Joined: Jun 2006
Posts: 136
O
member
member
O Offline
Joined: Jun 2006
Posts: 136
a perhaps unrelated problem: i am unable to use the language editor.

/forums/admin/languageeditor.php comes up completely blank.



Okusi Associates -- Indonesian business and management services
Okusi #169162 11/26/2006 4:38 PM
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
re-upload that file and the associated template for it.


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
0 members (), 925 guests, and 159 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)