I installed the Captcha module, and I am having some trouble/ lack of experience with the module. After reading the README file, I realized I had to install the "textimage" module in order to get the images with the warped words to come up, and post that, i had to create a background image, get some ttf files, and point the "textimage" module to them. I then added two presets so that I could test out the captcha function. This is where I have encountered my problem. The images wont show, instead they are still math questions. Also, nothing shows on the New User Registration block. To my knowledge, I have done everything right, but I am not sure. Can someone please point me in the right direction.

Thank,
Will

Comments

prokopton’s picture

I'm using captcha 2.1 with only the math portion. Everytime I click on "create new account", I get an error message. There's supposed to be a fix soon?

Christefano-oldaccount’s picture

Have you emptied the cache? I remember having this error a while ago (during a demo to a client... agh) and clearing the cache fixed it.

prokopton’s picture

How do I empty the cache?

I went to "Peformance" there wasn't an option. I set the "Minimum cache lifetime" to 0 and saved. Still same error:

Fatal error: Unsupported operand types in C:\eNcognitive\sites\all\modules\captcha\captcha.module on line 197

Maybe I'm not doing something right?

scrypter’s picture

module has an option to flush cache or you can use phpmysql and "delete from cache" and cache variations.

I looked at line 197 in captcha but I have amended my copy, nothing nearby looked probable. Can you give us the line of code at 197?

Paul

www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy

www.purpleoar.co.nz/scryptik - Javascript editor with syntax error checking
www.purpleoar.co.nz - Web development, Drupal consultancy

prokopton’s picture

I ran MySQL command: "delete from cache" but still got same error.

Line 197

$form['#validate'] += array('captcha_validate' => array());

I click the "Back" button on my browser, It also gives this error:

warning: array_merge() [function.array-merge]: Argument #2 is not an array in C:\eNcognitive\sites\all\modules\captcha\captcha.module on line 195.

Line 195

$form = array_merge($form,$result['form']);

When I click "Operations" option in phpmyadmin, I have this message in phpmyadmin:

Error
The additional features for working with linked tables have been deactivated. To find out why click here.

$cfg['Servers'][$i]['designer_coords'] ... 	not OK [ Documentation ]
Designer: Disabled

MySQL Documentation:

 $cfg['Servers'][$i]['designer_coords'] string
    Since release 2.10.0 a Designer interface is available; it permits to visually manage the relations.

    To allow the usage of this functionality:

        * set up pmadb and the linked-tables infrastructure
        * put the table name in $cfg['Servers'][$i]['designer_coords']

I hope that helps. I'm using:

Windows XP
XAMPP 1.6.1
Drupal 5.1

Maybe it's just my setup?

iamwill’s picture

I emptied my cache, and I am still getting math questions. AND not getting Capctha (or math) at the registration screen.

prokopton’s picture

This is a problem on my development workstation. When I created a subdomain live on my domain http://test.mydomain.com and installed captcha, there wasn't any errors.

So this could be due to the MySQL error above or something with the Windows XP, XAMPP 1.6.1 setup. I don't know, but I'm pleased that it works.

Best regards to all.

Christefano-oldaccount’s picture

Good to hear you had resolution to this. Thanks for letting us know.

iamwill’s picture

I am not the only one having this problem am I??

prokopton’s picture

This is just what I've experienced, so please take it with a grain of salt.

My ISP is using Linux. I'm using Windows XP as test workstation. I've noticed that there are some features/modules, etc. that will *not* work on my XP Worksation (XP, Apache 2.x, MySQL 5.0, PHP 5.1) but *will* work when implemented live (online with ISP). They're using Apache 1.3, MySQL 4.1, PHP 4.6 and LINUX.

In my experience, it's best to theme the site on my worksation while testing important features and elements live on the ISP's server by creating a subdomain and installing Drupal on it. I created a test domain (as an example) http://test.mydomain.com and installed Drupal on it. Almost everything I've installed seems to work live (with ISP) but there are somethings (captcha and chatroom for example) that will not work on my XP workstation....hmmmm...

Best regards to everyone.