• Hi,
    I am trying to start a blog/website. I have installed fantastico with my host provider, and written a couple of blogs. When I try to upload photos, about half the time I get the following error message:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) in/home/thth3508/public_html/wp-includes/media.php on line 258

    I received the error message with the very first photo I tried to upload, so it cannot be a space issue.

    I tried compressing the photo, that worked some of the time.
    With one photo, I got it down to 258KB and it still won’t load. I also can’t tell what size I need to compress it to, to get it to load, and sometimes through trial and error got one to load that doesn’t have high enough resolution to maintain the image quality.

    I am a complete wordpress beginner, so would really appreciate some help in the most basic laymans terms possible! (eg. I have seen some explanations about changing code in php or something. I would need instructions on how to get to the place I’m meant to alter the code as I do not know my way around cpanel, fantastico or wordpress)

    Thanks for your help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi happy, without trying to get technical, the memory issue is not due (mostly) to the size of your file, but rather to the processing power the file accessed by the server requested

    Please refer to this article Increasing Memory. Also, please make backups before you edit core files!

    Thread Starter thehappyeater

    (@thehappyeater)

    thanks Andrew. I have a couple of very basic questions.
    How do I get to wp-config.php? I’m guessing I gon’t get to it through the front end dashboard where I write the blog.

    Also (yep iknow this is dumb) how do you back up? Do you just save copies of files into word or something, or is there some special way to back up when it’s on wordpress so you have less work to do to get it all back up if it fails?

    Thanks for your help!

    Happy, are you familiar with FTP? That is the most direct method accessing files on your site. If you don’t have an ftp program, I personally use FileZilla.

    For a backup plugin, I recommend Back WP Up. I find it easiest to connect it with a Dropbox account which is very cheap.

    Thread Starter thehappyeater

    (@thehappyeater)

    ok, getting closer! ??
    I don’t know FTP.
    I have hosting through a basic cpanel package, would that give me access to FTP?

    And I will have a look at the backup thing, thanks a lot.

    Andrew Bartel

    (@andrew-bartel)

    Yep, the username and password you log into cpanel with should work as an ftp account, or you can set up additional accounts under (you guessed it) FTP Accounts in cpanel. Your site’s ip should work as host.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Photo fatal error help for a beginner’ is closed to new replies.