Humm here’s something that’s odd, I tried to rename the ht.access file in the main directory to .htaccess and I got a "Destination already exists" error from the host’s cpanel. Meaning I guess a file with that name exists already? Here’s the weird bit, I can’t see it in there.
Whoops, sorry I didn’t see the edit to your reply before I posted. Let me check that out.
-
☆ A M B ☆
- 24,524 Posts
Well, as I mentioned, it’s normally hidden. You would need to configure your FTP client to show hidden files in order to see it.
So for an update, I’ve been really looking over the latest visitor logs to the site and comparing it to the resource manager for any corresponding spikes/visits for the past few days.
I’ve also discovered many questionable referers linking to our site and proceeded to block their domains in the .htaccess file. Domains I absolutely know shouldn’t be linking to us.
Hopefully that will cut down on spikes caused by outside users. Meanwhile though, I can still cause a memory limit spike myself just by logging into the manager. So I’m still stumped on that. If I could fix that from happening I’d be really happy.
I tried installing Modx Revolution on to the server, and I believe logging in/working with the manager there didn’t cause memory fluctuations. At least, nothing strenuous. I haven’t messed around with it too much, but that might be a solution.
If that’s the case I’d have to move everything over. Granted I’ve read that updating from Evo to Rev can be pretty tricky.
But I rather set up something that the clients are familiar with then jump to a whole new CMS.
-
☆ A M B ☆
- 2,213 Posts
The memory spikes really lead me to believe there is a problem with the server configuration. They have either overloaded the server, or something just isn’t configured correctly causing the problems.
I would highly recommend trying another hosting company and/or moving the site to a new server. As for switching to Revolution, there isn’t a direct path at this point in time, addons like provisioner can help, but if you have a large site, you may run into issues with page IDs not matching up.
Revolution will also use a little more memory, so if you are having memory issues, I wouldn’t recommend upgrading until you resolve them first.
-
☆ A M B ☆
- 2,213 Posts
I recommend Site5 or SkyToaster. They are both great options, granted slight bias towards ladder option.
I’ve been doing my host research while trying to see if maybe I could optimize my modx site a bit more. I was wondering something, can having a lot of templates bog down a site? The modx site in question that’s been causing the spikes whenever I log into the manager has 58 separate templates. Basically it’s a template for each page since the layout is not structured if you will. By that I mean every page’s layout is different. There are elements that I’ve repeated through chunks like the banner and navigation bar, the footer, and a few elements here and there that appear on several pages.
I’m wondering if all these templates are causing a problem?
-
☆ A M B ☆
- 2,213 Posts
I would try to structure the site further to eliminate templates (make things easier to edit), but 58 templates is unlikely to cause a problem. Caching snippets is really your best bet.