antisplog and Are You A Human error

I activated Are you a Human and got an error on first site signup

where the are u a human box should be. I checked the log file and it had a whole bunch of lines of this error

[02-Aug-2012 00:26:42] AYAH: ayah_config.php missing; will require setting of specific values.

It seems if I have the Plugin Active it get that error If I don’t have it active it doesn’t give that error.

If I turn off show on registration form still has that error. How can I use Are you a Human with my site and Anti Splog?

  • Timothy
    • Chief Pigeon

    hmmm it works for me on my install here.

    How do you mean Antisplog setup and plugin setup? Are we talking about two plugins here? If so which?

    Might be worth removing the plugin files, downloading a fresh set, unpacking and uploading them then trying again double checking that the Are You Human API keys are correct from the.

    Let me know how you go.

    Take care.

  • HamRadioDude
    • HummingBird

    I have Ar u a human plugin installed also I have antislog installed. I activated Ar u a human in the plugins also picked are u a human in the antisplog setting

    Removed re-downloaded Are You A Human Plugin, Logged in checked my keys entered it in the plugin and the antisplog setup

    went to signup for a blog and got this error in place of the spot enter is

    Fatal error: Cannot redeclare class AYAH in /home/xxxxxx/public_html/wp-content/plugins/anti-splog/includes/ayah.php on line 44

  • Timothy
    • Chief Pigeon

    Hey again.

    The error there is because the class is trying to be used twice.

    Remove the other plugin you refer to and use the one in Anti Splog. Or don’t have the option selected in Anti Splog because other wise both plugins will try to redeclare the same class and fail as it is in the error you posted.

    Take care.

  • Timothy
    • Chief Pigeon

    Yeah it they can work together, just don’t enable the Are You Human option in the Anti-splog settings.

    Then it won’t get called on the signup page.

    Or if you wanted to use the Anti-Splog one instead then the other plugin has an option to turn them off for the signup page.

    Really though you only need one.

    Take care.

  • HamRadioDude
    • HummingBird

    Checked the error_log in the root of the site and got a lot of these errors

    [06-Sep-2012 02:28:31] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:29:14] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:29:49] AYAH: ayah_config.php missing; will require setting of specific values.

    Now mind you Are you human plugin is disabled on all blogs and the Are you Human is also Disabled on the antisplog plugin.

    I would like Are you human code removed from Antisplog since there is a plugin for it and you have to get an API key anyway.. or the other option is fix it :>

  • Aaron
    • CTO

    The class is always included, and that custom log entry it adds is kinda annoying. It’s just a notice, but bad practice by them.

    Actually this message isn’t even in the class that antisplog includes. Perhaps you have another plugin installed that uses the AYAH api?

  • HamRadioDude
    • HummingBird

    there is another error that keeps appearing I put in another thread.

    I just re-looked at the errors and It might be related as there is a pattern

    [06-Sep-2012 01:59:20] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:00:48] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:00:49] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:03:58] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:03:59] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:13] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:14] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:23] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:36] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:38] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:39] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:39] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:40] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:41] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:42] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:04:55] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:04] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:15] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:18] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:18] WordPress database error Table 'bloginsp_blogsites.wp_domain_mapping' doesn't exist for query
    SELECT wpdm.domain as mapped_domain, wpblogs.* FROM wp_blogs wpblogs
    LEFT JOIN wp_domain_mapping wpdm
    ON wpblogs.blog_id = wpdm.blog_id AND wpdm.active = 1
    WHERE wpblogs.public = 1 AND wpblogs.spam = 0 AND wpblogs.deleted = 0 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('do_robots'), call_user_func_array, do_robots, apply_filters('robots_txt'), call_user_func_array, BWP_SIMPLE_GXS->do_robots
    [06-Sep-2012 02:05:18] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:19] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:05:20] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:07:44] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:07:45] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:11:11] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:11:12] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:11:47] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:13:14] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:13:20] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:14:39] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:14:40] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:18:07] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:18:08] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:20:21] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:20:22] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:21:32] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:21:33] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:21:47] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:21:47] WordPress database error Table 'bloginsp_blogsites.wp_domain_mapping' doesn't exist for query
    SELECT wpdm.domain as mapped_domain, wpblogs.* FROM wp_blogs wpblogs
    LEFT JOIN wp_domain_mapping wpdm
    ON wpblogs.blog_id = wpdm.blog_id AND wpdm.active = 1
    WHERE wpblogs.public = 1 AND wpblogs.spam = 0 AND wpblogs.deleted = 0 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('do_robots'), call_user_func_array, do_robots, apply_filters('robots_txt'), call_user_func_array, BWP_SIMPLE_GXS->do_robots
    [06-Sep-2012 02:24:40] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:24:57] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:25:02] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:25:03] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:26:23] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:26:44] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:26:48] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:26:49] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:27:30] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:28:30] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:28:31] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:29:14] AYAH: ayah_config.php missing; will require setting of specific values.
    [06-Sep-2012 02:29:49] AYAH: ayah_config.php missing; will require setting of specific values.

  • HamRadioDude
    • HummingBird

    This was marked as resolved and it really is not a question was asked

    Perhaps you have another plugin installed that uses the AYAH api?

    and that response was the message above. I just check 3 days after posting the above error_log and the errors are still there.

    the Database error would that come from the domain mapping plugin?

    SELECT wpdm.domain as mapped_domain, wpblogs.* FROM wp_blogs wpblogs
    LEFT JOIN wp_domain_mapping wpdm
    ON wpblogs.blog_id = wpdm.blog_id AND wpdm.active = 1
    WHERE wpblogs.public = 1 AND wpblogs.spam = 0 AND wpblogs.deleted = 0 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'),

    I just Deleted are you human and activated it on the antisplog.

    Now the ayah_config.php error is gone but the error I posted on this message is there now one after another. so I guess forget about the are you human and we need to figure out what this error is and why its happening.

    thanks

  • HamRadioDude
    • HummingBird

    I just checked now there is no error log in the root going to check again in a day or two. after turning the are you human plugin off and deleting it there was the above error one after another an no other error before or after. but like I said now no error log

    I will mark as resolved for now

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.