changing c5 directory
Permalink
In the past when I have moved a C5 installation to a different directory on a server, I have basically had three things I had to do to the install: 1)Change DIR_REL in site.php, 2)Change RewriteBase in .htaccess, 3)Run a custom script and replaces the dir name in content blocks. This worked fine when I did this in the past on C5.1 and C5.2.
Now, on to my first time doing this in C5.3. Everything worked okay, except for files/images uploaded using the new file manager that are displayed within a content block. Now, in the actual DB the file paths are displayed as {CCM:FID_X}, where X is the file ID.
The problem is that apparently when it renders the content block, it's replacing that with the OLD directory path. Any idea why this is happening and what I can do to get it to display the new directory path?
Now, on to my first time doing this in C5.3. Everything worked okay, except for files/images uploaded using the new file manager that are displayed within a content block. Now, in the actual DB the file paths are displayed as {CCM:FID_X}, where X is the file ID.
The problem is that apparently when it renders the content block, it's replacing that with the OLD directory path. Any idea why this is happening and what I can do to get it to display the new directory path?