Troubleshooting
This is an issue with the way Wordpress handles and rewrites URLs and 'permalinks' as it may be currently configured to try to rewrite the /yourSubFolder/ part as a Wordpress post/page - just as it does with say a /portfolio/ section for example.
It can easily be rectified but you will have to add one line to a few simple text files.
In this example, we will assume that Wordpress is installed at yourdomain.com, and that your newly created subfolder for ACM is named yourSubFolder (i.e. yourdomain.com/yourSubFolder). Wherever you see yourdomain.com or yourSubFolder in any code that you are asked to add below, change these for your actual domain and/or sub folder names.
The first is the .htaccess file that can be found in the root of your subfolder where you have copied the ACM files/folder to. Open it up in any text editor and it should contain these lines:
RewriteEngine on RewriteRule ^$ app/webroot/ [L]
Add the following line directly after the line that reads 'RewriteEngine on':
RewriteBase /yourSubFolder/
It should now look like this:
RewriteEngine on
RewriteBase /yourSubFolder/
RewriteRule ^$ app/webroot/ [L]
Don't forget, where you see yourSubFolder, you need to change that for the name of your actual subfolder. Save it and reupload it back to the same location - overwriting the original.
That's one file done and there are two others that are done in the same way.
In the same directory as that file that you just edited, there is a folder named 'app'. Open that up and the next file you need to edit is the .htaccess file that is found in here. Open it up in your text editor again and in the same way as you did before, add the following line directly after the line that reads 'RewriteEngine on':
RewriteBase /yourSubFolder/app/
It should now look like this:
RewriteEngine on
RewriteBase /yourSubFolder/app/
RewriteRule ^$ webroot/ [L]
Change the yourSubFolder text for your own actual subfolder name, save it and reupload it to the 'app' folder where it came from.
Finally, in the same directory as that file that you just edited, there is a folder named 'webroot'. Open that up and the next file you need to edit is the .htaccess file that is found in here (you should be spotting a pattern here by now). Open it up in your text editor again and in the same way as you did before, add the following line directly after the line that reads 'RewriteEngine on':
RewriteBase /yourSubFolder/app/webroot
It should now look like this:
RewriteEngine On
RewriteBase /yourSubFolder/app/webroot
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]
Change the yourSubFolder text for your own actual subfolder name, save it and reupload it to the 'webroot' folder where it came from.
If all done correctly, that should have hopefully solved the problem with the Wordpress conflict. Go to yourdomain.com/yourSubFolder/setup and you should hopefully see the ACM setup screen.If the version of PHP on your server is 5.4 or above, then you may see this error. This is because starting from 5.4, PHP requires you to set your local time zone. It's a simple fix.
In any text editor, open up:
app/Config/core.php
On around Line 228 you'll see the following:
/** * Uncomment this line and correct your server timezone to fix * any date & time related errors. */ //date_default_timezone_set('UTC');
You need to 'uncomment' the last line by removing the two forward slashes (//) from the beginning. By default, you can see that it is setting the time zone as UTC. At this point, you will probabbly want to set your correct time zone. A list of available time zones can be found here:
For example, if you were in London, The the above code should now look like:
/**
* Uncomment this line and correct your server timezone to fix
* any date & time related errors.
*/
date_default_timezone_set('Europe/London');
Tip: If changing the time zone, be careful to leave the single quotes (' ') around the time zone
Save and reupload the file. The errors should be gone.