# This page is not working

**URL:** <https://forum.infinityfree.com/t/this-page-is-not-working/49875>\
**Category:** Hosting Support\
**Created:** [August 13, 2021, 1:55am UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875 "2021-08-13T01:55:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon24485334](https://forum.infinityfree.com/letter_avatar/anon24485334/32/6_449c533f586939b6e5f246632a46421f.png) [@anon24485334](https://forum.infinityfree.com/u/anon24485334)\
**Post date:** [August 13, 2021, 1:55am UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/1 "2021-08-13T01:55:08Z")

</div>

I recently created a domain at epizy to test a website developed with object-oriented PHP. The problem is that when I try to login it redirects me to a page that displays the message: “This page is not working”. All static pages work and for the page that uses database it doesn’t work. Is there any way to fix this?? For testing purposes you can use the email: [test@email.com](mailto:test@email.com) and the password: 123456

Domain: [http://microinfor.epizy.com/sistema-de-gerenciamento/](http://microinfor.epizy.com/sistema-de-gerenciamento/)

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [August 13, 2021, 3:06am UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/2 "2021-08-13T03:06:06Z")

</div>

This is what I see

 ![image](https://forum-cdn.infinityfree.net/original/3X/5/4/54cb60b652d46f9bf7d5989ff07b94c8d727cc77.png)

This may help

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 13, 2021, 12:33pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/3 "2021-08-13T12:33:36Z")

</div>

HTTP 500 generally means there is an error in your .htaccess of PHP code. In your case, I’m going to guess your PHP code is broken, and not working as it should.

---

<div class="post-metadata">

**Author:** ![anon24485334](https://forum.infinityfree.com/letter_avatar/anon24485334/32/6_449c533f586939b6e5f246632a46421f.png) [@anon24485334](https://forum.infinityfree.com/u/anon24485334)\
**Post date:** [August 13, 2021, 2:11pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/4 "2021-08-13T14:11:28Z")

</div>

I don’t quite understand what you mean. My .htaccess file is corrupt or some PHP file is corrupt

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 13, 2021, 2:25pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/5 "2021-08-13T14:25:14Z")

</div>

> [@anon24485334](#):
>
> My .htaccess file is corrupt or some PHP file is corrupt

Not corrupt, just not coded correctly

---

<div class="post-metadata">

**Author:** ![anon24485334](https://forum.infinityfree.com/letter_avatar/anon24485334/32/6_449c533f586939b6e5f246632a46421f.png) [@anon24485334](https://forum.infinityfree.com/u/anon24485334)\
**Post date:** [August 13, 2021, 11:35pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/6 "2021-08-13T23:35:31Z")

</div>

If it wasn’t asking too much could you help me?? How do you configure your htaccess files?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 13, 2021, 11:53pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/7 "2021-08-13T23:53:53Z")

</div>

I am not seeing a 404 page when you click the login button. Make sure all your files are uploaded and in the right spot, and that all your file paths are correct.

---

<div class="post-metadata">

**Author:** ![anon24485334](https://forum.infinityfree.com/letter_avatar/anon24485334/32/6_449c533f586939b6e5f246632a46421f.png) [@anon24485334](https://forum.infinityfree.com/u/anon24485334)\
**Post date:** [August 14, 2021, 1:23am UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/8 "2021-08-14T01:23:01Z")

</div>

I don’t know how to solve this unfortunately. I’ve tried to delete all the files and send again but it doesn’t work, I tried to change the .htaccess files but when I do that they get a 404 error. :’(

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [August 14, 2021, 1:35am UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/9 "2021-08-14T01:35:03Z")

</div>

Can you show both your PHP code and your .htaccess files? Please format the code using markdown (Surround the code with “~~~”, both above and below. )

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [August 14, 2021, 6:18pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/11 "2021-08-14T18:18:18Z")

</div>

The browser generated HTTP ERROR 500 page is generated 99.99% of the time by your PHP code crashing.

There are all kinds of reasons why it could crash. It might be an error in the code, a compatibility issue with our hosting or just a configuration issue that needs to be addressed before your code will work here.

Which of those is the case for you? Just follow the instructions in this KB article:

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500. There are typically two reasons which can cause this error: The PHP code has crashed. The .htaccess file contains invalid rules. Here are some things you can try to debug and fix this. Fixing crashing PHP code A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed. Gett…

This should produce a usable error message which is the first step to resolving that error. If you need help making sense of the message, you can share it here so we can help. But we do need that error message to help you.

---

<div class="post-metadata">

**Author:** ![anon24485334](https://forum.infinityfree.com/letter_avatar/anon24485334/32/6_449c533f586939b6e5f246632a46421f.png) [@anon24485334](https://forum.infinityfree.com/u/anon24485334)\
**Post date:** [August 15, 2021, 10:18pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/12 "2021-08-15T22:18:26Z")

</div>

I managed to solve the problem! I added in my .htaccess file the following line: ini\_set(‘display\_errors’, 1);  
My page reported an error calling a function and I realized that instead of calling functions I was calling constants. I just needed to change that and that was it. I don’t know because it worked on my local machine, but it’s solved.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [August 22, 2021, 10:19pm UTC](https://forum.infinityfree.com/t/this-page-is-not-working/49875/13 "2021-08-22T22:19:10Z")

</div>

Closed on August 22, 2021, 10:19pm UTC

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