Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Captcha Image Not Showing

Asked Modified Viewed 10,606 times
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
asked
Member

My site has been setup and is working well but I am having problem with the registration when "Display Validation Code" is turned ON. Captcha images are not showing when using secureimage and secureimage2.

Have checked PHP Info and got this:
Support for GD (version) Yes (2.0)
Support for Magic_quotes_gpc No

Is there a way to make secureimage and/or secureimage2 work with the above setting? If not, can you suggest a way to at least minimize spambots from getting into my site?
0 replies

13 posts

P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

errors?
0 replies
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

No error message. It's just that the images are not showing.
0 replies
P
PolarFox
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
answered
Veteran Member

Check your apache error log please.
0 replies
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

I have checked my cPanel but I can't see any error on the Error Logs except for a missing image that is not related to captcha.

[Fri Dec 07 14:11:04 2012] [error] [client 121.54.45.58] File does not exist: /home/tubignon/public_html/images/home1.png
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Did you upgrade from 7.01 to 7.02 if so make sure you do not have 2 of the same captchas and make sure they are in the correct directory. I remember this problem after upgrading.
0 replies
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

Yeah I upgraded from 7.01 to 7.02. OK, I'll try to sort things out.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Any luck?
0 replies
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

Inside /includes/ there is a folder named secureimage
Inside /includes/captchas, there is also a folder named secureimage.

On my offline site, with those two folders there seems to be no problem. I tried deleting the one includes/secureimage/ but still no problem.

I deleted the includes/secureimage/ on my site, re-uploaded register.php and /includes/captchas/ and yet, captcha images aren't showing.
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Delete the one in /includes/ then clear your cache.
0 replies
S
Samuel
S
Samuel 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 13 threads in the forums
answered
Member

I also have problem like this at the past year. I uploaded all 7.02 files(without setup.php and config.php) and my problem is solved.
0 replies
C
cybernie
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
answered
Member

Deleted the said folder, but still no luck.

Be over-writing the files w/ the 7.02 core files. Let's see if it fix the problem.
0 replies
S
Samuel
S
Samuel 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 13 threads in the forums
answered
Member

Quote

cybernie wrote:

Deleted the said folder, but still no luck.

Be over-writing the files w/ the 7.02 core files. Let's see if it fix the problem.

Any news?
0 replies
— 2 years later —
A
albusone
A
Ultimate Temptation
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

The solution is very simple. There's no need to upload/re-upload any of the files.

All you need to do is edit securimage.php in your selected captcha folder.
open /includes/captchas/securimage/securimage.php or /includes/captchas/securimage2/securimage.php and find function called
function Securimage()

For securimage - line 109 (if original file)
For securimage2 - line 506 (if original file)
find
         mysql_connect($db_host, $db_user, $db_pass);
         mysql_select_db($db_name);

add @ as shown below
         @mysql_connect($db_host, $db_user, $db_pass);
         @mysql_select_db($db_name);


That should solve the issue.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 13 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
P
P
  • Veteran Member, joined since
  • Contributed 1,633 posts on the community forums.
  • Started 29 threads in the forums
C
C
  • Member, joined since
  • Contributed 90 posts on the community forums.
  • Started 27 threads in the forums
  • Started this discussions
S
S
Samuel 10
  • Member, joined since
  • Contributed 55 posts on the community forums.
  • Started 13 threads in the forums
A
A
Ultimate Temptation
  • Newbie, joined since
  • Contributed 8 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet