I’m hoping someone can suggest something here before I go over the edge.
I’m trying to port a working MODx site to my local computer.
I run XAMPP on Windows XP and it’s always worked fine.
MODx 0.9.5
XAMPP 1.5.1
Php 5.1.1
MySQL 5.0.18
Apache 2.2.0
I ran the MODx install 0.9.5 (same as on the remote server) in the XAMPP environment and everything went fine.
I exported the all the tables from the remote DB, emptied the local tables using phpMyAdmin, and uploaded the sql file into the local DB. Then I FTPd the Assets to the local machine.
Here’s where things get weird.
I can log on to the manager fine with http://localhost/mydir/manager. The whole site is there and I can edit the configuration (and save it). I can even (sometimes) edit individual pages.
As soon as I try to preview a page, though. I get a new blank browser window and a progress bar that doesn’t move. From that point on, Apache seems to be hosed. I can’t do anything in the manager and can’t even log out. I also can’t access any of the other non-MODx sites on my machine via localhost or load the XAMPP manager, even if I close the MODx manager.
The same freeze happens if I go to http://localhost/mydir.
If I restart Apache, I can start over and go to the manager or visit any of the other local sites but as soon as I try to load that home page (or any other individual page), I’m done for.
There are no clues in the Apache logs -- no errors in the event log and just the accesses to the manager pages in the access log.
I turned off friendly URLs and tried every possible combination of stuff in the .htaccess file (including no .htaccess file).
At one point, I did see lines in the Apache access log with: GET /myhomedir HTTP/1.1" 301 368
but that no longer happens.
I’m running out of stuff to try.
Bob