ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Files referencing wrong URL

March 16, 2009 11:34pm

Subscribe [1]
  • #1 / Mar 16, 2009 11:34pm

    Ben Higham

    5 posts

    I’m having trouble with my EE installation since I migrated from a development environment to production. Everything seems to be working fine except when I try to link to files (images, flash files, PDFs) in some sections of my site it is referencing the development URL.

    For example, At http://abckid.com.au/colouring-in/ there should be thumbnails linking to PDFs but all the URLs are wrong, they are set to abckid.dev instead of abckid.com.au. However, in this section (http://abckid.com.au/activities/follow-the-leader/) everything works just fine. I also noticed if you add another segment to the URL, like http://abckid.com.au/colouring-in/test/ the links are all working.

    I am using Mark Huot’s File extension (http://docs.markhuot.com/ee/extensions/file) to manage the files. I have checked the database, my templates, config.php and path.php for references to abckid.dev, nothing shows up.

    I’m rather confused and would appreciate any help the kind people of the EE forum could provide. Thank you.

  • #2 / Mar 17, 2009 12:33am

    Greg Aker

    6022 posts

    Greetings Ben and welcome to the forums! 

    After you moved to the new server did you clear the cache?  I would ftp in and delete everything in the /system/cache folder except for the index.html file.  Also confirm that the permissions are such that the directory is writable by the server.

    -greg

  • #3 / Mar 17, 2009 12:50am

    Ben Higham

    5 posts

    It worked! Thank you so much Greg, you don’t know how much frustration you have saved me. Very impressed with every aspect of Expression Engine so far, big thumbs up on the extensive documentation and efficient support.

  • #4 / Mar 17, 2009 12:53am

    Greg Aker

    6022 posts

    We have all been there.  😉  I’m glad that did it for you.  Please don’t hesitate to start a new thread if any problems or questions come up! 

    Regards,

    -greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases