How do I Fix this

Get help using Construct 2

Post » Fri Jul 14, 2017 6:42 pm

Hi guys I have recently finished a project but I would love to host it myself so I have uploaded all the exported html5 files to 000webhost's file manager in the public folder. But when I go on my webpage my game is stuck on the loading screen. How can I stop this? You can try the website here http://bedfordadventures.uphero.com and see if the game loads for you. Because it might just be me but Im pretty sure its just not my computer. I have also ran the game through a local network and it works fine.
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,664

Post » Fri Jul 14, 2017 6:47 pm

If you look at the console, (F12 in Chrome), you'll see all of your images are missing (or inaccessible).
ImageImageImage
B
71
S
22
G
249
Posts: 3,763
Reputation: 138,577

Post » Fri Jul 14, 2017 7:53 pm

I also had the same problem when I tried uploading my game. Sometimes the images are not transferred properly. I re exported the game again and I re uploaded it again and it worked fine.

You should do that to, it will hopefully fix the problem.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Fri Jul 14, 2017 9:19 pm

@imhotep I have done this and all I get is a black screen and when i upload everything I have 104 files but when I count them in the webhost file uploader theres only 20
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,664

Post » Fri Jul 14, 2017 10:09 pm

You have an upload problem then. maybe the host provider has a limit on how many files you can transfer or there is a storage space limit. You can also try uploading the files using filezila if they allow ftp connections.

If you cannot fix it, well then you will probably need new host provider.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sat Jul 15, 2017 8:26 am

@imhotep22 Im going to move on what free host provider that has loads of free memory would you use?
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,664

Post » Sat Jul 15, 2017 11:27 am

I am using https://byet.host/ for 2 years now, it has a free package with unlimited storage. Only limit is how many visits can you get per day, the free package is capped around 5-8k visits which is fine for me.
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sat Jul 15, 2017 1:10 pm

@imhotep22 I am now using byet I have uploaded all my game files to the filemanager in the folder htdocs ad now when I go on my website it says Congratulations! Your free hosting account has been activated.
You can now use FTP or the file manager in your cPanel to upload your site.
How do I get my game running I have exported the index . html and all the other files but nothing comes up. Here's my site http://laurencebedford.byethost33.com/
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,664

Post » Sat Jul 15, 2017 2:09 pm

You have to be careful where you upload the files, there is a file hierarchy that must be maintained.

it goes like this domain_name -> htdocs -> index.html

The starting file has to always be index.html the first folder has to be the domain name address example gametest.byethost7.com and inside it there has to be folder called htdocs.

Also in the root directory you have to have folder called logs, if you delete any of those or rename them it wont work.

I am not using their online manager to upload files, instead I am using filezila to directly connected to the ftp server they provide you, and I upload the files there.

Here is a screenshot of my test server folders. You should set yours the same, with different names of course.

https://s22.postimg.org/qtmn1p69t/Screenshot_1.jpg
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sat Jul 15, 2017 8:43 pm

Thanks @imhotep22
Image
B
29
S
15
G
12
Posts: 312
Reputation: 9,664

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 11 guests