Home Forums ART WordPress Theme Images are broken

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #30931
    jeh
    Participant
    Purchased
    Supported

    Dear SeaTheme,

    I have a big problem. All the images are broken and the media library is full of empty frames. Also on the frontend nothing is showing.

    When you click on an image linke you get this message:

    Forbidden
    You don’t have permission to access this resource.Server unable to read htaccess file, denying access to be safe

    I tried all the usual methods, disabling the plugins, changing the theme. I went through FTP and checked the file permissions and disabled the htaccess file but it still doesnt work…

    I talked to my hosting provider and they said they couldnt help because its WordPress problem

    Do you have any idea on how to fix this issue and solve the problem?

    Here is a link to the web site:

    https://youmightalsolike.art/

    All help is much appreciated

    Thanks!
    JEH

    #30933
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi there,

    Welcome to SeaTheme forum.

    I think it might be a permission issue of a file or directory. Try setting the /wp-content/uploads/ directory to 755 and all media files to 644; This post(click) might be helpful to you. Also, please restore the htaccess at the same time.


    Regards!
    SeaTheme – FAQsWordPress CustomizationFacebook

    #30934
    jeh
    Participant
    Purchased
    Supported

    Dear SeaTheme,

    Thanks I changed the file permissions but it did nothing. I then deleted the .htaccess file and made a new one and put this code in:

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

    # END WordPress

    But nothing happened.

    One thing that was weird is that I couldnt make a new .htaccess file by updating the permalinks in the backend so I had to do it by hand.

    I then opened the old .htaccess file I had deleted and this code was in it:

    # Block the include-only files.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^wp-admin/includes/ – [F,L]
    RewriteRule !^wp-includes/ – [S=3]
    RewriteRule ^wp-includes/[^/]+\.php$ – [F,L]
    RewriteRule ^wp-includes/js/tinymce/langs/.+\.php – [F,L]
    RewriteRule ^wp-includes/theme-compat/ – [F,L]
    </IfModule>
    <Files wp-config.php>
    order allow,deny
    deny from all
    </Files>

    # BEGIN WordPress
    # Die Anweisungen (Zeilen) zwischen „BEGIN WordPress“ und „END WordPress“ sind
    # dynamisch generiert und sollten nur über WordPress-Filter geändert werden.
    # Alle Änderungen an den Anweisungen zwischen diesen Markierungen werden überschrieben.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    I dont know if this tells you anything but all the help I can get on this very much appreciated.

    Do you have any idea about what could be the problem?

    Im happy to give you access to the wordpress or the FTP if you need it.

    Thank you so much!
    JEH

    #30935
    SeaTheme
    Keymaster
    Purchased
    Expired
    This reply has been marked as private.
    #30937
    jeh
    Participant
    Purchased
    Supported
    This reply has been marked as private.
    #30938
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi,
    Thank you for providing the information.
    1. I can log in to WordPress. You mentioned that the old pictures appear, but I found that the pictures do not appear. Could you please confirm it? I can upload a new image, it also does not show.
    2. I cannot log in to FTP. You did not provide the Port. I cannot log in using the default port number 22. It is also possible that some Hosts have restrictions on regions or IP for login. Please confirm.


    Regards!
    SeaTheme – FAQsWordPress CustomizationFacebook

    #30941
    jeh
    Participant
    Purchased
    Supported
    This reply has been marked as private.
    #30942
    SeaTheme
    Keymaster
    Purchased
    Expired

    Hi,Thanks

    I can log in to FTP now. I have made many attempts, but all were ineffective. You mentioned that the cache can be cleared. Is it cleared from the host cpanel? Please clear it again. I found that all the files in the uploads directory are prohibited from access (the files in the themes directory are allowed to be accessed).

    There is another possibility that is to confirm the file ownership, and this needs to be fixed through the command line. Make sure the ownership of the uploads directory and its subdirectories is correct. Usually, the owner should be the user running the web server (such as www-data or apache).
    chown -R www-data:www-data wp-content/uploads

    If it still doesn’t work, please try to look for the error log information to obtain more clues about why the access was denied. If Apache is used, its error log file is usually located at /var/log/apache2/error.log or /var/log/httpd/error_log.

    Regards! SeaTheme – FAQsWordPress CustomizationFacebook

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!