Menu

Main menu problem, buttons not working

Help
2010-09-05
2014-02-05
  • Daniele Piaggesi

    Hi, I'm trying to use WebChess, but I still didn't manage to make it work… i can register a new account, but when I try to click on any button in the menu, nothing happens, no error, no action… nothing… can it be that i forgot to configure something on apache? or what? please help!
    My configuration is Apache 2.2.14 PHP 5.3.2 MySQL 5.1.41 trying to run WebChess 1.0.0rc2.
    Thanks

     
  • Jonathan Evraire

    It almost sounds as if you have the server set up properly (PHP, MySQL) but your browser isn't running JavaScript.  Make sure your browser has JavaScript and cookies turned on for the WebChess website.

    Which operating system/browser are you using?  Have you tried disabling plugins?  Have you tried a different browser or a different machine?

      Jonathan

     
  • Daniele Piaggesi

    It's ubuntu lucid, tried both with chromium and firefox… same result… and i think it's not browser fault… i navigate through website without problems… it should be something related to the server.

    Daniele

     
  • Jonathan Evraire

    I also use Ubuntu Lucid with Firefox (but have tested with Chrome), so it should work!

    Have you looked in the user table under MySQL and confirmed your user is actually in there? (I'm pretty sure it is or you would have a different error.)  Since you're using Firefox, can you go in Tools -> Error Console and see if anything turns up there?  Are there any errors in your web server log?

    Any additional information you can provide would be helpful, thanks!

      Jonathan

    PS: I used to use apache but now I generally prefer lighttpd for its lower footprint. ;)

     
  • Jonathan Evraire

    Also, create a test.php file with nothing but the following in it:

    <?php phpinfo(); ?>

    Stick that on your webserver and browse to it in Firefox.  Can you confirm it shows MySQL support?  Thanks!

     
  • cowboy

    cowboy - 2010-09-08

    Update: it works from apache running on windows 7, still doesn't works on apache under linux… can't figure out what's the matter…
    (mysql works, no error under firefox)… :(

     
  • Jonathan Evraire

    I can also confirm it works with lighttpd and linux.  It definitely sounds like your Apache configuration is at fault somehow.

     
  • Trevor Bradley

    Trevor Bradley - 2014-02-05

    Just a quick note that I hit this exact same problem today, and managed to solve it. The problem was a default Apache config file in /etc/apache2/conf.d/javascript-common.conf, which contained the line:

    Alias /javascript /usr/share/javascript/

    The javascript directory was being redirected to /usr/share, and the server was spitting 404 errors loading any file in the /javascript/ directory.

    Deleting the javascript-common.conf file and restarting the server fixed the problem.

    I'm using a standard Ubuntu 12.04 install on a Linode cloud server, and this conf file appeared with stock apache.

     

Log in to post a comment.

MongoDB Logo MongoDB