• Resolved eclerkin

    (@eclerkin)


    I recently migrated my WordPress site from my development sub-domain test.slofostercare.com to production slofostercare.com. When I navigate to References/Documents/Documents to view PDF’s in FileAway, its still referencing the development site URL for the up/down arrows and issuing the following error in Chrome Developer:

    Failed to load resource: net::ERR_INVALID_URL
    (index):1 Access to Font at 'http://test.slofostercare.com/wp-content/plugins/file-away/lib/css/fonts/footable.woff' from origin 'http://www.slofostercare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.slofostercare.com' is therefore not allowed access.
    (index):1 Access to Font at 'http://test.slofostercare.com/wp-content/plugins/file-away/lib/css/fonts/footable.ttf' from origin 'http://www.slofostercare.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.slofostercare.com' is therefore not allowed access.
    

    I un-installed FileAway but preserved settings, re-installed FileAway but it still issues the error.

    Any suggestions on where to locate this offending URL so I can remove “test.”?

    • This topic was modified 8 years, 8 months ago by eclerkin.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author thomstark

    (@thomstark)

    Go to File Away settings and hit Save. Your Base URL dropdown has new options after the migration but has to be manually saved.

    Thread Starter eclerkin

    (@eclerkin)

    Yes, tried that but nothing changed even after switching to Site Root Directory and clearing cache and clicking Save. What’s weird is that Chrome and Safari on my iPhone renders the images (arrow up/arrow down) on the page correctly.

    Thread Starter eclerkin

    (@eclerkin)

    Not sure this helps but this error prefaces the prior error:
    [Moderated: Giant paste removed. Please use http://gist.github.com or use Pastebin and copy your code there. Then return here and paste the link to that here. ]

    • This reply was modified 8 years, 8 months ago by t-p.
    • This reply was modified 8 years, 8 months ago by t-p.
    Plugin Author thomstark

    (@thomstark)

    Sounds like a cache issue.

    Thread Starter eclerkin

    (@eclerkin)

    It’s odd – only FileAway is having problems with the migrated site URL. Cache is been cleared multiple times including browser history. The up/down arrows in the table header are rendered properly when logged in as Admin and viewing the page but once I log out and view the site, it tries to render images from test.slofostercare.com (error visible in Google Developer and test.slofostercare.com shows up in View Source on page. I looked at all of the table Options and they point to slofostercare.com. Confused.

    Thread Starter eclerkin

    (@eclerkin)

    footable.woff and footable.ttf both fail attempting to use test.slofostercare.com. Ahead of those 2 is a cached file it cannot find in Uploads folder FVM/Cache starts with error data:application/font-woff;charset=utf-8;base64.

    Thread Starter eclerkin

    (@eclerkin)

    You were right about Cache and I figured it out. The css/js minification plugin was using the development Cache files and were transferred over during the migration. All I had to do was purge all of the CSS/JS files in that plugin and everything is back to normal.

    Plugin Author thomstark

    (@thomstark)

    Glad to hear you figured it out!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Migration problem with image URL’ is closed to new replies.