Images not loading, since transfer to web host.

Discussion in 'Free Hosting' started by bostonro, Aug 20, 2016.

  1. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Unfortunately I do not have it on the previous host no, I have it saved locally and it all loads fine...

    NOTE: It SEEMS to load fine on mobile devices, but that may not be true as I haven't tested it.
     
  2. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    I guess that is something.
    Can you try going to the networking tab in inspect element, refresh, sort it by types (by clicking on the 'type' column) and then show the part with all the requests named 'script'? Showing the request count (as seen in the bottom left corner of my screenshot) would be useful too. Also all done on the local version.
    [​IMG]
     
  3. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Oh sorry nevermind, It did used to work although i've changed all of the links in the local project to the FTP ones, to then upload through filezilla... So the images and such are no longer loading locally... Never the less, this is what i see...
     

    Attached Files:

  4. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    I noticed that the news page does not have a problem with showing the images and that it requests more JavaScript files.
    [​IMG]
    Side note: there is a missing closing bracket for the Google Analytics script directly on page.
     
  5. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Thankyou for pointing that out, so do you have any idea as to what could be causing the issue? And how i can fix it.
     
  6. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    Well, you might need to request the rest of the files in that screenshot that are not requested already on the main page in order for it to work.
    Try including these:
    HTML:
    <script type='text/javascript' src='admin/wp-content/themes/boston-rowing/js/jquery.assets5152.js?ver=1.0'></script>
    <script type='text/javascript' src='admin/wp-content/themes/boston-rowing/js/jquery.custom5152.js?ver=1.0'></script>
     
  7. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Sorry so how do I go about doing this?
     
  8. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    It looks like you are using WordPress..
    You could try editing the index.html file in / (the document root, in 'public_html/' and add those lines in after the jQuery (migrate) one.

    I would do a backup just in case if you have not already.

    There's this too, if you want to try it out first: https://codex.wordpress.org/Editing_Files
     
  9. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    I believe i've done that edit correctly.
     
  10. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    The tags would go into index.html, not the migrate JS file.
    [​IMG]
    After the last line shown is where the tags should be placed
     
  11. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Oh my goodness, I do believe for that to have worked! images are now showing on my end, thank you very very much! I really appreciate it, without trying to be a pain their is one final question I have with regards to using "href" when you click on one of the pages such contact us, if you then try and navigate to a different page it keeps the current url and just adds "learn-to-row-members-area" (for example) to the end of the URL, rendering the URL address incorrect.
     
  12. caftpx10

    caftpx10 Well-Known Member

    Messages:
    1,492
    Likes Received:
    106
    Trophy Points:
    63
    In those href attributes having the issue, add '/' to the beginning. I would also do the same for the source (src) for the logo (so that it does not use '..' in the beginning).
    Also, you might want to remove the tags from the migration file as they are causing a syntax error (as seen in the console).
     
    Last edited: Aug 28, 2016
  13. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6

    Thankyou for your help, perfect i'll do just that! Once again thanks so much! :D
     
  14. jensen

    jensen Active Member

    Messages:
    1,161
    Likes Received:
    20
    Trophy Points:
    38
    As of this posting, the website looks great. No errors. Good job bostonro
     
  15. bostonro

    bostonro Member

    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Thankyou @jensen it means alot - It's taken ages, still some more features to add in such as a members login (somehow, still dont know how yet) and a dedicated gallery page.
     

Share This Page