• In the Statrix > Options section, I highlight the admin user in the Exclude Users box and click the >> button. The error that pops up in Firebug is “moveSelectedOptions is not defined”. Any ideas how to fix that?

    Also, there are some minor bugs, such as the graph not displaying. Any ideas?

    Thanks!
    Mark

Viewing 15 replies - 1 through 15 (of 19 total)
  • Regarding both of your problems, I think that your blog doesn’t include Statrix’s javascript file properly. And I think I know where the problem might be.

    Can you just go on your blog Settings and tell me, is your WordPress address (URL) different than your Blog address (URL)?

    Thank you. ??

    Thread Starter 842200

    The blog address is blog.domain.org and the WordPress address is blog.domain.org/wp-admin.

    Here’s how it includes the javascript file:

    https://blog.domain.org/wp-content/plugins/statrix/resources/statrix.js.php?statrix_action=options”

    Does that help?

    No, that’s not what i meant.
    When you go to Site Admin->Settings->General, are these two settings different?
    https://e-sense.clearcode.org/wp_address_settings.png

    Thread Starter 842200

    Oh, gotcha. Nope, the addresses are the same. Could it be a permissions issue?

    Hmm.. OK. Can you open the Statrix javascript include in your browser (be sure you are logged as admin first):

    https://blog.domain.org/wp-content/plugins/statrix/resources/statrix.js.php?statrix_action=options

    and paste me the result?

    Thread Starter 842200

    The result is:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    edit: if it’s error 500, that means that there would be a more descriptive error message in your http server’s error log.

    Thread Starter 842200

    [2008-08-06 17:15:47]: error: directory is writable by others: ([blog path]/wp-content/plugins/statrix/resources)

    and

    [Wed Aug 6 17:15:47 2008] [error] [client 199.73.1.1] Premature end of script headers: [blog path]/wp-content/plugins/statrix/resources/statrix.js.php

    Thanks so much for your help!

    Well… OK. So there are two errors. Let’s fix the easy one first. You have to change your resources directory’s permissions. You should change the permissions of all Statrix directories and files, in case that they are writable by others too.

    If your server is running Linux, you change the permissions recursively executing this:

    chmod 755 wp-content/plugins/statrix -R

    After you do this, please test again and write me the result. I doubt that it will start working by fixing only this, but we could try. ??

    If it doesn’t start working after the permissions fix, we will continue with the second error.

    Thread Starter 842200

    Thanks for the tip. I have done that. The permissions were 777, so I updated them to 755.

    I checked the error log and it’s empty, but I still get the 500 error. Shall we tackle problem 2?

    Thanks!

    OK, now you should try to execute the Statrix javascript file trough command line.
    Go in wp-content/plugins/statrix/resources and execute this:

    php statrix.js.php

    After, paste me the result here. If it’s too long, you can send me an e-mail (esense -at- gmail -dot- com).

    Thread Starter 842200

    I’m not going to be able to do that, I don’t think. This server is hosted remotely by siteground.com. I don’t think I can access it by command line. Is there anything else I can do?

    Thanks!

    Has your hosting provider disabled the use of the system function?
    If not, you could create a file.php with such content:

    <?php
    system("php statrix.js.php");
    ?>

    Upload it in wp-content/plugins/statrix/resources and execute it trough your browser.

    Thread Starter 842200

    Here’s the result:

    X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html X-Powered-By: PHP/5.2.5 Content-type: text/html

    Hmmmmm… this is very strange. Honestly, I have no idea what could be the cause. We can try to debug it though.
    But we are not able to do it here, we need a real-time conversation. Do you mind if you contact me at gtalk? You know my e-mail.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Statrix] Can’t Exclude Users’ is closed to new replies.