php forum
php mysql forum
php mysql smarty
 
Topic Options
#315708 - 09/16/07 01:40 PM I closed my forums and now they are dead
Pilgrim Offline
Enthusiast

Registered: 06/17/00
Posts: 325
Loc: Canada
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!!

Top
#315801 - 09/24/07 02:42 PM Re: I closed my forums and now they are dead [Re: Pilgrim]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 429
Loc: SoCal
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
_________________________

Unfair, Unbalanced, Unmedicated.

Top


Moderator:  Gizmo 
Top Posters Last 30 Days
AllenAyres 58
Gizmo 25
sirdude 25
Zarzal 17
blaaskaak 10
willing 3
tackaberry 3
Who's Online
0 Registered (), 32 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Auto repair table
by blaaskaak
Yesterday at 06:16 PM
User Authentication Class
by swebs
07/18/08 06:19 PM
[7.3.x] ubb.links
by AllenAyres
07/18/08 05:09 PM
Team UBBDev Rides Again!
by AllenAyres
07/18/08 05:08 PM
ubb.social
by willing
07/17/08 06:29 PM
Multiple Identity Detector
by Detangler
07/16/08 05:59 AM
how do I change textcolor in shoutbox
by sirdude
07/14/08 05:14 PM
New Mods
[7.3+] CustomTag - Photobucket Slideshow
by Gizmo
07/12/08 11:14 AM
[7.3.x] Copy forum permissions
by blaaskaak
07/09/08 02:37 PM
Protect users emails
by Basil Fawlty
06/29/08 08:44 AM
[7.3.x] Scheduled board close for backup
by blaaskaak
06/26/08 04:01 AM
[7.3+] CustomTag - Audo Embedding
by Gizmo
06/24/08 07:52 PM
Newest Members
Stanley, NazzaN, mmem700, Tyler, nunny
13309 Registered Users

 

 

 
fusionbb message board php hacks