vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Advance Image Verification Hack - Prevent Automated Registrations (https://vborg.vbsupport.ru/showthread.php?t=48709)

Slynderdale 02-10-2003 09:57 AM

Quote:

Originally posted by drives fast
I installed this and I also get this error:

I saw this posted:

and I also have no cache folder and I cannot find anywhere that is says where it is supposed to go....if it is supposed to go in the images/verify directory....why does the images and verify directories not have to be chmodded to 777 as well?

I saw this posted right after:

and this was the reply:

this does not address the issue of the error mentioned at all nor where the cache folder is supposed to go.

then I saw this posted:

I didn't see anything telling me to find something three times when I ran the installer

and the reply to that was:

where in the instructions does it say to find something three times?

my question is.....what do I do now.....I get the same error as a couple other people and I do not know what to do to solve it and I do not know where to create the cache folder since the instructions do not mention it other than what to chmod it to.

please help me

also...in the images...the upper case "O" is exactly the same as the zero...how will anyone know which one is there?

Try following the instructions in the Imgage Verification.txt file (without the install file at the top) and see if you installed it correctly, also you could of tooked to long registering, you could also try making the session limit higher.

Also for some reason the zip file didint include the cache folder, I'll fix the attachment in the foirst post right now and include it, sorry for that.

You dont find any thing three times, the installer php file wasnt clear enough and some poeple found things three times instead of one, I fixed the file.

Also as I stated in a previous post, these images arent that good, there demo images, If some ones willing to make new ones ill be most grateful.

Slynderdale 02-10-2003 10:01 AM

Quote:

Originally posted by Glock
Error: Failed to create a destination image.
Try turning GD 2.0 support off if you have it on

PHP Code:

            if ($imageverification_gdsupport) {
                
//ImageCreateTrueColor requires GD 2.0 or higher
                
if (!$img = @ImageCreateTrueColor($create_width,$create_height))
                
DisplayError("Failed to create a destination image.");
            } else {
                if (!
$img = @ImageCreate($create_width,$create_height))
                
DisplayError("Failed to create a destination image.");
            } 

Thats where the file generates that error.

Glock 02-10-2003 03:02 PM

It works in non GD mode...but I spend an hour upgrading PHP and all so i could use GD...

Glock 02-10-2003 03:06 PM

Also, it doesn't seem to be random. I've cleared my cookies and all and it shows the same set everytime.

Velocd 02-10-2003 03:32 PM

It's not random when you clear your cache, what it does is for every registration session it will use the same random image code, until a new registration session occurs.

Basically meaning if you are on the register page and keep clearing your cache and refreshing the page, you'll see the same GD-image code everytime, until you actually register. Then when you go back to register yet another time, it will be a different code.

Velocd 02-10-2003 03:49 PM

I checked with my host and it appears my server does have GD2.0 support, yet even though I've choosen the option for GD2.0 support and enabled it via Admin Cp, I can't seem to get it to work on the registration page. All I am getting is the box with the red X to signify no image being found.... :ermm:

drives fast 02-10-2003 06:11 PM

Quote:

Try following the instructions in the Imgage Verification.txt file (without the install file at the top) and see if you installed it correctly
I will try that...I noticed that a lot is different in the txt file compared to the instructions in the install.php file

Quote:

also you could of tooked to long registering
what you are not understanding about what I and others said is that you don't even get to the registration page for it to timeout. Just clicking the "agree" button on the rules page and then that error happens.

I will try again with the other file and do it all manually

thanks

Slynderdale 02-10-2003 06:15 PM

Quote:

Originally posted by Velocd
I checked with my host and it appears my server does have GD2.0 support, yet even though I've choosen the option for GD2.0 support and enabled it via Admin Cp, I can't seem to get it to work on the registration page. All I am getting is the box with the red X to signify no image being found.... :ermm:
Hmm, ill take a look at the code more, set that for no for now and see if it works, gd support 2.0 is to create true color images instead of a normal create image, I dot have gd 2.0 installed on my test server so I wasnt able to test the gd 2.0 support.

Also velcod create a pgp file with:
<?
phpinfo();
?>

and tell me what it says about your GD version

Slynderdale 02-10-2003 06:20 PM

Quote:

Originally posted by drives fast

I will try that...I noticed that a lot is different in the txt file compared to the instructions in the install.php file


what you are not understanding about what I and others said is that you don't even get to the registration page for it to timeout. Just clicking the "agree" button on the rules page and then that error happens.

I will try again with the other file and do it all manually

thanks

Yea, then you have the code in the wrong spot then, I updated both the install file and the install text with the right code before (I also would like to note, every time i update the zip, I delete it first then upload the new one, I find this help prevent the file from being called from the browser's cache and also a way for you to tell if I updated it)

If you follow the tet instructions and still get an error, tell me.

Slynderdale 02-10-2003 06:36 PM

Also for debugging purposes, I added error print out to the imagegen.php file, so if you happen to get a red x, right click on it and go to properties and then copy and paste the full url it gives you to your browser and then see what the error was, then copy and paste the error you get into a post or pm to me so I know where in the script your getting an error. For example, if th error says a file cant be found then you must of uploaded the images wrong and so on.


All times are GMT. The time now is 08:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01295 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete