News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

SMF 1.1.5 - New User Registration CAPTCHA not displayed

Started by VividViews, July 10, 2008, 05:58:58 PM

Previous topic - Next topic

VividViews

I've searched and found many posts about the registration captcha not being displayed but nothing I've found seems to apply to my situation.

For over a year, SMF 1.1.x was running smoothly on our site.  As best I can recall, I had 1.1.4 running for a while until one day the captcha no longer displayed for new user registrations.  I spent today upgrading to 1.1.5 only to find it still doesn't work. 

Then I dropped a CLEAN, NEW 1.1.5 install onto our site and STILL have the same problem. This is with the default template and NO mods or packages installed.  This is an out-of-the-box install / hosting environment issue.  Yes, I tried all the "Complexity of visual verification image" options.

At this point, I'm completely lost as to how to identify the source of the problem.  I just don't know where to look.  I've checked the cPanel error log - nothing.  I've checked the SMF "Forum Error Log" - nothing.  I've searched for any files named "error_log" on disk - nothing.

Here is our phpinfo() [nofollow]

The generated image has a URL like this:
index.php?action=verificationcode;rand=31b83eb4115f204830dda53c5efebe13
but the browser just sits there trying to load it indefinitely

Can someone point me in the right direction?

SlammedDime

See if this works....

open up Sources/Subs-Graphics.php.
Code (Find) Select
foreach ($characters as $char_index => $character)
{
// Can we use true type fonts?
$can_do_ttf = function_exists('imagettftext');

// How much rotation will we give?
if ($rotationType == 'none')


Code (Replace) Select
foreach ($characters as $char_index => $character)
{
// Can we use true type fonts?
// Not on this server...
$can_do_ttf = false;

// How much rotation will we give?
if ($rotationType == 'none')
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

VividViews


higherauthority

I have the same problem your fix now makes the text appear "type the letters shown in the picture. All I see is a red x in the spot where the graphic is suppose to be. It worked forever then all of a sudden it stopped.

SlammedDime

Quote from: higherauthority on July 20, 2008, 12:33:44 AM
I have the same problem your fix now makes the text appear "type the letters shown in the picture. All I see is a red x in the spot where the graphic is suppose to be. It worked forever then all of a sudden it stopped.
Please start a new topic and include a link to your site as well as a test account to access your board with.  It probably has to do with your bridge, but you'll need to post a link with a test account (in a new topic) for me to check it out.  You should also reverse the fix in this topic, as it probably doesn't apply to you.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

FUBAR

I was having the same problem as VividViews and finally came across this thread and SlammedDime's suggestion fixed my problem.

This was very weird because it was working and all of a sudden it stopped, I'm not sure if it's because of a mod.

Anyway, thanks SlammedDime! :)

SlammedDime

It could be because your host upgraded or changed their PHP configuration.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

Atlantisevf

This code fix was a life saver! Nice to have the search turn up something useful.

I had a 1.15 install, and like others here the captcha worked fine for a while, and suddenly it didn't. The code change solved it, but for edification, I'll still want to find out what/if the host changed.

Thanks, SlammedDime  :)
______________
Atlantis

xXBenXx

#8
I am now having the same issue. I tried the code fix but it didn't work.

http://www.simplemachines.org/community/index.php?topic=254889.0

Advertisement: