Website URL
(please specify the URL of the site on which you are experiencing the problem)
vote.nag-dev.me
Error Message
(please share the FULL error message you see, if applicable)
Blank pages ??? (Only php )
AND 502 error message
Yesterday my website was completely work and today I have blank pages !!! Only with php I think !!! Help me pls
Other Information
(other information and details relevant to your question).
i just visited your site and see just this in the source code
<!DOCTYPE html>
<html>
<head>
<title>Système de Vote</title>
<link rel="stylesheet" type="text/css" href="styles.css">
</head>
<body>
it could be that your php code has crashed, enable php display errors in your cpanel in the alter php directives section and reload your website to see if there are any errors reported
4 Likes
No when I go to file manager my php code is still here in my files
1 Like
My php code is stills here in my file manager but I have blank pages
Check ur code using local host
KangJL
October 4, 2023, 4:41am
7
Running this code in your php file
<?php
echo "Hello World!";
?>
What do you see?
2 Likes
http://vote.nag-dev.me/z.php
It’s work but mixed with my code no
KangJL
October 4, 2023, 4:51am
9
So the issue is your code
3 Likes
But no I haven’t modified my code since Saturday , and the probleme Îts for all my website ??
I think I have found only the files working with my database aren’t working but before yesterday my code was working and since I haven’t touch it
it could be that your php code has crashed, enable php display errors in your cpanel in the alter php directives section and reload your website to see if there are any errors reported
I asked if you could do this , did it display any errors ?
if there are errors reported it will help us diagnose the issue
3 Likes
Try checking if there’s a debug setting you also need to enable alongside “Display Errors”:
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…
Alternatively, can you post your code here? Make sure to redact any sensitive information (like passwords).
4 Likes
system
Closed
October 11, 2023, 12:28pm
15
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.