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 ElijahNomad

I'm having a problem were weltmeister doesn't show the unititled.js level. When I start the editor this shows. If i happen to close the editor and try to reopen it using http://localhost/projectname/weltmeister.html I get nothing. I must be doing something wrong just don't know what it is.

1 decade ago by dominic

Are there any errors in your browser's console?

1 decade ago by ElijahNomad

Everything fixed up. Bad reference to game object :O

1 decade ago by aandnota

I'm having a similar issue.

My JS console is showing me the following errors:

#Uncaught Failed to load entity list via glob.php: SyntaxError: Unexpected token <
<?php
require_once( 'config.php' );

$globs = is_array($_GET['glob']) ? $_GET['glob'] : array($_GET['glob']);
$files = array();
foreach( $globs as $glob ) {
$pattern = WM_Config::$fileRoot . str_replace( '..', '', $glob );
$files = array_merge( $files, (array)glob( $pattern ) );
}

$fileRootLength = strlen( WM_Config::$fileRoot );
foreach( $files as $i => $f ) {
$files[$i] = substr( $f, $fileRootLength );
}

echo json_encode( $files );

?> jquery-1.7.1.min.js:4
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) impact.js:287
#

1 decade ago by dominic

aandnota: your server is not processing the PHP scripts. Make sure PHP is enabled and working correctly.

You could also try to run PHPs built-in webserver that comes with newer versions. See this thread.
Page 1 of 1
« first « previous next › last »