Previous Thread
Next Thread
Print Thread
Hop To
Joined: Dec 2003
Posts: 228
Pilgrim Offline OP
enthusiast
OP Offline
enthusiast
Joined: Dec 2003
Posts: 228
I closed my forums (v. 6.4.1) using that option in the online edit config file so I could optimize the database but as soon as I did that, even though I was logged in as an administrator, I got the following errors:

Quote
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /data/14/0/115/101/767916/user/785684/htdocs/forum/mysql.inc.php on line 35
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /data/14/0/115/101/767916/user/785684/htdocs/forum/mysql.inc.php on line 45

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /data/14/0/115/101/767916/user/785684/htdocs/forum/mysql.inc.php on line 107
SQL ERROR: Database error only visible to forum administrators

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /data/14/0/115/101/767916/user/785684/htdocs/forum/mysql.inc.php on line 133

Warning: Cannot modify header information - headers already sent by (output started at /data/14/0/115/101/767916/user/785684/htdocs/forum/mysql.inc.php:133) in /data/14/0/115/101/767916/user/785684/htdocs/forum/ubbt.inc.php on line 318

Warning: send_header(/languages//online.php) [function.send-header]: failed to open stream: No such file or directory in /data/14/0/115/101/767916/user/785684/htdocs/forum/ubbt.inc.php on line 370.
I’ve looked at the “doeditconfig.php” file and the “editconfig.php” file thinking I could simply change the board from “closed” to “open” and then upload the file which would rectify the situation. But I can’t find where to do that. Perhaps neither one is the correct file? So, as it stands now, my Board is dead…… !!

HELP!!


Artificial Intelligence is no match for natural stupidity!
Joined: Aug 2006
Posts: 1,356
Y
Veteran
Offline
Veteran
Y
Joined: Aug 2006
Posts: 1,356
Check the config file and see if the database connect settings are still ok.


[Linked Image from siemons.org]
Joined: Dec 2003
Posts: 228
Pilgrim Offline OP
enthusiast
OP Offline
enthusiast
Joined: Dec 2003
Posts: 228
Somehow the config.inc.php file got corrupted (0 bytes) and had to be replaced with a working copy. Must have been aliens! All is working fine how.


Artificial Intelligence is no match for natural stupidity!
Joined: Aug 2006
Posts: 1,356
Y
Veteran
Offline
Veteran
Y
Joined: Aug 2006
Posts: 1,356
great to hear. Closing your board will update config.inc.php but it should not make it a 0 byte file.


[Linked Image from siemons.org]
Joined: Sep 2010
Posts: 12
H
stranger
Offline
stranger
H
Joined: Sep 2010
Posts: 12
glad all worked out..hope it never happens to me!!

Joined: Jun 2006
Posts: 391
addict
Offline
addict
Joined: Jun 2006
Posts: 391
Been there, done that and it IS nerve wracking until you get it all sorted out....


Greg AKA Virgil Earp at the OK Corral
Tombstone, AZ

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Gobal announcement replies.
by Ruben - 04/09/2021 1:46 PM
Strange parse error in faq.php
by Baldeagle - 04/06/2021 1:12 AM
Upgrading to 7.7.5: Error:
by BB - 04/02/2021 10:48 AM
Does UBB 7.7.5 support webp images
by Ruben - 03/27/2021 12:00 PM
Does UBB support webp image. For insert image
by Ruben - 03/27/2021 9:49 AM
Who's Online Now
1 members (JAISP), 46 guests, and 84 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5