PHP 5.4 error reporting

Ok, so I’m giving up learning php 7 for a time. I set one of my sites back to php 5.4, but now I have no error reporting:

http://billbuilder.epizy.com/

In v7 I had it. I have the script in my config.php set to report all errors. I’m at a loss.

I have cpanel set to show errors, too.

can you try enabling error reporting on alter php config? it’s not fatal error. so it won’t throw 500 error

1 Like

I checked your website, and it’s just returned a blank page with an empty status code. That means the code actually ran successfully (hence the lack of errors), but just isn’t returning any content.

1 Like

This is the simple script:

(http://gay.epizy.com/?i=1)

while($user = mysql_fetch_array($r)){
echo $user[‘id’]." | ".$user[‘username’];
}

So… why is my new page blank? The table is populated… Same configuration, just a new test site.

$r = mysql_result(“SELECT *
FROM user”);

Your website seems to be working fine from here. Where exactly on the page should you see database results but don’t you?

1 Like

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