Board Discussion does not have a valid parent. Use the 'find and repair errors' function to fix this.
this is what I get when I open up the manage boards menu on the admin panel
and when I go to the find and repair errors screen it doesnt show it as an error at all so there's no way for me to fix it ???
WHAT DO I DO ?????
:-[
Did you modify any of the tables manually (for example, through phpMyAdmin)?
Do you have phpMyAdmin?
--> Administration and Functionality.
-[Unknown]
I didnt modify any tables, I added a category called discussion and than I added a forum trying to make it a child board, now I cant access the editting features at all ? is there a was a can default it back to the original stuff
Strange... it should be theoretically impossible to use the board management interface to cause this error.
Create a new file in Notepad (or similar, not Word or anything though) with the following contents:
<?php
include('SSI.php');
db_query("
UPDATE {$db_prefix}boards
SET ID_PARENT = 0", __FILE__, __LINE__);
echo 'Fixed, hopefully.';
?>
Save it as "quickfix.php" (note the quotation marks) and upload it to your server, in the same directory as SMF. Then go to:
http://www.example.com/forum/quickfix.php
After you've used it, please delete the file (because it could theoretically be used again by someone other than yourself.)
Did that help?
-[Unknown]
explain what u want me to do, I am confused
I posted some PHP code you can use to fix your problems temporarily and make your forum work properly again.
All you need to do is copy the code I posted, put it in a file, upload that file, and access the file. As I stated in my post.
Which part is causing you confusion?
-[Unknown]
Ok, thanks, I'll try, sorry I sound so stupid
I've never met a single person in my life I would consider stupid, and that's including you.
I mean, come on, you're using SMF - that's a stroke of brilliance there :P! I'm kidding, I'm kidding....
-[Unknown]
in the same directory as SMF ? Where should I upload it to exactly (not sure)
in the cgi-bin ? attachment folder ?
Same directory as SMF. Meaning, not in attachments or cgi-bin... just in the same place those are, and SSI.php is, and index.php is, etc.
-[Unknown]
Ok, I did it, and went to the correct address where it said hopefully fixed, but than I went back to the admin panel and went to the manage boards to see if it works and I still get the error, hey unknown, contact me right now on AIM please
AOL Messenger: SliceofTSM@aol.com
Really. Try it with these contents then:
<?php
include('SSI.php');
db_query("
UPDATE {$db_prefix}boards
SET ID_PARENT = 0, childLevel = 0", __FILE__, __LINE__);
echo 'Fixed, hopefully.';
?>
-[Unknown]
Thanks, it works now, I dont know how you did it but thanks alot! You have good help here at the Simple Machines site,
Much appreciation
1
Thanks for this great piece of work and advice, [Unknown] :D Much appreciated.
cheers,
sharks
hey man, Thanks SO MUCH!! really easy instructions to follow and it works, thanks a lot
You are the man!!!...It fixed my error you are the man!!! ;D
I'll say that again...You are the man! thank you!