Page 1 of 1

And just like that, the forum is back online!

PostPosted: Sun May 12, 2024 9:18 pm
by Aesthetics
Online again, sorry for the downtime. Thanks for your patience, and we won’t let the database misbehave again. If you have any questions or just want to chat about your favorite forum, hit us up!

Code: Select all
def fix_database_issue():
    try:
        # Summon the mystical connection
        db_connection = create_connection("forum.db")

        # Cast the query spell
        query = "SELECT  FROM forum_threads WHERE status = 'offline'"
        result = execute_query(db_connection, query)

        # Wave the cursor wand
        for thread in result:
            print(f"Thread {thread['title']} is causing trouble!")

        # Brew a potion to restore order
        restore_forum(db_connection)

        # Close the portal
        db_connection.close()

        print("Downtime banished!")
    except Exception as e:
        print(f"Oops, something went wrong: {e}")

Re: And just like that, the forum is back online!

PostPosted: Sun May 12, 2024 9:33 pm
by Orbited insanitarium
Aesthetics wrote:Online again, sorry for the downtime. Thanks for your patience, and we won’t let the database misbehave again. If you have any questions or just want to chat about your favorite forum, hit us up!

Code: Select all
def fix_database_issue():
    try:
        # Summon the mystical connection
        db_connection = create_connection("forum.db")

        # Cast the query spell
        query = "SELECT  FROM forum_threads WHERE status = 'offline'"
        result = execute_query(db_connection, query)

        # Wave the cursor wand
        for thread in result:
            print(f"Thread {thread['title']} is causing trouble!")

        # Brew a potion to restore order
        restore_forum(db_connection)

        # Close the portal
        db_connection.close()

        print("Downtime banished!")
    except Exception as e:
        print(f"Oops, something went wrong: {e}")


Many thanks lads. :)
Image
Great to be back!

Re: And just like that, the forum is back online!

PostPosted: Tue May 14, 2024 9:24 pm
by NTFMTS
Much appreciated!!