Failure to login to mywebsite

I uploaded a php site on 000 webhost. Whenever i try to login or signup it fails but when i do it locally on my computers localhost everything works fine.
Please help me

Make sure the PHP version under your website settings > general is the same as your local web server, and add the following lines to your .htaccess to show errors:

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

The php versions are the same and i have added the lines to .htacess but still nothing changes.
Please help me

hello when i add those lines to .htaccess it shows me application error and the webpage no longer displays.
Please help me sulliops.

You can add Sulliops lines to the PHP file which is facing issues not your htaccess.

Thank you very much it worked @Infinity.
When i do that i get this error Warning : session_start(): Cannot start session when headers already sent
how can i fix this issue

This topic was automatically closed after 2 days. New replies are no longer allowed.