miniu Posted April 24, 2010 Share Posted April 24, 2010 Hello, I am moving my website to a different server. Now it is: http://www.miniu81.fatcow.com/refassign/ I import everything from the previous database to the new one I changed functions.php and config.inc.php with the new access to the database but when I try to login nothing happens (No info about any problems, mysql e.t.c) he simply act like the side would refresh. what can be the problem? Quote Link to comment https://forums.phpfreaks.com/topic/199563-login-problems-in-php/ Share on other sites More sharing options...
PFMaBiSmAd Posted April 24, 2010 Share Posted April 24, 2010 nothing happens Well, something probably did happen, such as the form page just refreshed or you got a blank page... You must investigate what exactly your code is doing that is causing 'nothing happens'. The first step would be to check if the the form data is present or not. Then keep checking in the code and determine at what point you loose the expected data or expected results. There are some common php.ini configuration differences that can cause code to apparently do nothing when a form is submitted, but it would take seeing your actual code for anyone here to determine if your code is relying on old depreciated php.ini settings. Quote Link to comment https://forums.phpfreaks.com/topic/199563-login-problems-in-php/#findComment-1047486 Share on other sites More sharing options...
Sulman Posted April 24, 2010 Share Posted April 24, 2010 As PFMaBiSmAd said there wil be something happening, you just aren't seeing it. If you are just getting a blank page it could be that the new server has errors turned off. This means that no error messages will be displayed and you will just get a blank page. Try adding the above in to the config or on the top of the page in question: error_reporting(E_ALL); ini_set('display_errors','On'); That might help... Quote Link to comment https://forums.phpfreaks.com/topic/199563-login-problems-in-php/#findComment-1047539 Share on other sites More sharing options...
miniu Posted April 24, 2010 Author Share Posted April 24, 2010 The sessions where not safe on the server, but the host have changed it for my account and it is working now, thank you. Quote Link to comment https://forums.phpfreaks.com/topic/199563-login-problems-in-php/#findComment-1047634 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.