Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2000
Posts: 190
Pilgrim Offline OP
Enthusiast
OP Offline
Enthusiast
Joined: Jun 2000
Posts: 190
I closed the forums 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!
Sponsored Links
Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
to open and close your board, you do it thru the admin panel.

now since you can't go to admin panel, just edit your config.inc.php

find

'BOARD_IS_CLOSED' => '1',

change to

'BOARD_IS_CLOSED' => '',

save/upload smile


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,551
Posts293,823
Members13,839
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 267
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 2
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,808
Greg Hard 4,625
Top Posters(30 Days)
isaac 5
Top Likes Received
isaac 64
Gizmo 12
Brett 7
Morgan 2
Top Likes Received (30 Days)
isaac 2
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2020 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.6
(Snapshot build 20201121.dev)
Responsive Width:

PHP: 5.4.45 Page Time: 0.034s Queries: 19 (0.012s) Memory: 3.2602 MB (Peak: 3.6363 MB) Data Comp: Zlib Server Time: 2020-12-03 01:31:19 UTC
Valid HTML 5 and Valid CSS