Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by thChickenOD

I just bought Impact today, and can't get Weltmeister to load properly. None of the buttons work and it is completely unresponsive. Is there a known fix for this problem? I've read through several other threads about it but none of the fixes seemed to apply to me. I've installed xampp and my PHP (version 5.4.4) is working. Any help would be greatly appreciated. Thanks.

Here's the error:

XMLHttpRequest cannot load file:///C:/xampp/htdocs/residentraver/lib/weltmeister/api/glob.php?glob[]=lib%2Fgame%2Fentities%2F*.js&nocache=0.9654493250418454. Origin null is not allowed by Access-Control-Allow-Origin.
Uncaught Failed to load entity list via glob.php: Error: NETWORK_ERR: XMLHttpRequest Exception 101
undefined entities.js:50
Uncaught Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules:
weltmeister.weltmeister (requires: weltmeister.edit-entities)
weltmeister.edit-entities (requires: weltmeister.entities)

1 decade ago by thChickenOD

Nevermind! I got it. Simple error.

1 decade ago by killbot

What was the solution?

1 decade ago by jaymzcd

I had something similar - I just had to set my php open_basedir value to one that would allow the files to glob ok. For local development you could get away with having the following in your php.ini then restarting httpd:

open_basedir = none

1 decade ago by Filip

I'm getting the same Weltmeister errors on a fresh Impact install. I'm running PHP 5.3.3 and have tried altering open_basedir but that doesn't make any difference. Example games load fine but Weltmeister doesn't.

Any ideas on what I need to do on my server to make it work?

1 decade ago by dominic

If it&039;s really the same error (#XMLHttpRequest cannot load file:///C:/xampp/htdocs/...) the URL implies that you're trying to run Weltmeister from the file system. You have to access the weltmeister.html through your webserver on http://localhost/

So, what's the exact error message?

1 decade ago by Filip

Sorry for hijacking a thread if it's different. At first glance it looked like the same issue. Here's what I'm getting on the console:

TypeError: files[i].replace is not a function
[Break On This Error]

var name = files[i].replace(/^lib\/|\.js$/g,'').replace(/\//g, '.');

entities.js (line 38)

uncaught exception: Unresolved (circular?) dependencies. Most likely there's a name/path mismatch for one of the listed modules: weltmeister.weltmeister (requires: weltmeister.edit-entities) weltmeister.edit-entities (requires: weltmeister.entities)

I've looked in my PHP log and can't find anything there. Any pointers? Thanks for stepping in to help.
Page 1 of 1
« first « previous next › last »