I Rock
Well, Deb always tells me I do, if that counts.
I solved the Expression Engine relocation problem. As far as I can tell, completely. It was all about file locations and permissions.
To recap, we started by setting up EE in a folder off of AV called, surprisingly, ee. When all was setup in the modified dancing raisin theme, and the pMachine data was imported, we sought to move it to the root, so it would come up just by going to accidentalverbosity.com, no directories or subdomains.
That worked. Partly. It kept using some locations under ee for some stuff, including paths to posts, and the main page at AV didn’t show all the newly added categories, only the original three Deb created. One of the holdups on changing color schemes has been that we wanted to be sure it could be made to work right.
I found a couple of PHP files with improper permissions, but it seems the most important find was the cache location. In EE, under your control panel directory is one named cache. That has to be set to 777, which in FTP shows up as drwxrwxrwx. Full read, write and execute across the board. Under that is a db_cache directory. It also must be 777. Under it were some directories with GUID names. That is, randomly generated sets of characters designed to be unique. It all must be 777. Some of this existed in the new location, but not with correct permissions.
In addition to the db_cache, there were two other cache directories, both empty, in the old but not the new location. Also 777 permissions.
I copied those, set the cache and db_cache to the correct permissions, and copied everything in the db_cache to the new db_cache. Figured that way it can look at the old location and still see what it needs, but if it does look only at the new one, that too has everything.
Then I refreshed the page and… yay for categories! It seems to have worked, assuming there’s no residual oddity I have yet to uncover. If I really want to be sure, I can rename the old directory and see if it all works.
All this while feeling like getting in bed for some extra sleep. Go figure.
Next entry: One Year Ago
Previous entry: The law of unintended consequences, example #7,442,381

