CustomImgCaptcha: Spam Combat 2.4.1

CustomImgCaptcha: Spam Combat 2.4.1 2.4.1

No permission to download
The error is a bit strange, since there is only one place the log datawriter is called from, and at the point just before it, full_url is set.

Can you try un-installing it and reinstalling it (you might have a broken table / other)

hmm, okay, tried that, had to wait a while for someone to register, but i'm still getting the error. i can pm you login info if you'd like to take a look at the full error log.
 
Can you check this file:
libray/Tac/CustomImgCaptcha/Model/Log.php

and inside that file, at approximately line 29, does this exists:

$log_details['full_url'] = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];
 
Can you check this file:
libray/Tac/CustomImgCaptcha/Model/Log.php

and inside that file, at approximately line 29, does this exists:

$log_details['full_url'] = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];

yep, copied directly from log.php:

$log_details['full_url'] = "http://".$_SERVER["HTTP_HOST"].$_SERVER["REQUEST_URI"];
 
Then it's a very strange error (it has a default, and it is always set)

I haven't seen this on any install (all 1.2), and haven't heard of anyone getting this error

Do you use any other addons that might affect the registration?
 
hmm, i don't think so, but here's a list of plugins i have installed:




Code:
    Add VigLink Code    1.0
    Add-on Install & Upgrade    1.0.5
    Conversation on Moderator Action by Waindigo    1.0.3
    DC - Staff Room Unread    1.0.0 Beta 1
    Easy ban users    1.0.1
    Enable Debug From Admin Home    1.1a
    Inactive User Mail Notifier    1.2
    Monthly Email    1.0.4
    New User Notification System    2.1
    Post Ratings    1.6.0
    ragtek Quote Post Conversation    1.1
    Separate Sticky and Normal Threads    1.0
    Show Similar Threads On Thread Creation    1.1.7
    Sitemap for XenForo    1.3.1
    Social    Beta 2
    TaigaChat    0.5.5
    Tapatalk    1.8.0
    Template Modification System    1.3 Beta 3
    User Self Delete    1.0.2
    ****** - Advanced Forum Statistics    1.4.0
    XenForo Resource Manager    1.0.0
    [8wayRun.Com] XenAtendo (Events)    1.5.0
    [8wayRun.Com] XenCarta (Wiki)    1.3.9
    [8wayRun.Com] XenMedio (Media)    1.5.3
    [8wayRun.Com] XenPorta (Portal)    1.5.9
    [8wayRun.Com] XenUtiles (Tools)    1.2.2
    [CrazyIM] Profile Links    1.2.1
    [GP] Donations    1.1.2
    [Iversia] FAQ Manager    2.0.2
    [RT] Online Status Ribbon    1.3.6
    [tLk] ReadPC    1.1.0
    [xfr] User Albums    1.0.0 b7
1.0
Add-on Install & Upgrade 1.0.5
Conversation on Moderator Action by Waindigo 1.0.3
DC - Staff Room Unread 1.0.0 Beta 1
Easy ban users 1.0.1
Enable Debug From Admin Home 1.1a
Inactive User Mail Notifier 1.2
Monthly Email 1.0.4
New User Notification System 2.1
Post Ratings 1.6.0
ragtek Quote Post Conversation 1.1
Separate Sticky and Normal Threads 1.0
Show Similar Threads On Thread Creation 1.1.7
Sitemap for XenForo 1.3.1
Social Beta 2
TaigaChat 0.5.5
Tapatalk 1.8.0
Template Modification System 1.3 Beta 3
User Self Delete 1.0.2
****** - Advanced Forum Statistics 1.4.0
XenForo Resource Manager 1.0.0
[8wayRun.Com] XenAtendo (Events) 1.5.0
[8wayRun.Com] XenCarta (Wiki) 1.3.9
[8wayRun.Com] XenMedio (Media) 1.5.3
[8wayRun.Com] XenPorta (Portal) 1.5.9
[8wayRun.Com] XenUtiles (Tools) 1.2.2
[CrazyIM] Profile Links 1.2.1
[GP] Donations 1.1.2
[Iversia] FAQ Manager 2.0.2
[RT] Online Status Ribbon 1.3.6
[tLk] ReadPC 1.1.0
[xfr] User Albums 1.0.0 b7
 
also, im uninstalling the captcha plugin and attempting to register an account to see if it still gives the error. i'll let you know what happens :)
 
okay, it seems that even after uninstalling this plugin, it's throwing errors:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli prepare error: Table '***.sf_customimgcaptcha_answers' doesn't exist - library/Zend/Db/Statement/Mysqli.php:77
Generated By: Unknown Account, A moment ago
Stack Trace

#0 *squattheplanet.com/html/community/library/Zend/Db/Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('????SELECT *???...')
#1 *squattheplanet.com/html/community/library/Zend/Db/Adapter/Mysqli.php(381): Zend_Db_Statement->__construct(Object(Zend_Db_Adapter_Mysqli), '????SELECT *???...')
#2 *squattheplanet.com/html/community/library/Zend/Db/Adapter/Abstract.php(478): Zend_Db_Adapter_Mysqli->prepare('????SELECT *???...')
#3 *squattheplanet.com/html/community/library/Zend/Db/Adapter/Abstract.php(753): Zend_Db_Adapter_Abstract->query('????SELECT *???...', Array)
#4 *squattheplanet.com/html/community/library/CustomImgCaptcha/Model/Captcha.php(31): Zend_Db_Adapter_Abstract->fetchRow('????SELECT *???...')
#5 *squattheplanet.com/html/community/library/CustomImgCaptcha/Captcha/Captcha.php(73): CustomImgCaptcha_Model_Captcha->getCaptchaByRand()
#6 *squattheplanet.com/html/community/library/XenForo/Captcha/Abstract.php(40): CustomImgCaptcha_Captcha_Captcha->renderInternal(Object(XenForo_ViewPublic_Register_Form))
#7 *squattheplanet.com/html/community/library/XenForo/ViewPublic/Base.php(11): XenForo_Captcha_Abstract->render(Object(XenForo_ViewPublic_Register_Form))
#8 *squattheplanet.com/html/community/library/XenForo/ViewRenderer/Abstract.php(220): XenForo_ViewPublic_Base->prepareParams()
#9 *squattheplanet.com/html/community/library/XenForo/ViewRenderer/HtmlPublic.php(67): XenForo_ViewRenderer_Abstract->renderViewObject('XenForo_ViewPub...', 'Html', Array, 'register_form')
#10 *squattheplanet.com/html/community/library/XenForo/FrontController.php(572): XenForo_ViewRenderer_HtmlPublic->renderView('XenForo_ViewPub...', Array, 'register_form', NULL)
#11 *squattheplanet.com/html/community/library/XenForo/FrontController.php(158): XenForo_FrontController->renderView(Object(XenForo_ControllerResponse_View), Object(XenForo_ViewRenderer_HtmlPublic), Array)
#12 *squattheplanet.com/html/community/index.php(13): XenForo_FrontController->run()
#13 {main}

Request State

array(3) {
  ["url"] => string(47) "http://squattheplanet.com/community/login/login"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(6) {
    ["login"] => string(4) "fasd"
    ["register"] => string(1) "1"
    ["remember"] => string(1) "1"
    ["cookie_check"] => string(1) "1"
    ["redirect"] => string(11) "/community/"
    ["_xfToken"] => string(8) "********"
  }
}

when i attempted to register without the plugin installed, i got a database error and was unable to register. so i'm assuming that no one will be able to register for my forum unless the plugin is installed, and maybe occasionally not even then.

could this be caused by https? i have my .htaccess set up to do https by default.
 
ok, i re-installed the plugin, attempted to register, and am still getting the 'full_url' error:

Code:
Error Info
Zend_Db_Statement_Mysqli_Exception: Mysqli statement execute error : Field 'full_url' doesn't have a default value - library/Zend/Db/Statement/Mysqli.php:214
Generated By: Unknown Account, 2 minutes ago
Stack Trace

#0 *squattheplanet.com/html/community/library/Zend/Db/Statement.php(297): Zend_Db_Statement_Mysqli->_execute(Array)
#1 *squattheplanet.com/html/community/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 *squattheplanet.com/html/community/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `sf...', Array)
#3 *squattheplanet.com/html/community/library/XenForo/DataWriter.php(1612): Zend_Db_Adapter_Abstract->insert('sf_customimgcap...', Array)
#4 *squattheplanet.com/html/community/library/XenForo/DataWriter.php(1601): XenForo_DataWriter->_insert()
#5 *squattheplanet.com/html/community/library/XenForo/DataWriter.php(1393): XenForo_DataWriter->_save()
#6 *domains/squattheplanet.com/html/community/library/CustomImgCaptcha/Model/Log.php(14): XenForo_DataWriter->save()
#7 *domains/squattheplanet.com/html/community/library/CustomImgCaptcha/Model/Log.php(234): CustomImgCaptcha_Model_Log->logRegistrationAttempt(Array)
#8 *squattheplanet.com/html/community/library/CustomImgCaptcha/Captcha/Captcha.php(43): CustomImgCaptcha_Model_Log->LogEvent(Array)
#9 *squattheplanet.com/html/community/library/XenForo/Captcha/Abstract.php(129): CustomImgCaptcha_Captcha_Captcha->isValid(Array)
#10 *squattheplanet.com/html/community/library/XenForo/ControllerPublic/Register.php(200): XenForo_Captcha_Abstract::validateDefault(Object(XenForo_Input))
#11 *squattheplanet.com/html/community/library/Tac/CustomImgCaptcha/ControllerPublic/Register.php(51): XenForo_ControllerPublic_Register->actionRegister()
#12 *squattheplanet.com/html/community/library/XenForo/FrontController.php(337): Tac_CustomImgCaptcha_ControllerPublic_Register->actionRegister()
#13 *squattheplanet.com/html/community/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#14 *squattheplanet.com/html/community/index.php(13): XenForo_FrontController->run()
#15 {main}

Request State

array(3) {
  ["url"] => string(53) "http://squattheplanet.com/community/register/register"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(14) {
    ["username"] => string(6) "asdfas"
    ["email"] => string(23) "test@squattheplanet.com"
    ["password"] => string(8) "********"
    ["password_confirm"] => string(8) "********"
    ["dob_month"] => string(1) "1"
    ["dob_day"] => string(2) "01"
    ["dob_year"] => string(4) "1980"
    ["gender"] => string(0) ""
    ["timezone"] => string(19) "America/Los_Angeles"
    ["public_uuid"] => string(25) "86c2295b5677521173d2befc9"
    ["custom_img_captcha_response_field"] => string(5) "stamp"
    ["agree"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["reg_key"] => string(32) "f81e3e6c697db5d92840b3fecf912d78"
  }
}

also, i was unable to register ("A server error occurred. Please try again later."), so this is definitely affecting people's ability to register an account on my forum.
 
I've tried to register on your forum, I didn't see the error (make sure you select your CAPTCHA options in the ACP after un-installing it)

Un-installing this plugin does ensure there are no tables or rows related to this plugin remaining (It does not need to use handlers, so un-installing it will not leave any dependencies)

Can you try turning your plugins off one at a time.
 
Last edited:
Hang on, what's this:
library/CustomImgCaptcha/Captcha/Captcha.php

What version are you using?

It should be installed here
library/Tac/CustomImgCaptcha/Captcha

If you are not using the Tac folder, then you are using a version that is more than 6 months old

Can you try re-installing/un-installing the origanl version you used, then attempt to re-install /un-ininstall the latest version
 
Hang on, what's this:
library/CustomImgCaptcha/Captcha/Captcha.php

What version are you using?

It should be installed here
library/Tac/CustomImgCaptcha/Captcha

If you are not using the Tac folder, then you are using a version that is more than 6 months old

Can you try re-installing/un-installing the origanl version you used, then attempt to re-install /un-ininstall the latest version

i really couldn't tell you which version that was. i can un-install and re-install the latest version (like ive been doing), but i have no idea what version i was using before, so im not sure how i could install/un-install/re-install the older version.

i'm assuming that:

library/CustomImgCaptcha/Captcha/Captcha.php

is just leftover files from an older version.
 
Yes, I would delete the old files eventually (to avoid confusion), but keep them for now, since they might be useful for un-install/install

What version does it tell you the plugin is via: ACP >> List Addons

If your error message is pointing to the old version, then that is what you had installed (one way or another)

I can take a look at your forum and try to install the latest version, or un-install this if you wish.
If you want me to do that, send me a private message since I'll need temporary ACP access
 
Yes, I would delete the old files eventually (to avoid confusion), but keep them for now, since they might be useful for un-install/install

What version does it tell you the plugin is via: ACP >> List Addons

If your error message is pointing to the old version, then that is what you had installed (one way or another)

I can take a look at your forum and try to install the latest version, or un-install this if you wish.
If you want me to do that, send me a private message since I'll need temporary ACP access

ok, i didn't disable all the plugins, but instead made an educated guess, and the problem seems to be with the older version of XenUtils. I believe i uninstalled customimgcaptcha first, then xenutils, when it should have been the other way around (the older version of xenutils is not compatible with 1.2).

when i uninstalled xenutils first, then customimgcaptcha, then re-installed customimgcaptcha, it seemed to fix the issue. i registered several accounts throughout the process and haven't gotten any errors.

i know the old version of xenutils did a lot of spam filtering stuff, so it was likely something with that plugin that was screwing things up. it should be noted this this is xenutils for 1.1.x, which jaxel has already stated is incompatible with xf 1.2. i haven't tested it yet, but i would imagine that his new xenutils plugin for 1.2 should work fine with customimgcaptcha.

so, hopefully everything should be fine from here. thanks for all your help :)
 
Had this error pop up today:

Code:
ErrorException: Undefined offset: 1 - library/Tac/CustomImgCaptcha/Model/Captcha.php:220
Generated By: Unknown Account, 31 minutes ago
Stack Trace
#0 /home/nginx/domains/z22se.co.uk/public/library/Tac/CustomImgCaptcha/Model/Captcha.php(220): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/nginx/dom...', 220, Array)
#1 /home/nginx/domains/z22se.co.uk/public/library/Tac/CustomImgCaptcha/Model/Log.php(149): Tac_CustomImgCaptcha_Model_Captcha->getObsfucatedUsername(Array)
#2 /home/nginx/domains/z22se.co.uk/public/library/Tac/CustomImgCaptcha/Captcha/Captcha.php(18): Tac_CustomImgCaptcha_Model_Log->LogEvent(Array)
#3 /home/nginx/domains/z22se.co.uk/public/library/XenForo/Captcha/Abstract.php(129): Tac_CustomImgCaptcha_Captcha_Captcha->isValid(Array)
#4 /home/nginx/domains/z22se.co.uk/public/library/Tac/FaceBookRegCaptcha/ControllerPublic/Register.php(48): XenForo_Captcha_Abstract::validateDefault(Object(XenForo_Input))
#5 /home/nginx/domains/z22se.co.uk/public/library/XenForo/FrontController.php(337): Tac_FaceBookRegCaptcha_ControllerPublic_Register->actionFacebookRegister()
#6 /home/nginx/domains/z22se.co.uk/public/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /home/nginx/domains/z22se.co.uk/public/index.php(13): XenForo_FrontController->run()
#8 {main}
Request State
array(3) {
  ["url"] => string(45) "http://z22se.co.uk/register/facebook/register"
  ["_GET"] => array(1) {
    ["/register/facebook/register"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
 
Are you using the latest version (currently 2.3.5)

I've seen this with FaceBook registrations in an older version, but thought it was fixed

The error didn't propagate to the user, and still allowed registration, it just logged in the errors, but I thought I had fixed that one
 
Yeah, latest on all the TAC add-ons

upload_2013-10-24_11-52-48.webp

I've tested the registration via FB, and it's working when I tested it.
 
Error on this as well with XF 1.3

Code:
Fatal error: Call to undefined method XenForo_Model_Login::convertIpToLong() in /home/nginx/domains/dev.z22se.org.uk/public/library/Tac/CustomImgCaptcha/Model/Log.php on line 160
 
Top Bottom