
tonyp
New User
Nov 25, 2009, 1:13 PM
Post #1 of 3
(2491 views)
Shortcut
|
|
updated install path
|
Can't Post
|
|
We recently had to change our disk layout and move our Article Manager to a different directory. There is also a symlink pointing to the AM directory from the filesystem root. Many pages stopped working after the move, and I discovered the physical path and not the link was embedded in many files. For example (in a header.php file): require_once "/raid1-2/live/artman2/cmsAdmin/lib/viewer_functions.php"; I changed the physical path to the symlink in every file that contained it, but there are several things that are still problematic. First, I discovered that there are many references to the old path in the mysql database. Second, new files are being created with the new physical path, not the symlink path I had wanted. I noticed that the "Program Directory" setting in CMS Admin points to the new physical path as well, not the symlinked path. So maybe that's the source, but it's a non-editable field. I don't recall entering the physical path anywhere, it seems to have figured that out by itself. I hope that doesn't mean I can't use a symlink to ease any future moves. What else do I need to do to clean up this mess? Is there a better way to do this in the future? Thanks & Happy Thanksgiving!
|