Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Blocked access to images and css, js scripts

Discussion in 'General Discussion' started by Matic, Jul 3, 2018.

  1. Matic

    Matic Registered

    Joined:
    Jul 3, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovenia
    cPanel Access Level:
    Root Administrator
    Hi cpanel team,

    we migrated sites from one VPS to another both using cPanel / WHM.

    Now we are having issues with some more frequent used website (- Removed -). Problem is when you open the site, works fine, but then after some clicks site starts to prevent loading external scripts, css, images, usually starting with fonts... it looks like loads and loads but dont show anything.

    If i open external link of CSS file (or image, js...) it shows 404 page, but i know file is there. So then I go to incognito mode (Chrome) and on the same link there is CSS file.

    What could that be?

    ps: also we have problem with firewall blocking users uploading contents via CMS (WP).. so I need constantly delisting them. We are agency so couple of different computers is accessing the same site on same external IP address.

    Thank you for your help.
     
    #1 Matic, Jul 3, 2018
    Last edited by a moderator: Jul 3, 2018
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,352
    Likes Received:
    402
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Assuming you're using ConfigServer Firewall, there should be a note to the right of the blocked IP in the CSF log stating the reason the IP got blocked. That should give you some sort of clue to go on.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Matic

    Matic Registered

    Joined:
    Jul 3, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Slovenia
    cPanel Access Level:
    Root Administrator
    Yes, thanks. That resolves PS section of my question. But not loading images issue. Can you maybe suggest something about that also?

    thank you very much!
     
  4. cPanelLauren

    cPanelLauren Forums Analyst
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    2,696
    Likes Received:
    183
    Trophy Points:
    143
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @Matic

    Have you checked the php error logs? The error_log should be present in the root directory of the domain you're experiencing the issue with and may shed some light on why the images are not loading. If you're unsure you can reply here with any related output, but remove any identifying information.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice