• I can’t load images to media – it says can’t insert into database.
    Now The new post page is missing the text/content area
    I beleive it’s to do with max memory but I’ve tried to increase it in wpconfig and it didn’t work
    my host is no help at all [siteground]
    curently the site is up but no content can be added

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What is the exact text of the error?

    Try repairing your database: https://www.siteground.com/tutorials/phpmyadmin/repair-optimize-database/

    Thread Starter 120filter

    (@120filter)

    OK I take that back about siteground:

    “It appears that your database has been corrupted thus you are not able to insert a post into it.

    I have tried to repair it but to no avail so I created a new database which I have set your application to use. Then I imported the content of the old database to the new one.”

    How does the db become corrupted?

    I think I also increased the memory in wp-config.php, by adding this line:
    define(‘WP_MEMORY_LIMIT’, ‘768M’);

    768 being what siteground’s help page said?

    Thread Starter 120filter

    (@120filter)

    Steve:
    Thanks
    I should have come here first
    This looks like what siteground must have done
    I was pannicking
    Big time

    I have put your link in bookmarks and will look at optimizing the db.
    My site seems to be growing quick with large images being added and multiple plugins, maybe that’s what corrupted the db

    • This reply was modified 5 years, 2 months ago by 120filter.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Databases get corrupted if the server crashes or is shut down improperly. Bad things happen, so backup frequently and automatically.

    Needing 768M is kind of odd… that’s a LOT of memory, and was probably unnecessary.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘memory – i think’ is closed to new replies.