Are you a human?
started by: Ed JohnsonEd Johnson
on: 1202164287|%e %b %Y, %H:%M %Z|agohover
number of posts: 5
rss icon RSS: new posts
Are you a human?
Ed JohnsonEd Johnson 1202164287|%e %b %Y, %H:%M %Z|agohover

How do I troubleshoot the turing code not displaying? I'm trying to create a non-admin user on my testing server, but the turing code graphic is not displayed - it's just the text "turing code" followed by the field for entering it.

Was an application missed that needs to be installed or does this not work when running the site while on the server?

Update

I figured out how to find the Captcha code by browsing the "ozone-session" table in the PostgreSQL database (after starting the "create account" process) and was able to create an account for a non-admin user.

The other good news is that I am finally able to access my site not only from my internal network, but from the outside world as well!

I'll have to wait for an answer on why the Captcha (turing code) graphic is not rendering properly before getting too excited. But for now, I have a work-around for my own use.

In spite of my trials and tribulations (and some frustration), I'm learning a lot more about Linux and becoming less fearful of it the more I dig into these issues and try to figure them out!

-Ed

last edited on 1202178296|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
unfold Are you a human? by Ed JohnsonEd Johnson, 1202164287|%e %b %Y, %H:%M %Z|agohover
Re: Are you a human?
michal frackowiakmichal frackowiak 1202200726|%e %b %Y, %H:%M %Z|agohover

Hmmmm… Do you get ANY picture in place of the captcha at all? It looks like not.

Point your browser to /default—flow/misc__Captcha/ and check if you are not getting any error messages.
Most likely you also need a gd (http://pl.php.net/gd) library. If this is the issue, it is solved. If not, we will think about something.


Michał Frąckowiak @ Wikidot Inc.
Visit my blog at michalfrackowiak.com

last edited on 1202228322|%e %b %Y, %H:%M %Z|agohover by michal frackowiak + show more
unfold Re: Are you a human? by michal frackowiakmichal frackowiak, 1202200726|%e %b %Y, %H:%M %Z|agohover
Re: Are you a human?
Ed JohnsonEd Johnson 1202212726|%e %b %Y, %H:%M %Z|agohover

Here's what's displayed when I go to /default—flow/misc_Captcha/:


Captcha_page.jpg

I don't understand it, but it doesn't seem like an error. ;)
I'll try installing the GD lib to see if that works and report back.

[reporting back!]
I'm getting confused trying figuring out exactly what to install regarding GD. I found libgd2, but apt-get is asking me to choose between libgd2-xpm and libgd2-noxpm. I'd prefer to not break a mostly working install. Can you detail what I should install so I can see if it fixes Captcha?

Thanks

last edited on 1202213454|%e %b %Y, %H:%M %Z|agohover by Ed Johnson + show more
unfold Re: Are you a human? by Ed JohnsonEd Johnson, 1202212726|%e %b %Y, %H:%M %Z|agohover
Re: Are you a human?
GabrysGabrys 1202374052|%e %b %Y, %H:%M %Z|agohover

If using Ubuntu or Debian, you need to install php5-gd:

apt-get install php5-gd.

I have updated the Debian QuickStart doc.

And after installing the extension, you need to restart the apache.


Piotr Gabryjeluk
visit my Dev blog

last edited on 1202374102|%e %b %Y, %H:%M %Z|agohover by Gabrys + show more
unfold Re: Are you a human? by GabrysGabrys, 1202374052|%e %b %Y, %H:%M %Z|agohover
Re: Are you a human?
Ed JohnsonEd Johnson 1202435155|%e %b %Y, %H:%M %Z|agohover

Thank-you. This is definately getting me closer! I now see the background image displayed in place of the "turing code" text. However, no alpha-numeric characters are visible on the background.

After examining /var/www/wikidot/php/screens/misc/Captcha.php, I'm wondering if I need to change these fonts or track them down and install them:

private $TtfFonts  = array('Vera.ttf','VeraBd.ttf','VeraBI.ttf','VeraIt.ttf','VeraMoBd.ttf','VeraMoBI.ttf','VeraMoIt.ttf', 'VeraMono.ttf', 'VeraSe.ttf', 'VeraSeBd.ttf');

I don't see that these "Vera" fonts are installed on my server (this is a "clean" Ubuntu 7.10 Server install).

-Ed

unfold Re: Are you a human? by Ed JohnsonEd Johnson, 1202435155|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License