Skip to main content

Bug: cpanel html editor not linking directory images big red "X".

Comments

14 comments

  • cPanelLauren
    Can you give me more precise steps to replicate this or a case ID if it's a known issue? I went to cPanel>>File Manager->public_html for my domain -> Selected an HTML File -> HTML Editor -> Clicked the "Image" button -> Upload Image -> Selected my Image and uploaded it and I'm not seeing any issue with the image I uploaded.
    0
  • jeffschips
    Hi and thanks for the quick response! Appreciate that. The case ID is CPANEL-31403. I did the exact same steps you have and I only get the red X. Of note, when working in this directory I can, for some reason, succesfully import images from a subdomain of the domain I'm working with but not from within the main domain. Very strange.
    0
  • cPanelLauren
    Hi @jeffschips There's actually a comment in the case about the hostname that is interesting. Uunfortunately your ticket is the only one that is added to this case right now - though it was just opened yesterday. One of the PO's noted that they were only able to reproduce this in the event the hostname of the server didn't resolve (most of our test environments don't actually have working hostnames/domains) - he noted that when they put the hostname in their local /etc/hosts/ file (
    0
  • jeffschips
    Wow that's interesting. So you are suggesting I put the domain name in my server's /etc/hosts file? And why in the first place wouldn't this TLD resolve anyway, I'm wondering.
    0
  • cPanelLauren
    I'm sorry, no I'm not suggesting that, I was just explaining the full situation. I was saying that internally (here) most of our hostnames don't resolve (at least on our test environments), in order to work around this we have to add our hostnames/domains to our local hosts file. The server the analyst was using and the server that the development team used to replicate your issue both had non-resolving hostnames. The product owner for the team employed the workaround of adding the hostname of his test environment to his own local hosts file and found that the image preview began to work. I checked your DNS for the hostname externally it looks great. What I was suggesting was that in light of that information, ensuring that locally DNS resolution is functioning normally.
    0
  • jeffschips
    Ah okay I see. Thanks for clearing that up. I'll check into that. Strange that, though, it works locally when the links to images references a directory *outside* the one with the images. . .
    0
  • cPanelLauren
    Ah okay I see. Thanks for clearing that up. I'll check into that. Strange that, though, it works locally when the links to images references a directory *outside* the one with the images. . .

    I agree fully! It doesn't make a lot of sense and actually I was curious about something - if you use the developers tools in chrome or firefox (or whichever browser) where does the URL point for the image? What URL are you using to access your cPanel UI?
    0
  • jeffschips
    Excellent idea using the developers too! I hadn't thought of that . Brilliant! I'll try it out and report back.
    0
  • jeffschips
    Dude! You're the dude! Using web developer has revealed the issue but frankly, I don't know how to resolve it. So, when loading an image web developer shows a 404 error with the following link, which obviously is wrong (the domain names have been changed but you will get the idea): Don't know why cpanel is pre-pending a mash-up with the following domains/link: domain1.com.cpanel-account-domain-name.com Maybe you have a clue but this is definitely the reason why this is occurring - wrong domain request.
    0
  • cPanelLauren
    Dude! You're the dude!

    :cool: lol
    Don't know why cpanel is pre-pending a mash-up with the following domains/link: domain1.com.cpanel-account-domain-name.com

    Does it actually look like this:
    0
  • clarkfilio
    hello, was there any solution to this issue? I'm having the exact same problem and GoDaddy customer service is having a hard time helping me
    0
  • cPRex Jurassic Moderator
    @clarkfilio - it seems the original issue was a problem with the server's hostname. Does the hostname on your server resolve properly in DNS?
    0
  • clarkfilio
    @clarkfilio - it seems the original issue was a problem with the server's hostname. Does the hostname on your server resolve properly in DNS?

    I'm out of my depth with that, I wouldn't know how to check if the hostname on my server resolves properly in DNS. Everything else is working fine from what I can tell, this is the only problem I'm experiencing, exactly as OP described.
    0
  • cPRex Jurassic Moderator
    @clarkfilio - it sounds like you only have cPanel access to the machine, and not root access to the entire server. If that's the case, you'll have to continue to work with GoDaddy to have them troubleshoot the issue, as you just wouldn't have the access necessary to do any work on your end.
    0

Please sign in to leave a comment.