WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 1 error remains in the includes after migration (7 posts)

  1. jknetdesign
    Member
    Posted 2 years ago #

    http://demo.princessmontereywhalewatching.com/

    I built a child theme of twentyeleven on MAMP.
    I migrated to a small hosting company (not cPanel).
    In the options table in the database I changed siteurl and home to http://demo.princessmontereywhalewatching.com.
    It's all there but I get an error in the Media section of the Dashboard.
    Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/benjishake/domains/demo.princessmontereywhalewatching.com/public_html/wp-content/uploads/2011/01/partners-500x83.jpg' for writing: Permission denied in /home/benjishake/domains/demo.princessmontereywhalewatching.com/public_html/wp-includes/media.php on line 459
    Is this a permissions issue?
    I only see this error when I attempt to edit an image.

  2. christopherross
    Member
    Posted 2 years ago #

    That error is a read/write error, it's simply telling you that the graphic file isn't writable.

    If you open your site in an FTP client, change the image permissions to 755 and you should be OK.

  3. jknetdesign
    Member
    Posted 2 years ago #

    What folders exactly? I set wp-content and uploads to 777.I also tried this on the 2012 folder (where my images are) and it does not accept 777. It stays at 755.

  4. yokekit
    Member
    Posted 2 years ago #

    http://183.81.164.26/~kitstudio/v1

    I have the same error after migration for my website. Error still there after I did changes on the image permissions to 755.

    What to do?

  5. yokekit
    Member
    Posted 2 years ago #

  6. jknetdesign
    Member
    Posted 2 years ago #

    GOT IT!

    The permission error is being generated because the server can't write to the file...because it's not where it thinks it is.

    It would have helped if I could copy and paste your text from your error page, but go into your ftp and expand the uploads folder > 2012 > 03, right click, set permissions to 777, execute all, ok (Dreamweaver). Do this for every image in each of these monthly directories. It probably currently says 644. A better way is to execute a mass file permission via shell access, but I jut did it this way since I have a manageable amount of images.

  7. yokekit
    Member
    Posted 2 years ago #

    THANK YOU VERY MUCH!! I got it now.
    I did set the file permissions to 777 and now my images can be viewed.

Topic Closed

This topic has been closed to new replies.

About this Topic