Project not loading when viewed from LMS

Bugs will be moved here once resolved.

Post » Tue Apr 26, 2016 2:30 pm

Message: nlacroixcforp can only post plain text URLS until they have 500 rep. 3 URLS modified. Why?
Problem Description

Hi,

I am currently exploring Construct 2 for integration in online classes that the company I work for are developping.

Compatibility is one the most important thing that is required and so far almost everything works.

Our only issue is when seeing the project on a iPad or Mac (safari) through the LMS that we use (d2l), the project simply wont load and is stuck in Construct2's loading page.

The bug can be viewed here (http://test.reverbwebdesign.com/screen1.png).

And here is the console on Safari (http://test.reverbwebdesign.com/screen2.png)

However, the project works when viewed from my personal domain. So the problem comes from the LMS.

Any idea on what can fix this?

Thanks alot.

The working project can be viewed on http://test.reverbwebdesign.com/, but the LMS version cannot be shared on this forum.

Affected Browsers
    Chrome (ipad)
    Safari (Mac and iPad)

Operating System and Service Pack
Safari on Mac
Browsers on iPad
*Note: Strangely, safari 5 on windows 7 does work.

Construct 2 Version ID
227
B
5
Posts: 12
Reputation: 249

Post » Mon May 02, 2016 1:03 pm

After further investigation, I found out that the issue was linked to the images not being able to load.

I deleted the code that stops the script when finding the error, and the project loads without the images showing.

The code I removed is :

img_["cocoonLazyLoad"] = true;
img_.onerror = function (e)
{
img_.c2error = true;
anyImageHadError = true;
if (console && console.error)
console.error("Error loading image '" + img_.src + "': ", e);
};

The error on the console is: Error loading image 'Image source here'.

It is important to note that the link to the image is good.

Thanks alot for any help you can give me,

Nicolas Lacroix,

Web programmer
B
5
Posts: 12
Reputation: 249

Post » Mon May 02, 2016 1:32 pm

Sorry, there's nothing we can do about this without at least a link to investigate.

Most reports like this are simply because you forgot to upload all the files, so the images are returning 404 not found. This is a very common mistake. Alternatively the server configuration may be set to only serve files from a specific path and not a subfolder, or something like that.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031

Post » Mon May 02, 2016 1:50 pm

I found a alternative so this topic is now obsolete.

How do I delete this forum post?
B
5
Posts: 12
Reputation: 249


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests