my website reload but stuck at reload page and when i try to go to resgister page with link and try to add new account i got error and website go down i did every think good data base and i fill data base and i uploaded my websit , the same website with the same db its working fine on my local gost xammp
Other Information
(other information and details relevant to your question)
The site works locally on XAMPP. That happens because your local files are correct.
Your hosting files however, are not. Viewing the source (Ctrl + U) of your home.php file, the code seems to get cut off somewhere. Please ensure that your local files and your hosting files are the same (try uploading your files again from the local to the hosting server, or copy and paste the home.php code to ensure it’s the same, but keep in mind it may not be the only file affected).
The code is still cut off, so something is definitely wrong.
One URL I was able to see that redirects to 404 is http://dealexpresss.epizy.com/images/icon-3.png, so one file definitely is missing. Additionally, I viewed another one of your pages and can safely conclude that the reason the preloader never stops is because of the script.js never being loaded in home.php.
The script itself also seems to have some issues, as visiting another page (http://dealexpresss.epizy.com/user_register.php) yields this error: Uncaught ReferenceError: Swiper is not defined at script.js:83:14
To me, it seems that some of your files are corrupted. I’m not sure why it works in your local environment; if it isn’t cache and you’ve tried hard refreshing, maybe the files aren’t correctly transferred during upload, or maybe it is an issue with your code. But as it’s PHP code and does not display, I can’t tell for sure.
PHP code crashing midway the page could mean that there is some PHP code there which crashed. Please try enabling display errors, reload the page and check the page source to find the error message.
im the same guy who have this error i just reached the daily reply limite in this formu ,im sorry admin i just need to fix this pelase dont ban me im really sorry,this is my discord if any one can help me (ᴘʀᴇᴅᴀᴛᴏʀ #2050)
i did enable display error in cpanel where i can find the error ?
<b>Fatal error</b>: Uncaught Error: Call to undefined method mysqli_stmt::rowCount() in /home/vol1_4/epizy.com/epiz_34199023/htdocs/home.php:127
Stack trace:
#0 {main}
thrown in <b>/home/vol1_4/epizy.com/epiz_34199023/htdocs/home.php</b> on line <b>127</b><br />
Nobody is going to do that. We don’t get paid to help you, and are simply volunteering. If you are willing to pay me for my time, I’ll help you that way (And I am sure others will too). Please do not continue to post your Discord username, it will be marked as spam
You have your error message: Call to undefined method mysqli_stmt::rowCount()
You have the file name: /home/vol1_4/epizy.com/epiz_34199023/htdocs/home.php
And you have the line number: 127
Now all you have to do is open the file and fix the part that’s not working. If you have a specific question, feel free to ask here, but note that googling will probably be faster.
Because Xampp is not a production environment, and has less strict rules. Fatal errors in testing environments may not always stop execution of code. In production environments, they always do.