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
I'm using captcha 2.1 with
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?
Have you emptied the cache?
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.
How do I empty the cache? I
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 197Maybe I'm not doing something right?
devel
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
Error Messages
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:
MySQL Documentation:
I hope that helps. I'm using:
Windows XP
XAMPP 1.6.1
Drupal 5.1
Maybe it's just my setup?
I emptied my cache, and I am
I emptied my cache, and I am still getting math questions. AND not getting Capctha (or math) at the registration screen.
I found out what the problem was
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.
Glad to hear
Good to hear you had resolution to this. Thanks for letting us know.
Just to clarify...
I am not the only one having this problem am I??
Create a test domain with ISP?
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.