I’d like to have a solution to this problem ASAP. So here’s some suggestions of mine. Let me know if they’re totally ludicrous.
1. I could totally reinstall modx, hopefully backing up the database and having all my same info. The question is, would that also preserve the problem?
2. I could begin a new modx site at another server (a move i was planning on sometime anyway) and manually transport content (template, images, page content, etc). Hopefully that would fix the problem.
Is there any other options I have that anyone sees?
Also, the manager is having peculiar effects now...screenshot enclosed.
the colors are screwed. strange.
That looks to me as if your files are becoming corrupted. Is this server perhaps in someone’s closet somewhere (and maybe they threw one too many coat on top of it)? Your specific problem does not sound like just a bug or configuration issue with MODx but rather a server issue of some sort.
Make sure that you make a backup of your database before you do anything else in case the whole thing goes kerplooey and you need to move to another machine/host.
Have you tested a simple PHP file in your root to see if that works (e.g., <?php echo ’hello, world!’; ?> )?
Ok, I’ve decided to move the site to DreamHost. I already have an account there and can easily add another site. Is there a tutorial somewhere that gives easy step-by-step directions for moving the site to a new server?
Thanks guys for all your help this thread. I really appreciate it.
Mucho Gracias! Happy new year to you too.
Hmmm ok so i have a few questions about moving the site. Do you reference the mysql dump (the old modx database) in the config.inc.php file, or do you make a new database?
Also, for some very strange reason, my .htaccess refuses to upload on my new server. i can upload it as ht.access, but as soon as i rename it, it disappears. weird. ok i got that. for some reason filezilla had got it’s "show hidden files" setting turned off".
Quote from: arty at Jan 01, 2007, 11:17 AM
Hmmm ok so i have a few questions about moving the site. Do you reference the mysql dump (the old modx database) in the config.inc.php file, or do you make a new database?
Also, for some very strange reason, my .htaccess refuses to upload on my new server. i can upload it as ht.access, but as soon as i rename it, it disappears. weird.
What I do is to first create the new database and then import all of the old data into it (using the Query window in phpMyAdmin and the dump from my previous backup). That will create all of the tables and populate them with the data from your old site. Then I upload all of the MODx files and run an Upgrade install. To do this you need to copy the config.inc.php file from your old site to the new one, but manually edit it (in any text editor) to use the new server and database’s settings. Every time I’ve done it in this order it’s gone off without a hitch and seems to be the fastest way to go from nothing to a completely restored site.
A lot of servers are set up not to show you .htaccess files, so that’s why the file disappears when you rename it. It is still there, but you don’t see it because it’s a hidden file type. Some FTP programs let you view hidden files in directory lists (or connect using a -la flag), but if you don’t see it don’t worry.