PHP files are not executing, showing blank page

Website URL

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

Error Message


Subject: PHP files are not executing, showing blank
page

My Domain: ppdb-erlangga.ct.ws
My Username: if0_39856367

Problem Description:
My website is only showing a blank white page. I have
already uploaded all my files.

I have tried to debug this and found that PHP is not
running at all. I enabled display_errors in cPanel, but
no errors are shown. I also replaced my index.php file
with a simple test code: .
Even with this simple code, the page is still blank.

Could you please check the server configuration for my
account?

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

Other Information

(other information and details relevant to your question)

I can see the following error on your page:

Fatal error: Uncaught Error: Undefined constant "BASE_URL" in /home/vol2_5/infinityfree.com/if0_39856367/htdocs/templates/header.php:21
Stack trace:
#0 /home/vol2_5/infinityfree.com/if0_39856367/htdocs/index.php(1): include()
#1 {main}
thrown in /home/vol2_5/infinityfree.com/if0_39856367/htdocs/templates/header.php on line 21

So I’d say there’s something wrong with line 20 or 21 on your code

5 Likes

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