Echoes Posted August 22, 2015 Share Posted August 22, 2015 My phaser game is working fine in my local server, but when I am uploading it to web server, it gives the following error.. Phaser.Loader - image[name]: error loading asset from URL assets/name.png.Thanks. Link to comment Share on other sites More sharing options...
Echoes Posted August 23, 2015 Author Share Posted August 23, 2015 It does not load any of the picture. Have not anybody faced such problem? Link to comment Share on other sites More sharing options...
tips4design Posted August 23, 2015 Share Posted August 23, 2015 If you access directly yourdomain.com/assets/name.png (or whatever the link is) is the file there? What do you see if you go to the Network tab in the Developer Tools menu (CTRL+SHIFT+I on Chrome) Link to comment Share on other sites More sharing options...
Echoes Posted August 23, 2015 Author Share Posted August 23, 2015 with mydomain.com/assets/name.png (or whatever the link is) not working too, error is the same. Link to comment Share on other sites More sharing options...
tips4design Posted August 23, 2015 Share Posted August 23, 2015 Well, that means you did not upload the files at that location. Try uploading the files again. Link to comment Share on other sites More sharing options...
Echoes Posted August 23, 2015 Author Share Posted August 23, 2015 Files are in the server, I tried it at first, I can easily open my images, but it is not loading to my game. Link to comment Share on other sites More sharing options...
tips4design Posted August 23, 2015 Share Posted August 23, 2015 Do you have a link to your game? Link to comment Share on other sites More sharing options...
Echoes Posted August 23, 2015 Author Share Posted August 23, 2015 ... Link to comment Share on other sites More sharing options...
uyerdna Posted August 23, 2015 Share Posted August 23, 2015 Your game is working perfectly fine to me (Firefox 40.0.2 Win 8) Link to comment Share on other sites More sharing options...
Echoes Posted August 23, 2015 Author Share Posted August 23, 2015 but not working in chrome Link to comment Share on other sites More sharing options...
PeterBuju Posted April 27, 2016 Share Posted April 27, 2016 Any updates ? I can access my images through domain.com/assets/images/image.png, however get an error when trying to load the image (error loading asset from URL assets/images/image.png) Link to comment Share on other sites More sharing options...
PeterBuju Posted April 27, 2016 Share Posted April 27, 2016 SOLVED: My issue was that while on the localhost, things aren't case sensitive. The fact that my folder was named "Tutorial" and the link string was "tutorial" screwed things up when uploading it on the webserver. issey 1 Link to comment Share on other sites More sharing options...
drhayes Posted April 27, 2016 Share Posted April 27, 2016 Are you on OSX? OSX uses a case-preserving filesystem, which is somewhere in-between "case sensitive" and "case insensitive" and, really, just causes problems like this. Sorry you lost time to this. issey 1 Link to comment Share on other sites More sharing options...
Recommended Posts