This is my first attempt at moving a site from local to my server. I have two problem that I suspect are related.
1. The home page comes up but all the menu links point to my local files not the server. ( I do have rewrite browser paths set to yes)
2. I’m unable to login to the manager
I followed the instructions in the tutorial:
http://modxcms.com/moving-sites-to-new-servers.html
I created the DB on the server prior to following these instructions.
When I try to login to the manager, the error message I receive is
<br /><b>Warning<b>: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
<b>/home/terrybar/public_html/manager/includes/settings.inc.php</b>on line<b>10</b></br>
<br /><b>Warning<b>: mysql_fetch_rows(): supplied argument is not a valid MySQL result resource in
<b>/home/terrybar/public_html/manager/includes/settings.inc.php</b>on line<b>11</b></br>
<br /><b>Warning<b>: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
<b>/home/terrybar/public_html/manager/processors/login.processor.php</b>on line<b>72</b></br>
Incorrect username or password entered!
I found a reference to this that suggested I check for two sets of quotes on the dbase name in the config.inc.php file. I found there were indeed two sets. I corrected this but no effect.
I have verified the user name and pw in the config.inc.php file matches the DB user name and PW I had previously created.
I tried changing the user name in the config.inc.php file to my admin user id. This had the effect of no more SQL errors but still Incorrect username or PW when logging into manager and the home page does not come up on the server.
I’m at a loss as to where to begin short of starting all over again and hoping I don’t just recreate the problem. I do have detailed notes on what I did from the very beginning of this attempt including screen shots.
Can someone point my in the right direction here?
Thank you!
Terry