Hi grounded. It’s late, so let me give you some thoughts you can read offline, to go with those of Travis, who answered you and who wrote much of Structure himself.
- as Travis suggested, clearing the cache, all parts of it, is something that you _have_ to be able to do—it’s going to clear itself over time anyway in normal operation. And clearing it should cause absolutely no change in your EE site with or without Structure, except somewhat slower operation until the first few accesses have occurred and the cache is built up again.
- I read the Structure forum you referenced, and found your note of earlier troubles while you were still trying to run Pages and Structure together. Indeed you apparently had some corrupted data. It’s possible that’s what bit you yesterday also.
- Travis is recommending upgrading, but I would go slowly here—it may be best to stay with what you have.
To give a little reasoning, EE is known by everyone to be in a transition recently, and the version you are running may be more stable than either the 2.1.3 current release, which has known problems, or the 2.1.4beta which fixes some of the problems so far but is unfinished. Also, to be candid, I have heard people having trouble with Structure lately as well, and I see in their forum that they are doing quick fixes for people to get rid of errors with 2.1.3. I don’t think Structure is released for 2.1.4beta EE at all.
If Structure was working for you other than this cache-cleared issue, I think I might stick with your present release while you are working out current problems, unless it becomes very clear that you need to upgrade.
- grounded, the one thing I think you really need to do is to have a staging site—a completely separate EE/Structure install that you work on and test until it is ready, for current problems, and for future development. You keep this separate from the working server which people are using daily.
It’s professional, and it is the only way to safely work with complex software systems like this—especially when you have a large user community who wants to depend on it.
Once you have a releasable result due to your comfort on the staging site, you make a careful transfer and reconfiguration to the live server, during off hours. Rinse and repeat as you are developing the site. You’ll learn a few things getting this down to practices, but then it will be very easy to make the tranfers—many of us do it all the time.
- It’s on a staging site only that I am going to propose you work forward now, so that your live site isn’t disturbed. Clearly you have some issues with that ‘Listing’ construct which is supposed to deliver the personnel lists, etc.. As Travis says, it should be fault-free. Given the state you ended up with where Pages and Structure had been installed, according to your Structure support forum conversation, it does seem quite possible you have something awry with data in your database.
Rather than try to correct this, I believe a wise plan would be to start with a clean, empty EE and Structure install, on an empty database - a fresh staging site. You should be able to copy/paste all your template text and so forth from screens editing the live site, so you won’t lose work. You can do the data entry once more into the staging system to get it clean and correct. Then do any troubleshooting needed to bring the results up fully, put in the search fixes outlined for you, etc.. Once you’ve done that, I think you’ll have a stable base to work with, and will be able to make dependable releases to the live server as you need to.
- I imagine many people do staging servers something as I do. I put the data in a differently named database, from the same server. I use a subdomain of the main site for the EE install and web service—very easy to do, and keeps the path changes you need to make going live very minimal. A url like staging.onami.us may particularly help keep things straight.
- I suspect you’ll find your staging server with the clean data to bring back that Listing ability of Structure with no further attention, or with minimal adjustments, since you had it working. You can and should test that clearing all four parts of the caching doesn’t interfere at all. Then you can go on to set your search working correctly, which is also easy to do as we’ve outlined above. Test. And then make an orderly transition of the database and file contents of this staging server to live, completely replacing what’s running now on the live.
- last but not least, is a recommendation to follow Travis’s advice to the letter: Backup, backup, backup. You should have full copies for your live and staging site databases, taken often and at significant points. You should have matching copies of every file on the webserver part of the site. It’s very easy to do both with modern tools, and then you can always recover if any unexpected results occr.
A practice I and others use during actual replacement of a site, as you will do in sending staged results to live, is to keep the old files available on server, by simply renaming rather than immediately deleting their directories to assure safe copy-over. This means that if your staging-to-live goes wrong, for example, you can get the site back up almost instantly with a recovery. You just name folders again so that the old ones are being used, then drop your database and restore from its older version. It will take about five minutes. Renaming doesn’t substitute for file backups; rather just gives you a quick-recovery ability.
grounded, I think this will get you better into control. With the peace to work on a fresh-data staging server, it should go smoothly to verify that your Listing pages work, and to then get the complex searches operating the way they are supposed to, with EE’s automatic help that we found it has for your situation. Stay in touch, and advice will come when you need it.
Regards,
Clive