Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
updated install path

 

 


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!


Donna
Staff / Moderator


Nov 25, 2009, 1:46 PM

Post #2 of 3 (2488 views)
Shortcut
Re: [tonyp] updated install path [In reply to] Can't Post

Hi Tony!

Are you sure you're using Article Manager? That looks like CMS Builder to me.

Doublecheck which program you're using -- if that is actually CMS Builder, you can post here:

http://www.interactivetools.com/forum/gforum.cgi?forum=35;

But generally if your paths change on a server running CMS Builder, you'll need to update the paths in your PHP files too. This can't be updated solely through the back end.

Donna

--
support@interactivetools.com


tonyp
New User

Dec 3, 2009, 2:16 PM

Post #3 of 3 (2323 views)
Shortcut
Re: [Donna] updated install path [In reply to] Can't Post

A belated "thanks". I think you are right about it being CMS Builder. We had tried both at one point. I'm just the sys admin so I don't know my way around these programs. In any case I think we're all set, I just need to check back in a while for any more of those require_once lines. I also found a bunch of references to the unwanted path in the cms_uploads database table. I'll post in the other forum if any more problems come up.