Xtremer360 Posted February 14, 2011 Share Posted February 14, 2011 I switched my hosting over to a different hosting server and copied the WordPress DB and install it on my new database so I could run my site however it's showing up oddly and didn't know if there was something I missed or what. Its saying that none of my pages exists or anything. kansasoutlawwrestling.com Quote Link to comment Share on other sites More sharing options...
trq Posted February 14, 2011 Share Posted February 14, 2011 Looks to me like short tags aren't enabled or something. You should be using the complete <?php ?> tags anyway. Quote Link to comment Share on other sites More sharing options...
haku Posted February 14, 2011 Share Posted February 14, 2011 And this is the exact reason why. Quote Link to comment Share on other sites More sharing options...
floridaflatlander Posted February 14, 2011 Share Posted February 14, 2011 When this happens to me it's because I didn't use an opening tag and the code was turned into text. Under welcome I saw this code with no opening php tags, if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> ID, ‘image-link’, true); ?> I also see you have over 800 post so you probably already know this. Quote Link to comment Share on other sites More sharing options...
Xtremer360 Posted February 14, 2011 Author Share Posted February 14, 2011 That's weird because I've looked through all my DB records and they all care the correct opening and closing php tags. Quote Link to comment Share on other sites More sharing options...
Xtremer360 Posted February 14, 2011 Author Share Posted February 14, 2011 Even it'll let me login for the admin but it won't show after after a successful login. Quote Link to comment Share on other sites More sharing options...
Pikachu2000 Posted February 14, 2011 Share Posted February 14, 2011 Are you storing php code in the database and using eval() on it? Quote Link to comment Share on other sites More sharing options...
Xtremer360 Posted February 14, 2011 Author Share Posted February 14, 2011 I'm not sure because I was hoping i could just export the DB from my previous DB and then import the DB file into my new DB on my new hosting and have all the same files uploaded but that's when this started happening. I just feel lost one why it is doing this. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.