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 Ben

Hi everyone,

I just bought Impact and was happy to install it and learn, learn, learn ...
The only problem is that installation simply doesn't work...
Here's my dev installation : http://impactjs.sushee.fr

You can see that :

- Php is OK : http://impactjs.sushee.fr/php.php
- Weltmeister is not : http://impactjs.sushee.fr/weltmeister.html
- The ajax request returns "false" and THAT is strange : http://impactjs.sushee.fr/lib/weltmeister/api/glob.php?glob[]=lib%2Fgame%2Fentities%2F*.js

Idea anyone ?

Thank you !

1 decade ago by gxxaxx

Hello Ben,

I'm kinda new to impact as well. Having a great time with.
Learning to hate missing "this" and errant commas.

Have you tried using the xampp installation on your local box?
Seems like running over the web just adds extra possibilities for trouble.

If you can get the localhost version working, then you might be able to sort out server configuration vs. impact setup issues. (by the way, mine ran right out of the box)

Just a thought. Hope you get it working soon.

1 decade ago by Ben

I'll try, it maybe the solution, but it's a disgrace, I like to develop online directly...
Thank for your help !

1 decade ago by dominic

The glob.php probably can&039;t read the directory contents, hence it returns #false. PHP needs to have x (execute) rights on the lib/game/entities/ and the media/ directory in order to browse them. You can change these with you FTP program; look for "chmod".

I recommend developing locally, though. You don't have to use XAMPP - it's an easy solution, but somewhat overblown. Installing Apache and PHP on your own is a bit more challenging, but gives you more control.

Also, a public Weltmeister installation is a security risk, because everyone visiting this URL can save .js files on your server, possibly overwriting your own maps and code. Furthermore, I'd be happy if you don't have all Impact files, especially Weltmeister, publicly on your server - I'm still trying to sell these :)

So if you decide to develop online, please add a password or use a "secret" URL.

1 decade ago by Ben

@dominic you're right, thank you, it is now protected.
The strange thing is I gave 777 rights to every directory, but still, it didn't work.
Then I installed it on my localhost, and now it works. Very strange.

Anyway, thank you for your help !
Page 1 of 1
« first « previous next › last »