peterb Posted February 8, 2011 Share Posted February 8, 2011 I moved my site which runs fine on localhost to gridserver... and getting all sorts of problems. no css comes threw, and the urls keep not working. The database seems to be ok. 1. I tried to do a clean install on the server, and could not: http://s118962.gridserver.com/test/ 2. http://s118962.gridserver.com/pw is the current install, but when you click on thinks is keeps adding a /html/ after the .com 3. phpinfo seems to show everything that is needed: http://s118962.gridserver.com/test.php not sure what to do next? Link to comment Share on other sites More sharing options...
peterb Posted February 8, 2011 Author Share Posted February 8, 2011 I was able to get my mediatemple server install working by changing line 38 in index.php FROM: $rootURL = isset($_SERVER['HTTP_HOST']) ? substr($rootPath, strlen(rtrim($_SERVER['DOCUMENT_ROOT'], '/'))) . '/' : '/'; TO: $rootURL = '/pw/'; Link to comment Share on other sites More sharing options...
ryan Posted February 8, 2011 Share Posted February 8, 2011 Thanks for posting the fix. I also have an MT gridserver, though not sure I've ever tried to install ProcessWire there recently. Assuming I can reproduce the issue, I will implement a built-in solution. Link to comment Share on other sites More sharing options...
ryan Posted March 15, 2011 Share Posted March 15, 2011 Hi Peter -- This has now been fixed and you should be able to install at Media Temple (and other servers that alias their document root) without having to do anything extra. I just spent some time on an MT gridserver account to make sure. PHP's realpath() function came to the rescue for this one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now