Author |
Message |
Doulos
Life Cycles Becoming CPU Cycles
![](modules/Forums/images/avatars/181553f049aa2a5924cda.jpg)
Joined: Jun 06, 2005
Posts: 732
|
Posted:
Fri Nov 13, 2009 6:35 pm |
|
Ok, please explain to me again how to change the image.
I have edited class.php-captcha.php but nothing I do changes the captcha image.
I would like to make the image larger. Old guys like me have to go through several attempts at logging in before we see an image good enough to succeed.
I put the defaults as follows to see if it made a differenceCode:define('CAPTCHA_SESSION_ID', 'php_captcha');
define('CAPTCHA_WIDTH', 300); // max 500
define('CAPTCHA_HEIGHT', 90); // max 200
define('CAPTCHA_NUM_CHARS', 5);
define('CAPTCHA_NUM_LINES', 90);
define('CAPTCHA_CHAR_SHADOW', false);
define('CAPTCHA_OWNER_TEXT', '');
define('CAPTCHA_CHAR_SET', ''); // defaults to A-Z
define('CAPTCHA_CASE_INSENSITIVE', false);
define('CAPTCHA_BACKGROUND_IMAGES', '');
define('CAPTCHA_MIN_FONT_SIZE', 16);
define('CAPTCHA_MAX_FONT_SIZE', 20);
define('CAPTCHA_USE_COLOUR', true);
define('CAPTCHA_FILE_TYPE', 'png');
define('CAPTCHA_FLITE_PATH', '/usr/bin/flite');
define('CAPTCHA_AUDIO_PATH', '/tmp/'); // must be writeable by PHP process
|
Here is what it looks like.
Is there something else I need to do, or other files I need to check? This is a fresh install of RN2.4.
I just modified that file on another site which was upgraded from 2.3 to 2.4 and I can increase the size of the captcha image, and it is in color and contains 5 characters. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
hicuxunicorniobestbuildpc
The Mouse Is Extension Of Arm
![](modules/Forums/images/avatars/5ed231554a8492e2e09da.gif)
Joined: Aug 13, 2009
Posts: 1123
|
Posted:
Fri Nov 13, 2009 6:59 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Nov 13, 2009 7:47 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Sat Nov 14, 2009 6:12 am |
|
That is not the right captcha for RN2.4. Is this an upgrade? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 14, 2009 6:36 pm |
|
No, it is a fresh install from this download: RavenNuke_v2.40.00.7z
I have an upgraded site on which the captcha works fine, including modifying the settings in class.php-captcha.php |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Nov 14, 2009 7:44 pm |
|
Could it have something to do with this....?
Warning: ini_set() has been disabled for security reasons.... in rnconfig.php line 265. (this is the only php error warning I get)
If I comment out line 265 the captcha shows up as in the first post in this thread. If I un-comment line 265 the captcha does not show up at all - I get this instead....
My host has disabled ini_set() - I just installed a local copy using xampp and the captcha shows up as expected. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
Site Admin
![](modules/Forums/images/avatars/0c0adf824792d6d341ef4.gif)
Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Sun Nov 15, 2009 12:53 pm |
|
Doulos, actually, I think the problem may have something to do with not having GD access or GD was not compiled with FreeType support.
The captcha should look like the ones on the Only registered users can see links on this board! Get registered or login!. Something is not right with your set up and not sure if the ini_set issue is the cause... yet. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Nov 30, 2009 5:24 pm |
|
montego, is this what you are talking about? Only registered users can see links on this board! Get registered or login!
If not, how would I go about finding out? I am about to turn off the captcha verification since I am getting no end of complaints about the image being too small to read. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 6:42 am |
|
You need to check with your host about making sure GD is compiled to include FreeType 2 (I believe is the minimum) support. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 1:54 pm |
|
Thanks, but I decided to host it myself. We have had too many server issues with our present host. Thanks for all your help. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
dad7732
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Mar 18, 2007
Posts: 1242
|
Posted:
Wed Dec 02, 2009 3:48 pm |
|
Doulos wrote: | Thanks, but I decided to host it myself. We have had too many server issues with our present host. Thanks for all your help. |
Ok, so is it working correctly now? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 6:57 pm |
|
Captcha works correctly everywhere I tried it except on the server the site was originally hosted. As it was being hosted for free we couldn't complain too much. We have been unable to have reliable, timely communications with the server owner for some time now. We have had enough. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Dec 02, 2009 7:18 pm |
|
Doulos,
For a very few $ I can host your site ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 8:01 pm |
|
Thanks, I will keep that in mind. We use a lot of bandwidth on this particular site (close to a 100GB/mth sometimes), several large databases, and a lot of disk space for large file storage. I want to see how my server (and I) can handle it first since I am also free .
Anyway, I moved the site, and the captcha image shows up exactly as expected. However, now it won't let anyone log in. We keep getting the "Security Code is incorrect, Please go back and type it exactly as given ..." message.
Suggestions? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
bobbyg
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/47640777475ce61275311.jpg)
Joined: Dec 05, 2007
Posts: 212
Location: Tampa, Florida
|
Posted:
Wed Dec 02, 2009 8:12 pm |
|
If you are getting free hosting via a GoDaddy or WildWestDomains reseller, the captcha will not work on the free hosting. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 8:37 pm |
|
Not a free hosting site. By free I mean I am not paying extra to host this other site.
I have others nuke sites on this same server that captcha is working fine on. I just want to know what files I should look at to see if something got messed up via FTP. I don't want to re-upload all the files from the RN2.4 distro just to find the few that are causing the problem. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
bobbyg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Dec 02, 2009 11:56 pm |
|
Did you add any additional modules? I had added osc4nuke to one of mine and got the same error. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Doulos
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Dec 03, 2009 1:31 pm |
|
Ok, I decided to start over with a fresh install, make sure everything works then replace one set of files at a time from the other website. Hopefully, I will be able to find the offending item(s). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
montego
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Dec 05, 2009 10:02 am |
|
Doulos, that error is usually due to the PHP session settings not being correct, meaning that NO PHP session temporary files can be written (this is usually the problem - either wrong directory path or wrong permissions). |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|