Anyone ever seen this one?
Play.aspx?id=xihotmn5h0qdtpgipyp6lg:1 Failed to load http://textadventures.co.uk/games/save/?id=xihotmn5h0qdtpgipyp6lg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://play2.textadventures.co.uk' is therefore not allowed access. The response had HTTP status code 500.
I can save other games, but this one doesn't want to be saved. (This game is quite large. It has around 70,000 lines of code.)
The entire console.log:
$("#cmdSave").click()
n.fn.init [button#cmdSave.ui-button.ui-widget.ui-state-default.ui-corner-all.ui-button-text-only, context: document, selector: "#cmdSave"]
2jquery-2.1.1.min.js:4 POST http://textadventures.co.uk/games/save/?id=xihotmn5h0qdtpgipyp6lg net::ERR_ABORTED
send @ jquery-2.1.1.min.js:4
ajax @ jquery-2.1.1.min.js:4
saveGameResponse @ player.js?c=197877067:239
(anonymous) @ VM2481:1
_loadScriptsInternal @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
_nextSession @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
_loadScriptsInternal @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
_nextSession @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
loadScripts @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
_onFormSubmitCompleted @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
(anonymous) @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
(anonymous) @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
completed @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
_onReadyStateChange @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
XMLHttpRequest.send (async)
executeRequest @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
executeRequest @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
invoke @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
_onFormSubmit @ ScriptResource.axd?d=Ry1QvbYvA4dT8x8gd_4RY4g3T3dND9FU9-VDkamR07D4MIn9GrLjITzmTGsdxZEdHwf3FVXFm0Hu3CEFDCuAEsPznqXmQkWC0aj9XvWKq5vJ-h-syN2F6YO8R0IstyM-nyNgiPe5gIuuES_bytyDOnHGUeee6zwDZXY9l-nfLt0-kbHhQU9BzPUVWK_2xnaK0&t=ffffffffcce8aaf2:5
(anonymous) @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
b @ ScriptResource.axd?d=S-Ww5Ja7mC4qCfo__Mam4WkUj-PSDLRxNIS9-1KIrhRtJ-kbYr6gLKIHS9fEgSJU8xt-cpV6bYKAeDL550CB7vB5b2yRp1D3_BCRUFxyiovGSGrW1atpUDYLLAq_2jl_xXcn-F5p57uM_SjnSnZzQBZBfb7C1fgDLWS00X-swPA1&t=ffffffffcce8aaf2:5
trigger @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
each @ jquery-2.1.1.min.js:2
each @ jquery-2.1.1.min.js:2
trigger @ jquery-2.1.1.min.js:3
n.fn.(anonymous function) @ jquery-2.1.1.min.js:4
(anonymous) @ player.js?c=197877067:233
setTimeout (async)
saveGame @ player.js?c=197877067:230
(anonymous) @ playercore.js?c=197877067:33
dispatch @ jquery-2.1.1.min.js:3
r.handle @ jquery-2.1.1.min.js:3
trigger @ jquery-2.1.1.min.js:3
(anonymous) @ jquery-2.1.1.min.js:3
each @ jquery-2.1.1.min.js:2
each @ jquery-2.1.1.min.js:2
trigger @ jquery-2.1.1.min.js:3
n.fn.(anonymous function) @ jquery-2.1.1.min.js:4
(anonymous) @ VM2463:1
Play.aspx?id=xihotmn5h0qdtpgipyp6lg:1 Failed to load http://textadventures.co.uk/games/save/?id=xihotmn5h0qdtpgipyp6lg: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://play2.textadventures.co.uk' is therefore not allowed access. The response had HTTP status code 500.
player.js?c=197877067:249 error
player.js?c=197877067:250
How big is a save game? You could try on the desktop version to see.
A blank game is around 322 kb just with the built in stuff. Is it vastly more than that?
Nearly 10 Mb is big! I do not know if there is a limit, but seems likely to be the issue. I have no access to the servers, so cannot offer any more advice I am afraid.
CheeseMyBaby, if you are worried (and using the desktop version) do a save and check the file size. You will finds it is well short of 10 Mb.
Hello K.V.
I'm going to review and as soon as I can I'll tell you something about it.
K.V. please, can you login in secure mode in https://textadventures.co.uk and try?
Hello, manowar!
I just tried it, and I get this now:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://textadventures.co.uk/games/save/?id=xihotmn5h0qdtpgipyp6lg. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
I'll send you a message with more details. (It isn't my game. I'm just helping out a little.)
I think the error messages are worded differently because I was using Chrome the first time and Firefox the second time.