mongoose00318 Posted January 9, 2012 Share Posted January 9, 2012 Im trying to figure out why my installation of xcart, when I go to the /admin directory, it redirects to my live admin login page. I have a development (http://development.website.com) and a live (http://website.com) installation. When I go to http://development.website.com/admin it redirects me to http://website.com/admin. I'm trying to output the PHP code from the page after executing. Isn't there someway to do something like echo __FILE_CONTENTS__; or something like that? If you have any input about my main problem any advice will be appreciated! Mongoose Quote Link to comment Share on other sites More sharing options...
scootstah Posted January 9, 2012 Share Posted January 9, 2012 Did you copy the live site to the development site? If so you may have missed a config file somewhere where you need to include the subdomain. Quote Link to comment Share on other sites More sharing options...
Psycho Posted January 9, 2012 Share Posted January 9, 2012 What do you mean exactly by it is "redirecting" you. Are you saying that is it initially loading the development admin site and then there's a page refresh that then loads the live admin page? Or, do you see that the dev URL is initially displayed int he URL address bar and then changes to the live URL when the page is loaded? How are you trying to access the admin site? Are you entering the URL directly or are you clicking a link in the app? If you are clicking a link check that the link is pointing to the correct URL. It could be that the URL is static or there is a problem in how it is dynamically generated. 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.