[Solved]: Captcha probleme [Solved]: Captcha probleme
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Captcha probleme

Started by timurg, August 24, 2009, 01:43:43 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

timurg

ich habe captcha richtig instaliert aber ich kann die buch staben nicht sehen kann mir jemand helfen
das bild sicht so aus

Joachim Müller

You have posted on the international board, where only English postings are allowed. There is a German sub-board as well, where you're allowed to post in German.

However, you need to post a link to your gallery no matter what.

timurg

I have instaled captcha correctly but I can not see the letters book can help me someone
the visual image so

Joachim Müller

Are you behaving like a moron on purpose or is this a language issue for you?

You have to post a link to your gallery. If you don't, we can't and you and won't help you. Don't bother to post anything else but a link to your gallery.

timurg

also was soll ich den machen. ich schreibe deutsch versteht keine ich übersetze über Google schreibe englisch versteh keine.
die link der Herr aufgeschrieben hat habe ich dort auf deutsch geschrieben aber leider ist dort auch gesperrt.

ich habe captcha installiert aber ich kann die Buchstaben oder nummer nicht sehen. das ist die URL meine Seite. danke

http://www.bayburt69.com/dernekler/login.php?referer=index.php

So what to make. I write does not understand German, I write about Google translate does not understand English.
the Lord has written the link I have there written in German but unfortunately there is also locked.

I have installed captcha but I can not see the letter or number. This is the URL of my page. Thank you

http://www.bayburt69.com/dernekler/login.php?referer=index.php

Thank you

Joachim Müller

Well, you shouldn't have started a thread on the international board where only English is allowed if you don't speak that language, so stop complaining.
On this board, only English is allowed, so stop posting in German.

The fonts are there on the server and appear to be accessible, so maybe you don't have freetype support. Check the output of phpinfo. Create a screenshot of the GD section and attach that screenshot here if you're not sure.

timurg

phpinfo

gd
GD Support  enabled 
GD Version  bundled (2.0.34 compatible) 
FreeType Support  enabled 
FreeType Linkage  with freetype 
FreeType Version  2.3.5 
GIF Read Support  enabled 
GIF Create Support  enabled 
JPG Support  enabled 
PNG Support  enabled 
WBMP Support  enabled 
XPM Support  enabled 
XBM Support  enabled 

onthepike

Perhaps navigate to /home/public_html/dernekler/captcha.php (or equivalent) and find

/**
* Fonts to create the captch image
*/
$aFonts = array('plugins/captcha/fonts/acidic.ttf', 'plugins/captcha/fonts/hurryup.ttf');


And verify the correct path to the fonts as outlined above. Also, verify correct permissions on /public_html/gallery/plugins/captcha/fonts/

onthepike

Actually, you might want to post the entire /captcha.php file as an attachment to verify it's not corrupt and contains correct data. Then we can move onto codebase.php.

Joachim Müller

Quote from: onthepike on August 25, 2009, 01:19:50 AMverify the correct path to the fonts as outlined above. Also, verify correct permissions on /public_html/gallery/plugins/captcha/fonts/
Seems to be OK - I already checked that, that's why I posted
Quote from: Joachim Müller on August 24, 2009, 10:57:02 PMThe fonts are there on the server and appear to be accessible
See for yourself: both http://www.bayburt69.com/dernekler/plugins/captcha/fonts/acidic.ttf and http://www.bayburt69.com/dernekler/plugins/captcha/fonts/hurryup.ttf can be accessed and appear to be OK.
The captcha file itself seems to reside where it is suppossed to be as well.
Your conclusion is good though: maybe the plugin files got corrupt or have been edited with an inappropriate tool.

@timurg: do as onthepike suggested and download the entire folder that corresponds to http://www.bayburt69.com/dernekler/plugins/captcha/ using your FTP app into a temporary folder. Download the file that corresponds to http://www.bayburt69.com/dernekler/captcha.php as well using your FTP app into that tenmporary folder. Then zip that temporary folder and attach the zip to your posting. Don't assume that the copy of the captcha folder that you already have on your local machine is identical to what you have on your server - we want you to explicitely download the stuff on your server.

Nibbler

Quote from: Joachim Müller on August 25, 2009, 01:56:59 PM
... and appear to be OK.

OK in what way? They won't open in my font viewer and the md5 checksums don't match with clean copies from the plugin.

You should re-upload the ttf files (in FTP binary mode).

Joachim Müller

I have to confirm that I only tested if the files are accessible and nothing else. Nibbler is of course right (as always): the files are broken, re-upload them.

timurg


I thank you

1. I have the captcha.php amended as follows, and then uploaded

define("IN_COPPERMINE", true);
require('include/init.inc.php');

/**
* Fonts to create the captch image
*/
$aFonts = array('http://www.bayburt69.com/dernekler/plugins/captcha/fonts/acidic.ttf';, 'http://www.bayburt69.com/dernekler/plugins/captcha/fonts/hurryup.ttf');
// create new image
$oPhpCaptcha = new PhpCaptcha(
    $aFonts, // array of TrueType fonts to use
    145, // width of image
    45, // height of image
    5, // number of characters to draw
    70, // number of noise lines to draw
    false, // add shadow to generated characters to further obscure code
    $sOwnerText = 'Lütfen kodu yaziniz', // add owner text to bottom of CAPTCHA, usually your site address
    $aCharSet = array(), // array of characters to select from - if blank uses upper case A - Z
    $sBackgroundImage = '' // background image to use - if blank creates image with white background
    );
$code = $oPhpCaptcha->Create();


and all other dates, I have again uploaded again.
But it is still the same


I read her the form, it cpg 1.5.1 gabs. I should wait BISj dan instalieren with a new version or?
I instaled currently cpg 1.4.25


onthepike

Attempting to download each of the two fonts prompted a Windows error message detailing these were not valid font files. Perhaps they became corrupt or were uploaded in ASCII. Whatever the case, I would overwrite them with a clean set of fonts from the source.

timurg

I was out again
I transferred all files with ASCII. with Ipswitch WS_FTP profesyonel transferred

define("IN_COPPERMINE", true);
require('include/init.inc.php');

/**
* Fonts to create the captch image
*/
$aFonts = array('plugins/captcha/fonts/acidic.ttf', 'plugins/captcha/fonts/hurryup.ttf');

onthepike

Okay, now delete those fonts again, and upload in BINARY.

timurg

thank you thank you thank you
Now we're grateful
I have another question Solte make cpg 1.5.2 update or not
what would you recommend it to me

phill104

Glad you got it solved.

With regards to your second question. We have a one question per thread policy in place to aid others in finding the correct answer to their problems. Hope you understand.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

...and cpg1.5.x currently goes unsupported and is not recommended for production use, so no: don't upgrade! Locking.