• I’m running wp 3.0 on a custom theme at https://www.forestmedicine.net/wp and I am having issues with an internal server error when I add images to pages. I’m using the <img> tag in the html editor to point to images in the images folder of the theme and when I add an image now I get an internal server error. I have already added images successfully on several pages with no problem but now I am having this problem consistently.
    I’ve already tried disabling all plugins and changing to the default theme with no luck. I’ve also reinstalled wordpress, same issue. This problem always begins with the same images but after it starts I can’t add any images. Checked permissions too and they are correct (755 for folders and 644 for files).
    Can anyone help?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator t-p

    (@t-p)

    you have some validation errors, that could be the problem.

    https://validator.w3.org/check?uri=http%3A%2F%2Fwww.forestmedicine.net%2Fwp&charset=%28detect+automatically%29&doctype=Inline&group=0

    after correcting these errors, you may also want to check your style.css for validation.

    Thread Starter bodhidude

    (@bodhidude)

    Hey thanks for the feedback and I did correct the validation errors and check my css file which turned out fine, however still getting an internal server error ?? any other thoughts anyone?

    Moderator James Huff

    (@macmanx)

    Internal server errors (error 500) are often caused by plugin or theme function conflicts, so if you have access to your admin panel, try deactivating all plugins. If you don’t have access to your admin panel, try manually resetting your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to rule-out a theme-specific issue. If you don’t have access to your admin panel, access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the Default theme (WordPress 1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out a theme-specific issue.

    If that does not resolve the issue, it’s possible that a .htaccess rule could be the source of the problem. To check for this, access your server via FTP or SFTP and rename the .htaccess file. If you can’t find a .htaccess file, make sure that you have set your FTP or SFTP client to view invisible files.

    If you weren’t able to resolve the issue by either resetting your plugins and theme or renaming your .htaccess file, we may be able to help, but we’ll need a more detailed error message. Internal server errors are usually described in more detail in the server error log. If you have access to your server error log, generate the error again, note the date and time, then immediately check your server error log for any errors that occurred during that time period. If you don’t have access to your server error log, ask your hosting provider to look for you.

    Thread Starter bodhidude

    (@bodhidude)

    Hey there
    Thanks for the detailed reply. I have tried switching to the default theme and disabling plugins as well as reinstalling wordpress with a fresh database and adding content with no plugins or other themes installed. It seems that once I add a few images I begin getting this error and then it continues when any images are added whether with html or the wp add image ultility. I’ve deleted and recreated my .htaccess file as well as checking that file permissions are correct. When I check the error logs after generating this error this is all I see:
    [Sat Sep 25 16:43:32 2010] [error] [client 68.178.106.115] File does not exist: /home/forestme/public_html/500.shtml, referer: https://forestmedicine.net/wp/wp-admin/post.php?post=7&action=edit

    Moderator t-p

    (@t-p)

    Thread Starter bodhidude

    (@bodhidude)

    Hey thanks unfortunately that didn’t do it ??

    Moderator James Huff

    (@macmanx)

    [Sat Sep 25 16:43:32 2010] [error] [client 68.178.106.115] File does not exist: /home/forestme/public_html/500.shtml, referer: https://forestmedicine.net/wp/wp-admin/post.php?post=7&action=edit

    That error only stats that a custom 500 error page couldn’t be found. Are there any other errors around that one?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Internal Server Error when adding images to pages/posts’ is closed to new replies.