Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

[#7965] Antispam bot throwing error

  • activha
  • activha
  • OFFLINE
  • Posts: 2336
  • Thanks: 117
  • Karma: 13
4 years 8 months ago - 4 years 7 months ago #318075 by activha
[#7965] Antispam bot throwing error was created by activha
Hello

I testing antispam bot in order to replace joomla antispam one.
I noticed that everytime that I try to activate the plugin in the backend, I get a 500 error with outputCbJs() error which forbids any display of main joomla config pages and plugins page.
Had to manually change in the DB the published state to get back to normal.
Anything to do before activating the bot ?
Antispam is configured with google invisible and works well for CB registration and CB protection

Thanks
Jean
Last edit: 4 years 7 months ago by krileon. Reason: Added [#7965] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 8 months ago #318079 by krileon
Replied by krileon on topic Antispam bot throwing error
Seams to be working perfectly fine in my tests and on our demo site. Is everything installed completely up to date? Is CB AntiSpam published and public within CB > Plugin Management? It shouldn't be possible for that function to error as it's part of core CB API. Please provide the full error with the file path (check server error log if necessary) so I can review where it's failing for you.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • activha
  • activha
  • OFFLINE
  • Posts: 2336
  • Thanks: 117
  • Karma: 13
4 years 7 months ago - 4 years 7 months ago #318118 by activha
Replied by activha on topic Antispam bot throwing error
Yes everything is up to date, published as public and latest build

The error is Call to undefined function outputCbJs() on line 35 in php file.
Trying to comment it gives Call to undefined function outputCbTemplate(); on line 36

These are backend errors and it also error 500 the main website config.
Did not check yet on the front end as it forbids access to main captcha config

Hope it helps
Last edit: 4 years 7 months ago by activha.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 7 months ago #318119 by krileon
Replied by krileon on topic Antispam bot throwing error

The error is Call to undefined function outputCbJs() on line 35 in php file.
Trying to comment it gives Call to undefined function outputCbTemplate(); on line 36

In what file. Please provide the full error.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • activha
  • activha
  • OFFLINE
  • Posts: 2336
  • Thanks: 117
  • Karma: 13
4 years 7 months ago #318121 by activha
Replied by activha on topic Antispam bot throwing error
Here it is
Code:
Exception Type: Error File: /var/www/html/plugins/captcha/cbantispambot/cbantispambot.php Line: 35 Message: Call to undefined function outputCbJs() #0 /var/www/html/plugins/captcha/cbantispambot/cbantispambot.php(64): PlgCaptchacbantispambot->loadAntiSpam() #1 /var/www/html/libraries/joomla/event/event.php(70): PlgCaptchacbantispambot->onInit('dynamic_recaptc...') #2 /var/www/html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #3 /var/www/html/plugins/system/joomcrmform/joomcrmform.php(31): JEventDispatcher->trigger('oninit', Array) #4 /var/www/html/libraries/joomla/event/event.php(70): plgSystemJoomcrmform->onBeforeRender() #5 /var/www/html/libraries/joomla/event/dispatcher.php(160): JEvent->update(Array) #6 /var/www/html/libraries/src/Application/BaseApplication.php(108): JEventDispatcher->trigger('onbeforerender', Array) #7 /var/www/html/libraries/src/Application/CMSApplication.php(1034): Joomla\CMS\Application\BaseApplication->triggerEvent('onBeforeRender') #8 /var/www/html/libraries/src/Application/AdministratorApplication.php(450): Joomla\CMS\Application\CMSApplication->render() #9 /var/www/html/libraries/src/Application/CMSApplication.php(202): Joomla\CMS\Application\AdministratorApplication->render() #10 /var/www/html/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute() #11 {main} Request information GET variables Array ( [option] => com_config ) POST variables Array ( ) COOKIE variables Array ( [LaVisitorNew] => Y [LaVisitorId] => 0aivg4k75qn7caqgvx3rdp8mwr99m [cpnb_cookiesSettings] => {"required-cookies":1,"analytical-cookies":1,"social-media-cookies":1} [_fbp] => fb.1.1588008756044.1318659356 [cookiesDirective] => 1 [cs_geolocation] => YTo1OntzOjEwOiJzdGF0dXNDb2RlIjtzOjI6Ik9LIjtzOjk6ImlwQWRkcmVzcyI7czoxMzoiODYuMjAyLjExNy43OCI7czoxMToiY291bnRyeUNvZGUiO3M6MjoiRlIiO3M6MTA6InJlZ2lvbk5hbWUiO3M6MjA6IkF1dmVyZ25lLVJob25lLUFscGVzIjtzOjg6ImNpdHlOYW1lIjtzOjQ6Ikx5b24iO30= [joomla_remember_me_8fd02193fbd0e746bca93015f43bfcba] => ui7t8QZ4MOu8h8VEL2rv5dRWiGXWtFPN.LVYWDBOeoGq8iqO4Efh3 [cbtabsgrouptab] => cbtabnavgrouptabAide [_gid] => GA1.2.1278863241.1588013434 [LaSID] => 0o3ts512t7nnlyijrab3ifnikgv32 [_ga] => GA1.1.754798378.1588013434 [__atuvc] => 1|18 [isLoggedLA] => 0 [7e775bfdd7b804dee157f8f35267cdc0] => 5rfiqsc1vdm0c3kao5rsahboau [visitor_la_sid] => rcq2sj25ogjlgy6d9wgq1m6etqmnx1r4 [__utma] => 228146701.754798378.1588013434.1588075012.1588075012.1 [__utmc] => 228146701 [__utmz] => 228146701.1588075012.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) [cbtabsinstallfrom] => cbtabnavinstallfrom2 [A_la_sid] => t5nco6emop2n8wh4b9vq8znbm9lchrj6 [A_auth] => 2ecd8d24eca79fbc05bce55f01ff41ac8fe38c37 [gpf_language] => fr [A_la_appid] => -276438614 [rl_modals] => 1 [_ga_4F2ZWNSJ78] => GS1.1.1588072667.3.1.1588076778.0 [closedInvitations] => 396106e8 ) REQUEST variables Array ( [option] => com_config ) SERVER variables Array ( [USER] => apache [HOME] => /usr/share/httpd [SCRIPT_NAME] => /administrator/index.php [REQUEST_URI] => /administrator/index.php?option=com_config [QUERY_STRING] => option=com_config [REQUEST_METHOD] => GET [SERVER_PROTOCOL] => HTTP/1.0 [GATEWAY_INTERFACE] => CGI/1.1 [REMOTE_PORT] => 60862 [SCRIPT_FILENAME] => /var/www/html/administrator/index.php [SERVER_ADMIN] => admin@activ-ha.com [CONTEXT_DOCUMENT_ROOT] => /var/www/html [CONTEXT_PREFIX] => [REQUEST_SCHEME] => https [DOCUMENT_ROOT] => /var/www/html [REMOTE_ADDR] => 86.202.117.78 [SERVER_PORT] => 443 [SERVER_ADDR] => 127.0.0.1 [SERVER_NAME] => activ-ha.com [SERVER_SOFTWARE] => Apache [SERVER_SIGNATURE] => [PATH] => /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin [HTTP_COOKIE] => LaVisitorNew=Y; LaVisitorId=0aivg4k75qn7caqgvx3rdp8mwr99m; cpnb_cookiesSettings=%7B%22required-cookies%22%3A1%2C%22analytical-cookies%22%3A1%2C%22social-media-cookies%22%3A1%7D; _fbp=fb.1.1588008756044.1318659356; cookiesDirective=1; cs_geolocation=YTo1OntzOjEwOiJzdGF0dXNDb2RlIjtzOjI6Ik9LIjtzOjk6ImlwQWRkcmVzcyI7czoxMzoiODYuMjAyLjExNy43OCI7czoxMToiY291bnRyeUNvZGUiO3M6MjoiRlIiO3M6MTA6InJlZ2lvbk5hbWUiO3M6MjA6IkF1dmVyZ25lLVJob25lLUFscGVzIjtzOjg6ImNpdHlOYW1lIjtzOjQ6Ikx5b24iO30%3D; joomla_remember_me_8fd02193fbd0e746bca93015f43bfcba=ui7t8QZ4MOu8h8VEL2rv5dRWiGXWtFPN.LVYWDBOeoGq8iqO4Efh3; cbtabsgrouptab=cbtabnavgrouptabAide; _gid=GA1.2.1278863241.1588013434; LaSID=0o3ts512t7nnlyijrab3ifnikgv32; _ga=GA1.1.754798378.1588013434; __atuvc=1%7C18; isLoggedLA=0; 7e775bfdd7b804dee157f8f35267cdc0=5rfiqsc1vdm0c3kao5rsahboau; visitor_la_sid=rcq2sj25ogjlgy6d9wgq1m6etqmnx1r4; __utma=228146701.754798378.1588013434.1588075012.1588075012.1; __utmc=228146701; __utmz=228146701.1588075012.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); cbtabsinstallfrom=cbtabnavinstallfrom2; A_la_sid=t5nco6emop2n8wh4b9vq8znbm9lchrj6; A_auth=2ecd8d24eca79fbc05bce55f01ff41ac8fe38c37; gpf_language=fr; A_la_appid=-276438614; rl_modals=1; _ga_4F2ZWNSJ78=GS1.1.1588072667.3.1.1588076778.0; closedInvitations=396106e8 [HTTP_ACCEPT_LANGUAGE] => fr,en-US;q=0.9,en;q=0.8,fr-FR;q=0.7 [HTTP_ACCEPT_ENCODING] => gzip, deflate, br [HTTP_REFERER] => https://activ-ha.com/administrator/index.php?option=com_config [HTTP_SEC_FETCH_DEST] => empty [HTTP_SEC_FETCH_MODE] => same-origin [HTTP_SEC_FETCH_SITE] => same-origin [HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36 [HTTP_UPGRADE_INSECURE_REQUESTS] => 1 [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 [HTTP_CACHE_CONTROL] => max-age=0 [HTTP_CONNECTION] => close [HTTP_X_ORIGINATING_IP] => 86.202.117.78 [HTTP_X_FORWARDED_FOR] => 86.202.117.78 [HTTP_HOST] => activ-ha.com [proxy-nokeepalive] => 1 [HTTPS] => on [HTTP_AUTHORIZATION] => [UNIQUE_ID] => XqgjAWeNT4l5wuSoNimwyAAAAAU [FCGI_ROLE] => RESPONDER [PHP_SELF] => /administrator/index.php [REQUEST_TIME_FLOAT] => 1588077313.7616 [REQUEST_TIME] => 1588077313 )

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48630
  • Thanks: 8307
  • Karma: 1446
4 years 7 months ago #318125 by krileon
Replied by krileon on topic Antispam bot throwing error
Ok, looks like some API isn't being imported. It's working fine across my tests since something else has imported the API already. Fixing immediately.

forge.joomlapolis.com/issues/7965


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum