Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Captcha image display issue

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 1 week ago - 12 years 5 days ago #213032 by nickr
I've been pulling my hair out today so hoping this one is something stupid I've overlooked.

I have been using CB Captcha on my site for a while now - no problems. Today I was working on a Test instance of my site and noticed that the Captcha image is no longer displaying. It is however fine in my Dev instance and my Live instance. The only difference I can see between the sites is when I turn on Chrome's developer tools and get the error on the Test instance of: "Resource interpreted as Image but transferred with MIME type text/html". This is the case wherever I load the Captcha - front end registration form, CB invites or back end CB Captcha plugin.

I'm using Joomla 2.5.4 and CB 1.8.1 on PHP5.3 with latest CB Captcha plugin installed. If you need to take a look at the Dev and Test sites please let me know and I'll PM you the URLs.

Thanks in advance.
Last edit: 12 years 5 days ago by krileon.

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

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 1 week ago #213035 by nickr
Replied by nickr on topic Re: Captcha image display issue
UPDATE: I tried changing Captcha images and sound mode config option to Joomla's index.php and it worked again. I then decided to copy the captchaindex.php from my other instance of CB and replaced the version in my non working Test site. That worked. It is now working again but I don't understand why given that both had the latest version of CB Captcha installed this afternoon. Can you shed any light on this? Is there a potential problem with upgrading CB Captcha?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
12 years 6 days ago #213052 by krileon
Replied by krileon on topic Re: Captcha image display issue
Best I can guess is permissions issue or $live_site maybe incorrectly set in configuration.php. As long as 1 of the modes works it's fine.


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.
The following user(s) said Thank You: nickr

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

  • nickr
  • nickr
  • OFFLINE
  • Posts: 49
  • Thanks: 2
  • Karma: 0
12 years 6 days ago #213099 by nickr
Replied by nickr on topic Re: Captcha image display issue
All $live_site values are empty in configuration.php and permissions isn't an issue as I'm on a Windows server. Given that copying captchaindex.php from one site to the other produced a working CB Captcha I can only assume that the file was somehow corrupted during installation. Anyway - working now so thanks for getting back to me - just wanted to ensure that this was visible to anyone who might be having a similar problem in the future.

Thanks.
The following user(s) said Thank You: krileon

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

  • myann
  • myann
  • OFFLINE
  • Posts: 105
  • Thanks: 3
  • Karma: 1
11 years 8 months ago - 11 years 8 months ago #220683 by myann
Replied by myann on topic Re: Captcha image display issue
Hi team,
Sorry to re-open this post but I have the same problem. Captcha image does not appears and TYPE MIME notcie in the console of google chrome.

The problem is that I moved to configuration.php file indo a folder to protect it. So where do I have to modify somthing to help CB captcha image work correctly please ?

Thank you by advance.

Myann
Last edit: 11 years 8 months ago by myann.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48457
  • Thanks: 8280
  • Karma: 1443
11 years 8 months ago #220705 by krileon
Replied by krileon on topic Re: Captcha image display issue
Edit CB Captcha within CB > Plugin Management and try setting it to use Joomla index.php.


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