SIte Not Working

Website URL sinalhatiwest.epizy.com

(please specify the URL of the site on which you are experiencing the problem)

Error Message

(please share the FULL error message you see, if applicable)

Other Information Not able to login in my site’s login page

(other information and details relevant to your question)

Your page stops rendering because of a HTTP error 500:

Also, the certificate for your website expired, so you also have to issue a new certificate from the Free SSL Certificates tool and install that so your website will work even when not bypassing the warning.

6 Likes

not resolve the problem

What problem? You only said your site is not working. I just checked it, and it works.

If it’s not working for you, please describe what the problem is so we can help you fix it.

4 Likes

1.the home page showing black screen


2. unable to login after giving correct username and password

6 Likes

From this:

It seems that you’re currently using mysql functions which are no longer supported, you’ll need to rewrite your code and use either MySQLi or PDO:
https://forum.infinityfree.com/t/fatal-error-call-to-undefined-function-mysql-connect/84879/2

6 Likes

still if i want to use mysql is there any way to use?

Just to be clear, you can still use MySQL databases. However, you must use the mysqli or PDO modules to connect to MySQL, because the mysql_ style functions were removed from PHP a long time ago.

Premium hosting lets you choose your own PHP version, which means you can downgrade your site to use PHP 5.6, which will allow you to use mysql_ style functions.

But I still strongly recommend to take some time to update your code. Running old PHP versions is bad for security and performance, and the mysql_ functions are also notably slower and less secure than mysqli and PDO. So while you can run your site on an older PHP version, please only use this as a stop gap measure, not a solution to the problem. The actual solution is to update your code.

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.