Note that when you delete the files in the core/cache directory, MODX re-creates many of them on the next MODX request. That's normal and you've still cleared the cache, since the obsolete versions of the files are gone.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
It shouldn't hurt anything as long as the config.inc.php file is writable, but if anything goes wrong, you'd have the backup version and could just copy it back (assuming that's possible at your host).
You might want to back up the config.core.php files too, just in case. If you're nervous, you could always back up the DB and all site files, but it really shouldn't be necessary. The fact is that if you can't use the Manager, you're not going to be very happy anyway.
Before trying this step, though, I'd probably wait to see if the host comes up with anything on the ownership issue.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
Thanks for that. As I mentioned earlier, my hosting provider is blaming httpd ownership on MODx, but at least he later said he would look into this further.
-
☆ A M B ☆
- 2,213 Posts
Hello,
It sounds like your host is using one of the configurations: cgi/fcgi/dso (without suexec enabled for them)
In this configuration any files/folders created by the server would be owned by nobody, instead of your user, thus causing the problems. Your host would need to alter the configuration, or if they are still unable to sort the issue out consider a different hosting provider.
I know for fact using the DSO configuration will cause issues with any script uploading files, so that's an unlikely (/very unwise) configuration for a shared server. CGI has performance/security issues so it's also unwise leaving fcgi, which is better if configured properly, but without suexec enabled will also have problems. Granted I am going for the abbreviated version of all the configuration gibberish
-
☆ A M B ☆
- 2,213 Posts
Hello,
I suspect the issues are related. Your server is configured in a non standard way (not the onapp/xen part), and as such you are having problems using MODX properly. I suspect fixing the ownership issues will resolve your login issues, granted they could just be the sign of additional server configuration problems.
In regards to all the user stuff... Typically there is a "nobody" and a "user" (at least for apache), in most situations you want the server to interact with php files as the "user" instead of "nobody", as you can't change/delete files you don't own.
In the current configuration it sounds like as I noted earlier, your host hasn't configured the server properly, and as such when apache interacts with php, it's doing so as the "nobody" user instead of your username. The user being your login (ex: cpanel/ftp login). In the earlier noted configurations, suexec should correct this problem (except with dso), to a degree. It doesn't prevent you from assigning incorrect permissions (aka too much permission), so you can still get in trouble. This is part of the reason most shared hosting providers use suphp, it forces php to run as your user, and if you give too much permission it causes 500 errors to help protect you.
I think in short, your server is misconfigured, and thus causing your problems. If you want I can set you up with a trial account on one of our servers to eliminate the hosting from the problem.
I hope that helps clear things up some.
@AMDBuilder -- Great explanation and a generous offer.
I agree that it's unlikely that the stuff in my troubleshooting guide will solve this.
------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using.
MODX info for everyone:
http://bobsguides.com/modx.html
@AMDBuilder
My hosting provider said they use suphp.
At any rate, I've been fighting this problem three weeks tomorrow. I'll be in touch with you shortly.
Thx