Announcement

Collapse
No announcement yet.

Error Unknown host for my old pictures

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error Unknown host for my old pictures

    When i use some SEO tools to analyze my forum seo problems i faced with bellow error for my old pictures.
    PHP Code:
    href="http://filedata/fetch?id=27544&d=1590425646"
    href="http://filedata/fetch?id=21903&d=1522181669"
    href="http://filedata/fetch?id=20618&d=1522330139"
    href="http://filedata/fetch?id=22276&d=1528550844" 



    I checked source code and i found bellow facts :

    for my old picture i have 2 href url that the first one start with http://filedata.... (like above urls that i put in php tag) and its wrong but the second one is corect (without http) like
    href="filedata/fetch?id=27555&d=1590427517" that when i click on it, it will redirect to https://mysite.com/filedata/fetch?id...p;d=1590427517. acctually forum used second href url for displaying picture but when i used seo tools, this tools show error of first href.
    PHP Code:
    <a href="http://filedata/fetch?id=27555&amp;d=1590427517" target="_blank"><div class="img_align_center_wrapper"><a href="filedata/fetch?id=27555&amp;d=1590427517" class="bbcode-attachment"><img alt="structures zabbix 5.0" title="zabbix-5-Structure-1.png" 


    This problem is just for old pictures and the new ones don't have any problem and their both href urls are the same.

  • #2
    The http:// should not be there. filedate is a valid URL within vBulletin 5 but it shouldn't have the http://. this is not default behavior and is most likely created through some third-party addon or .htaccess modification.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment


    • #3
      I wonder my self that what's the reason! I don't have any addon or .htaccess modification. please check my below screen shot :

      Click image for larger version

Name:	filedata.png
Views:	64
Size:	224.0 KB
ID:	4459354


      I thougth that old topics pictures that i migrate from VB4 to VB5 have this problem but i found that pictures from new topics in VB5 (almost for 1 year ago) have this problem too.


      But my new posts that are in last and stable and curent version of vBulletin (VB 5.6.4) don't have such problem.

      Do you have any temperory solution that i can do it by my self? or is it neaded to anonce this problem to support team to work on it?

      Comment


      • #4
        By posting it here you have already announced it to the support team. The people that do support tickets and the people that post in the forums are the exact same people. Since you do not have a support contract, submitting a ticket will not help you in anyway.

        Screenshots will never allow us to determine what an underlying code issue is. You're showing me the results after the fact, not anything that would lead to understanding what the cause might be. I would have to see the original raw text code of the post. Those a tags shouldn't be necessary in 5.6.4 PL1 though. clicking on the image should always open it in the lightbox. If you're using these attachments outside of a post, the code could simply be outdated.

        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment


        • #5
          thank for your support. topics are ok and pictures load and display successfully and there is no problem in displaying such pictures in posts. but when i check source code of those old topics i can see some wrong structure for picture url. I put 2 url sample, please check them out :


          Old topic url with wrong structure (wrong href data)



          New topic url without any problem in source code

          Comment


          • #6
            Neither of those links help me solve your problem....

            What you need to do is go to a page with the problem and show me the raw source code of the post or the raw source code of the Static HTML Module on the page.

            Or as I suggested, when you see the problem edit the content and remove the links around the images.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment


            • #7
              I don't know i could undrestan what you mean corectly. but i think you want me to edit post and click on source buttom and send you source code with problem :

              PHP Code:
                [URL=http://filedata/fetch?id=27555&d=1590427517][ATTACH=JSON]{"alt":"\u0633\u0627\u062e\u062a\u0627\u0631 zabbix 5.0","data-align":"center","data-attachmentid":"27555","data-linktype":"2","data-size":"small","title":"zabbix-5-Structure-1.png"}[/ATTACH][/URL] 

              Click image for larger version

Name:	Selection_013.png
Views:	46
Size:	112.8 KB
ID:	4459386

              Comment


              • #8
                Could have been a bug in the URL component. It does default to http:// when you click on the link icon in the menu. Since it doesn't happen with new content then the bug has probably been fixed. If the content is important and remove the http:// from each link or remove the URL link completely.
                Translations provided by Google.

                Wayne Luke
                The Rabid Badger - a vBulletin Cloud demonstration site.
                vBulletin 5 API

                Comment


                • #9
                  Thanks for your support. I found about 2000 topics with this problem, is very hard to corect them manualy and one by one.

                  is there any solution to edite all of them from config?

                  Comment


                  • #10
                    No. there is no solution because there is no way knowing how this happened in the first place. You don't need to edit all of them manually. Just those that are important now. Older topics probably aren't important anymore.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X