Forums

[Plugin: Statrix] Can't Exclude Users (20 posts)

  1. Anonymous
    Unregistered
    Posted 1 year ago #

    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

  2. e-sense
    Member
    Posted 1 year ago #

    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. :)

  3. Anonymous
    Unregistered
    Posted 1 year ago #

    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:

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

    Does that help?

  4. e-sense
    Member
    Posted 1 year ago #

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

  5. Anonymous
    Unregistered
    Posted 1 year ago #

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

  6. e-sense
    Member
    Posted 1 year ago #

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

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

    and paste me the result?

  7. Anonymous
    Unregistered
    Posted 1 year ago #

    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, webmaster@blog.domain.org 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.

  8. e-sense
    Member
    Posted 1 year ago #

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

  9. Anonymous
    Unregistered
    Posted 1 year ago #

    [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!

  10. e-sense
    Member
    Posted 1 year ago #

    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.

  11. Anonymous
    Unregistered
    Posted 1 year ago #

    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!

  12. e-sense
    Member
    Posted 1 year ago #

    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).

  13. Anonymous
    Unregistered
    Posted 1 year ago #

    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!

  14. e-sense
    Member
    Posted 1 year ago #

    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.

  15. Anonymous
    Unregistered
    Posted 1 year ago #

    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

  16. e-sense
    Member
    Posted 1 year ago #

    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.

  17. Anonymous
    Unregistered
    Posted 1 year ago #

    My work blocks chat, so I can't do that. Are you available tonight around 10:00 PST?

    Thanks so much!

  18. e-sense
    Member
    Posted 1 year ago #

    Just message me, I will respond when I am available.

  19. wmburke
    Member
    Posted 1 year ago #

    I seem to have this same issue. Is there a solution that didn't get posted?

    Thanks.

  20. e-sense
    Member
    Posted 1 year ago #

    I had not the chance to debug it, mjbigelow never messaged me.

    wmburke: you could message me at gtalk. My e-mail is esense -at- gmail -dot- com. I will be available tonight (timezone UTC/GMT +3 hours) after 18-19h. Please do contact me, because after tonight, I wont be able to help until 1st September (vacation). :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags