WordPress.org

Ready to get started?Download WordPress

Forums

Photo fatal error help for a beginner (6 posts)

  1. thehappyeater
    Member
    Posted 1 year ago #

    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.

  2. Andrew Bartel
    Member
    Posted 1 year ago #

    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!

  3. thehappyeater
    Member
    Posted 1 year ago #

    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!

  4. Andrew Bartel
    Member
    Posted 1 year ago #

    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.

  5. thehappyeater
    Member
    Posted 1 year ago #

    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.

  6. Andrew Bartel
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic