IMAGES WON’T SHOW AFTER MIGRATING TO A NEW SERVER - THE FIX IS IN - Aug 4th, 2010


If you’ve tried to move your web site from one server to another and even after you’ve carefully updated all the
paths checked your settings.dat file you’re still struggled with existing images not appearing as they should, well
struggle no more.

Although as Dave Edis from Interactive Tools acknowledges (as of version 2.03) that the issue centers on the fact that
the full image paths are stored in the cms_uploads table instead of relative ones, there’s still a pretty easy fix.

Instead of manually updating values in the filePath, urlPath, thumbFilePath, thumbUrlPath columns in the cms_uploads
table, Dave suggests that “...the quickest workaround for now is as follows:

- Click "Backup" under: Admin > General
- Download the new .sql backup file from /data/backups
- Create a backup copy of this file.
- Open the original in your favorite text or file editor
- Do a search and replace for "oldpath" to "newpath"
- Upload it and click restore

Basically: Backup -> Edit .sql file -> Restore

That's also a handy way to do other search and replaces if needed.”



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service