Username (e.g. epiz_XXX) or Website URL
epiz_33694559
URL to with does apply
http://ati-os.mcgiwer.42web.io
Description of problem
After uploading the files, I had renamed the index.html file (with was displayed correctly) to index.php . After that, I see only a blank page
I see a 500 error on your site:
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…
5 Likes
Strange, I don’t have any .htaccess file and there is no much php code added to it.
Cnontent of the index.php :
<?php
if (isset($lang)) { require_once("i18n/" . $lang . ".inc.php"); }
else { require_once("i18n/en.inc.php" }
?>
... some html content ...
<h1>
<a href = "index.php">
<?php echo $lang["home"]; ?>
</a>
</h1>
... rest of the html, without more php code ...
Ah, I forgot to mention, none message is displaying to me
Can you please turn on display errors like suggested in the article? Also, $lang
is also going to be false, and you are probably going to get a warning about it being undefined as well.
1 Like
system
Closed
March 9, 2023, 4:27pm
7
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.