Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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