And just like that, the forum is back online!

Random chat: movies, books, games, technology, etcetera.

Moderators: Mexicola, 2020k, Fredd-E, Aesthetics

User avatar
Site Admin
Status: Offline
Posts: 5329
Joined: 25 Nov 2004
Location: Lowlands
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}")
Life is a Frequency

User avatar
Dayvan Cowboy
Status: Offline
Posts: 2049
Joined: 12 Aug 2021
Location: North Yorkshire, UK
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!
Image


Return to The Playground

Who is online

Users browsing this forum: EHL and 13 guests