Jump to content

Login problems in php


miniu

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/199563-login-problems-in-php/
Share on other sites

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.

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...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.