captcha image not visible

65 views
Skip to first unread message

car...@googlemail.com

unread,
Jul 15, 2007, 12:12:48 PM7/15/07
to Priki
Hello

I can not make the captcha image visible. I have made the changes to
the sever in this post http://wiki.com.br/wiki/Troubleshooting but it
still not show.

1- Can I turn off captcha? how do I do this?

Thank-you for your help

---------------//---------------
Hello Eu não posso fazer a imagem do captcha visível. Eu tenho feito
as mudanças ao sever neste borne http://wiki.com.br/wiki/Troubleshooting
mas ele ainda não mostrar. 1 posso eu desligar o captcha? como eu faço
este? Thank-you para sua ajuda (Altavista)

Vitor Fernando

unread,
Jul 15, 2007, 3:03:32 PM7/15/07
to pr...@googlegroups.com
hi


> I can not make the captcha image visible. I have made the changes to
> the sever in this post http://wiki.com.br/wiki/Troubleshooting but it
> still not show.

Did you restart tomcat?


> 1- Can I turn off captcha? how do I do this?

Only with a registered user in your priki.

[]s

richard strauss

unread,
Jul 16, 2007, 8:56:09 AM7/16/07
to pr...@googlegroups.com
On 15/07/07, Vitor Fernando <vitorp...@gmail.com> wrote:
hi

> I can not make the captcha image visible. I have made the changes to
> the sever in this post http://wiki.com.br/wiki/Troubleshooting but it
> still not show.

Did you restart tomcat?

Yes, I did restart tomcat

> 1- Can I turn off captcha? how do I do this?

Only with a registered user in your priki.

I am the admin, but I do not see how to turn off captcha. I am so sad I cannot make this wonderful wiki work.
Thank-you for any more help.

Vitor Fernando

unread,
Jul 16, 2007, 11:02:29 AM7/16/07
to pr...@googlegroups.com
> I can not make the captcha image visible. I have made the changes to
> the sever in this post http://wiki.com.br/wiki/Troubleshooting but it
> still not show.

Did you restart tomcat?

Xvfb is running after call "Xvfb :1 -screen 0 1024x768x16" ?

if you open the url http://<your address to priki>/flood.jpg the image appear?

Do you check the "Base Path" variable in admininstration page?

> I am the admin, but I do not see how to turn off captcha. I am so sad I cannot make this wonderful wiki work.
> Thank-you for any more help.

When you do the log in, the captcha image isn't required.

Thanks.
--
Vitor Fernando Pamplona
http://vitorpamplona.com

richard strauss

unread,
Jul 16, 2007, 5:55:15 PM7/16/07
to pr...@googlegroups.com
On 16/07/07, Vitor Fernando <vitorp...@gmail.com> wrote:
> I can not make the captcha image visible. I have made the changes to
> the sever in this post http://wiki.com.br/wiki/Troubleshooting but it
> still not show.

Did you restart tomcat?

Yes

Xvfb is running after call "Xvfb :1 -screen 0 1024x768x16" ?

if you open the url http://<your address to priki>/flood.jpg the image appear?

No, I get the following error

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.awt.HeadlessException
sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:64)
nl.captcha.text.imp.DefaultWordRenderer.renderWord (Unknown Source)
nl.captcha.servlet.DefaultCaptchaIml.createImage(Unknown Source)
nl.captcha.servlet.CaptchaServlet.doGet(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service (HttpServlet.java:802)
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:350)
 

Do you check the "Base Path" variable in admininstration page?

Yes, and my auto-links work ok. But I can not register anyone else, because I need CAPTCHA image

Vitor Fernando

unread,
Jul 16, 2007, 6:54:23 PM7/16/07
to pr...@googlegroups.com
Hum...

Open the catalina.sh and add the following line:

export CATALINA_OPTS="-Djava.awt.headless=false"

See you,

richard strauss

unread,
Jul 19, 2007, 6:50:15 AM7/19/07
to pr...@googlegroups.com
Hello Vitor
My website admin says there is a problem running  Xvfb !  there are exceptions at the command promt as below: I am asking my server admins what to do?

--------------------
Here is the command and the exception when running Xvfb:

root@removed:~# Xvfb :1 -screen 0 1024x768x16
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /usr/X11R6/lib/X11/fonts/misc, removing
from list!
Could not init font path element /usr/share/fonts/X11/cyrillic, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing from
list!
Could not init font path element /usr/X11R6/lib/X11/fonts/Type1, removing
from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing from
list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing from
list!
Could not init font path element
-----------------
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Vitor Fernando

unread,
Jul 19, 2007, 8:33:02 AM7/19/07
to pr...@googlegroups.com
You need to install that fonts it requests.

richard strauss

unread,
Jul 19, 2007, 9:03:44 AM7/19/07
to pr...@googlegroups.com
Ok, I understand, I will pass this on to the server admin.



Richard

richard strauss

unread,
Jul 21, 2007, 4:56:17 AM7/21/07
to pr...@googlegroups.com
Hi Fernado
Our server admin was not able to carry out the changes required to make the graphics package work. He also says this is not a good way to do things. Is there any way we can make registration work without using the captcha? we really want to use Priki-wiki but this problem is stopping us.

Thank-you for any help you can give us.

Richard

Vitor Fernando

unread,
Jul 22, 2007, 12:47:20 PM7/22/07
to pr...@googlegroups.com
Hello,
 
> He also says this is not a good way to do things.
 
What does he suggests?
 
> there any way we can make registration work without using the captcha?
 
Nowadays, unfortunately, no. :(
 
Thanks,
 

Klaus Wuestefeld

unread,
Jul 23, 2007, 12:14:10 AM7/23/07
to pr...@googlegroups.com
Just get in the code and remove the captcha.

See you, Klaus.

Klaus Wuestefeld

unread,
Jul 23, 2007, 12:14:42 AM7/23/07
to pr...@googlegroups.com
I meant that for Richard, not Vitor.
Reply all
Reply to author
Forward
0 new messages