# My website reload but stuck

**URL:** <https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144>\
**Category:** Hosting Support\
**Created:** [May 14, 2023, 11:52am UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144 "2023-05-14T11:52:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 11:52am UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/1 "2023-05-14T11:52:03Z")

</div>

### Website URL

([http://dealexpresss.epizy.com/home.php](http://dealexpresss.epizy.com/home.php))

### Error Message

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)

---

<div class="post-metadata">

**Author:** ![HELPINDIA](https://forum.infinityfree.com/letter_avatar/helpindia/32/6_449c533f586939b6e5f246632a46421f.png) [@HELPINDIA](https://forum.infinityfree.com/u/HELPINDIA)\
**Post date:** [May 14, 2023, 12:44pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/2 "2023-05-14T12:44:43Z")

</div>

Kindly check the hosting files! Some thing mess with site page

 ![Screenshot_2023-05-14-18-13-48-951_org.mozilla.firefox](https://forum-cdn.infinityfree.net/original/3X/a/e/aecb885719e3f9dc913bc3a6d7a4ae8572ff4f77.jpeg)

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 12:52pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/3 "2023-05-14T12:52:45Z")

</div>

> [@HELPINDIA](#):
>
> eck the hosting files! Some thing mess with site page

the website works fine localy with xampp

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 12:54pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/4 "2023-05-14T12:54:00Z")

</div>

![2023-5-14 13-53-34](https://forum-cdn.infinityfree.net/original/3X/1/8/181544230f2695bb21bc655d5c33246db970a5da.jpeg)

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 2:26pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/5 "2023-05-14T14:26:21Z")

</div>

help

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [May 14, 2023, 2:36pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/6 "2023-05-14T14:36:59Z")

</div>

Please re-read the advice given:

> [@HELPINDIA](#):
>
> Kindly check the hosting files!

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).

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 3:00pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/7 "2023-05-14T15:00:48Z")

</div>

okey i will reupload the file

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 3:23pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/8 "2023-05-14T15:23:41Z")

</div>

the same error even when i reuploads the files from my local xampp to website

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [May 14, 2023, 3:31pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/9 "2023-05-14T15:31:39Z")

</div>

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](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](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.

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [May 14, 2023, 3:36pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/10 "2023-05-14T15:36:37Z")

</div>

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.

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352):
>
> 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…

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 3:41pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/11 "2023-05-14T15:41:05Z")

</div>

> [@Http error 500](https://forum.infinityfree.com/t/http-error-500/49352/1):
>
> trying to access your website, you may see a page which returns the status code “500”. In Google Chrome,

this is my discord (ᴘʀᴇᴅᴀᴛᴏʀ 👑#2050)can i make call with you to do live screen and tell me what shoud i do ?

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 3:55pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/14 "2023-05-14T15:55:48Z")

</div>

i just reupload the same file using ftp connection with filezela and the same error happen

i just redownloaded home.php from the infintyfree host to my computer and its the same with the original home.php

---

<div class="post-metadata">

**Author:** ![Raoufbakhtia](https://forum.infinityfree.com/letter_avatar/raoufbakhtia/32/6_449c533f586939b6e5f246632a46421f.png) [@Raoufbakhtia](https://forum.infinityfree.com/u/Raoufbakhtia)\
**Post date:** [May 14, 2023, 3:57pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/15 "2023-05-14T15:57:19Z")

</div>

> [@Admin](#):
>
> 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 so

how i can do that ?

---

<div class="post-metadata">

**Author:** ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)\
**Post date:** [May 14, 2023, 4:00pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/16 "2023-05-14T16:00:12Z")

</div>

in your cPanel click this

 ![image](https://forum-cdn.infinityfree.net/original/3X/2/1/21ac22e3a6335241ed801013d540911efb7e5184.png)

then this  
 ![image](https://forum-cdn.infinityfree.net/original/3X/d/6/d6fbb2de43e8022b26964e52a2f95fc13b0b9f03.png)

then this  
 ![image](https://forum-cdn.infinityfree.net/original/3X/3/d/3df46ba2360074ae287d7e9eba3dc36d3add6361.png)

then reload your website and see whats going wrong

---

<div class="post-metadata">

**Author:** ![anon31714412](https://forum.infinityfree.com/letter_avatar/anon31714412/32/6_449c533f586939b6e5f246632a46421f.png) [@anon31714412](https://forum.infinityfree.com/u/anon31714412)\
**Post date:** [May 14, 2023, 4:12pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/17 "2023-05-14T16:12:35Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [May 14, 2023, 4:30pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/18 "2023-05-14T16:30:07Z")

</div>

It’s there in the code:

```auto
<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 />

```

You call a method `rowCount()` which does not exist; looking up online, the MySQLi equivalent is num\_rows: [PHP: mysqli\_stmt::$num\_rows - Manual](https://www.php.net/manual/en/mysqli-stmt.num-rows.php)

---

<div class="post-metadata">

**Author:** ![anon31714412](https://forum.infinityfree.com/letter_avatar/anon31714412/32/6_449c533f586939b6e5f246632a46421f.png) [@anon31714412](https://forum.infinityfree.com/u/anon31714412)\
**Post date:** [May 14, 2023, 4:33pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/19 "2023-05-14T16:33:59Z")

</div>

but why the same files works fine with xampp? can you add me to discord (ᴘʀᴇᴅᴀᴛᴏʀ 👑#2050) so i can show you live ?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 14, 2023, 4:44pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/20 "2023-05-14T16:44:00Z")

</div>

> [@anon31714412](#):
>
> can you add me to discord

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.

> [@anon31714412](#):
>
> but why the same files works fine with xampp?

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.

---

<div class="post-metadata">

**Author:** ![anon31714412](https://forum.infinityfree.com/letter_avatar/anon31714412/32/6_449c533f586939b6e5f246632a46421f.png) [@anon31714412](https://forum.infinityfree.com/u/anon31714412)\
**Post date:** [May 14, 2023, 4:46pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/21 "2023-05-14T16:46:01Z")

</div>

okey ,but if ire fixed this issue in home.php the other file has defreant issue you can see them  
and why its working fine localy ?

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [May 14, 2023, 4:47pm UTC](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144/22 "2023-05-14T16:47:03Z")

</div>

> [@anon31714412](#):
>
> and why its working fine localy ?

I already told you

> [@Greenreader9](#):
>
> 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.

> [@anon31714412](#):
>
> but if ire fixed this issue in home.php the other file has defreant issue you can see them

I am not sure what you are trying to say here

[Next page](https://forum.infinityfree.com/t/my-website-reload-but-stuck/76144.md?page=2)
