News:

Wondering if this will always be free?  See why free is better.

Main Menu

Re: HELP! Manage boards error

Started by APDamien, November 16, 2024, 02:53:23 AM

Previous topic - Next topic

APDamien

Quote from: [Unknown] on November 02, 2004, 12:39:18 AMStrange... 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:

hxxp:www.example.com/forum/quickfix.php [nonactive]

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]
I tried the above and got an error:

Fatal error: Uncaught Error: Call to undefined function db_query() in /home1/apdamien/public_html/dolcettish/quickfix.php:4 Stack trace: #0 {main} thrown in /home1/apdamien/public_html/dolcettish/quickfix.php on line 4

Maybe the above fix is for an earlier version of SMF?

Aleksi "Lex" Kilpinen

#1
Considering the post is 20 years old, you might be on to something there....

As you have been told once already, please start your own topic in the board relevant to the version you are using.

Quote from: Illori on October 13, 2024, 04:30:45 PMplease start your own topic along with the steps and what you are trying to fix.

Also, a word of warning - Just randomly testing offered solutions from decades ago may cause significant damage to your forum, if your issue or forum version is not exactly the same. DO NOT DO IT unless you understand what you are doing.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Steve

Topic split for reasons Lex stated above.
DO NOT pm me for support unless asked to!

Advertisement: