News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Image Verification Code Problem

Started by Rainboy7, August 02, 2008, 04:49:16 AM

Previous topic - Next topic

Rainboy7

Hi guys i have this problem since long time , first i thought maybe this problem causing my host but a few days ago i moved my forum to a vps and the problem is going on still.

i searched and tried many solution but still same problem no way :(

here is a ss



right now i turned off it because otherwise users cannot register

and this is my forum link : www.silkroadmax.com

please help me.

ccbtimewiz

Looks like a path association problem.

Try downloading repair_settings.php then upload it to your main SMF install via FTP. How do I use FTP? / What is FTP?

Navigate to the file and click all the default links.

Rainboy7

i tried that to many times still same :(

greyknight17

Did you try this in the default theme and see if it has the same problem showing the visual verification?

Rainboy7

yeah , i tried at default theme too, code still appearing like at this ss


N3RVE

Quote from: [n3rve] on August 04, 2008, 11:07:50 AM
Welcome :)

There was a workaround in Bug #1247: imagettftext() doesn't work well with results from imagecreate() in some server setups (Subs-Graphics.php), but that might not be the problem since it worked previously but trying this won't hurt.

Download ./Sources/Subs-Graphics.php via FTP (How do I use FTP? / What is FTP?)
Code (Find) Select

$can_do_ttf = function_exists('imagettftext');

Code (Replace with) Select

$can_do_ttf = false;



If that doesn't help, you'll have to go through the PHP files in your SMF installation to see which file has either an extra space before the opening tag (<?php) or an extra space after the closing tag (?>). Pretty painful as it could be any file, but you should start with the fol.
  • index.php
  • Settings.php
  • Sources/Load.php
  • Sources/QueryString.php
  • Sources/Subs.php
  • Sources/Subs-Graphics.php
  • Themes/default/languages/index.english.php
  • Themes/default/languages/Modifications.english.php
Remember <?php and ?> should be on the first and last lines respectively.


Aditionally, We find that CAPTCHA not working is usually due to one of the fol.
  • Improper method of ad code/miscellaneous code insertion
  • Missing /languages/fonts and its contents, or not being able to read them
  • Invalid coding used in themes which causes javascript errors.

-[n3rve]



After trying the above and you can't get SMF's built-in CAPTCHA to work, try Motoko-Chan's reCAPTCHA plugin.

It's really hard to say what could be causing the problems with CAPTCHA, as there are numerous different issues that could cause it to not work.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Rainboy7

#6
[n3rve] first many thanks for ur reply i'm grateful to you

before i'd replaced this code

$can_do_ttf = function_exists('imagettftext');

with this one

$can_do_ttf = false;

but nothing happens

all these files u said check before (<?php) and after (?>) i have checked all bu there isnt any space

i have installed recaptcha already but many users saying its to hard read characters really its too mixed very hard to read :(

N3RVE

Hello Rainboy7,


How about completely disabling Captcha to use one of the anti-bot mods. They serve the same purpose.


I'd recommend the Are You Human? (Anti-Bot Check). You can have more than one though.
Give them a shot and get back to us.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Rainboy7

Hello buddy,

i have "Are You Human" mode...Only is this enough for my forum safety ?

N3RVE

Quote from: Rainboy7 on August 09, 2008, 01:07:59 PM
Hello buddy,
I have "Are You Human" mode...Only is this enough for my forum safety ?

You can also install the Anti-Bot Registration Puzzles which will add a randomly chosen simple logic/math puzzle to the Registration page.

However, I really don't think reCaptcha is a bad idea, I mean - something like this isn't really difficult to read, they are just case sensitive.

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Rainboy7

[n3rve]  thank you so much for everything

N3RVE

Quote from: Rainboy7 on August 09, 2008, 04:00:28 PM
[n3rve]  thank you so much for everything

You're welcome ;)
So how did you get is sorted?

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

lapinette

To n3rve,

tks for all the suggestions , i met the same problem as rainboy and now i use the mod "ANTI-BOT REGISTRATION PUZZLES v1.2" for my forum, it works ! tks again!

N3RVE

Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

DJAbyss

look at my register page... :(

hxxp:www.imagehost.ro/viewer.php?img=01230839495d30d718127 [nonactive]

N3RVE

Currently mobile, thus, can't see what you are pointing out. :(

-[n3rve]
Ralph "[n3rve]" Otowo
Former Marketing Co-ordinator, Simple Machines.
ralph [at] simplemachines [dot] org                       
Quote"Somewhere, something incredible is waiting to be known." - Carl Sagan

Advertisement: