• Resolved comiendorico

    (@comiendorico)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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/

    Thread Starter comiendorico

    (@comiendorico)

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Message’ is closed to new replies.