t00000
September 25, 2023, 11:58am
1
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?
t00000
September 25, 2023, 11:59am
2
Domain checker shows this:
KangJL
September 25, 2023, 1:02pm
3
t00000:
What else can I check?
What is the hosting volume the hosting account is on?
This is what I notice
4 Likes
KangJL
September 26, 2023, 5:35am
5
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
VV.E.O
September 26, 2023, 7:31am
6
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
t00000
September 26, 2023, 7:57am
7
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
t00000
September 26, 2023, 8:00am
8
FWIW, I also tried this index.php but same error
KangJL
September 26, 2023, 3:14pm
9
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
Oxy
Split this topic
September 26, 2023, 6:43pm
10
A post was merged into an existing topic: Another one with HTTP 500 codes
t00000
September 27, 2023, 3:13am
11
ah… it loads.
but what should i see for the php echo? nothing else is showing
KangJL
September 27, 2023, 3:17am
12
Great! At least we know PHP is working
2 Likes
t00000
September 27, 2023, 3:19am
13
what do you mean php is working? i’m only seeing the html codes running?
KangJL
September 27, 2023, 3:21am
14
Read the code again
I guess you need this now
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…
3 Likes
t00000
September 27, 2023, 3:25am
15
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!”
t00000
September 27, 2023, 3:44am
16
Ok, so I tried the index.php file again from earlier, but this time with the line echo “Hello World!” added
KangJL
September 27, 2023, 3:51am
17
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
t00000
September 27, 2023, 7:21am
18
interesting… index3.php shows “Forbidden”, but index.php shows “Hello World!”
1 Like
system
Closed
October 4, 2023, 7:21am
19
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.