WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error Message (3 posts)

  1. comiendorico
    Member
    Posted 1 year ago #

    I'm trying to place a widget called "rokgallery" in most of my pages, but when I'm trying to place the first gallery, I get the following message --

    Fatal error: Allowed memory size of 171966464 bytes exhausted (tried to allocate 24149973 bytes) in /home/content/03/6698603/html/comiendorico/wp-includes/wp-db.php on line 853

    How can I fix it, where can I find the following file /home/content/03/6698603/html/comiendorico/wp-includes/wp-db.php

    Thank you

  2. vtxyzzy
    Member
    Posted 1 year ago #

    First you should examine the sizes of the images you are trying to load. Most of the time it is not useful to have images much larger than 1000px x 800px, and not larger than about 200K. If your images exceed these limits you should probably resize them.

    If your images have already been optimized for the web, then you may need to cut down on the number shown in the gallery.

    If neither of these things work, here are some ways that I tried to increase the memory size, including the one that worked for me:
    http://wordpress.mcdspot.com/2012/03/20/ways-to-increase-max-file-upload-size-and-execution-time/

  3. comiendorico
    Member
    Posted 1 year ago #

    Thank you, I re-sized the images as you have suggested and the problem was solved.

Topic Closed

This topic has been closed to new replies.

About this Topic