Http 500

image
I’m having the same issue on Opera. The same thing shows when I turn on “Display Errors” in Alter PHP Config. On Firefox, it’s just a blank page.

I use Site.pro to build the webpage, so I’m not sure where to check the “script suppressing or capturing error messages from PHP.”

I tried to rename .htaccess file but the same thing shows. What else can I check?

Domain checker shows this:

What is the hosting volume the hosting account is on?
This is what I notice

4 Likes

mine is on vol5_3
image

So I assume a simple html file will load with no issue.

When you put in a php file with below code,

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

500 error will show. Can I confirm that?

5 Likes

500 error exists in vol6_4 since Sep21.

phpinfo get error:

Fatal error : Uncaught Error: Call to undefined function phpinfo() in /home/vol6_4/epizy.com/epiz_31674447/htdocs/test.php:4 Stack trace: #0 {main} thrown in /home/vol6_4/epizy.com/epiz_31674447/htdocs/test.php on line 4

Not exactly sure how to do it since I’m using site.pro to build the page and publish from there. I tried replacing the index.php in the sitepro folder but it is still showing the same code 500
image

FWIW, I also tried this index.php but same error
image

Are you able to run this code on your index.php?

<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo "Hello World!";
?>

</body>
</html>
3 Likes

A post was merged into an existing topic: Another one with HTTP 500 codes

ah… it loads.
image
but what should i see for the php echo? nothing else is showing

Great! At least we know PHP is working

2 Likes

what do you mean php is working? i’m only seeing the html codes running?

Read the code again
I guess you need this now

3 Likes

this was what i tried before posting (see OP).
sorry, i only see

My first PHP page

running.
what should i see for this:

<?php echo "Hello World!"; ?>

I did not see any “Hello World!”

Ok, so I tried the index.php file again from earlier, but this time with the line echo “Hello World!” added

My bad.

Can you run this instead?

<?php
echo "Hello World!";
?>

Save this file as index3.php and see if “Hello World” loads

2 Likes

interesting… index3.php shows “Forbidden”, but index.php shows “Hello World!”

1 Like

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