Captcha and re-direct not playing nice

dave 06 Jun, 2008
Good Day All

First of all thank you for Chrono Forms.

I looks like I am also having trouble with the Captcha and re-direct. I had Chrono Forms 2.3.8 installed with Joomla 1.0.13 and image verification turned on, all was fine.

I then updated to Joomla 1.0.15 and found that Chrono Forms would not send the form nor would it re-direct the user to the thank you page I had as a re-direct (customer sent to blank Joomla page) BUT the Captcha image was visible.

I then updated to Chrono Forms 2.3.9 hoping that would fix the problem, but no luck, and now there is no Captcha image at all.

If I turn off the image verification all works fine.

Server info below:

Database Version: 4.1.22-standard
PHP Version: 5.2.2

Web Server: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b

WebServer to PHP interface: cgi
Joomla! Version: Joomla! 1.0.15 Stable [ Daytime ] 22 February 2008 23:00 UTC

PHP Version 5.2.2
Server API CGI
No user php.ini file installed

##>> PHP Warnings moved to Dave's second post : Greyhead <<##
dave 06 Jun, 2008
I'm sorry but your forum doubled my post when I added the error info?

Dave G

##>> PHP Warnings moved from Dave's first post <<##

Errors from chrono_verification.php:

Warning: imagecreatefrompng() [function.imagecreatefrompng]: 'background.png' is not a valid PNG file in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 85

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 86

Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 87

Warning: imagestring(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 88

Warning: imagestring(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 89

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 91

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 93

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 94

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php:85) in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 95

Warning: imagepng(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 96

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xxxxxxxx/public_html/components/com_chronocontact/chrono_verification.php on line 97

Any help with this would be great
Thank You
Dave G
GreyHead 06 Jun, 2008
Hi Dave,

Looking at that first warning it may be that you are missing the background.png image. Please check your /home/xxxxxxxx/public_html/components/com_chronocontact/ folder and see if it is there.

If not, I've attached a copy.

Bob [file name=background.png size=199]http://www.chronoengine.com/images/fbfiles/files/background.png[/file]
dave 06 Jun, 2008
Hi Bob

The image did exist "components/com_chronocontact/" I went ahead and replaced it with the one you attached still no luck using "With fonts" but the "Without Fonts" is now working and the re-direct is back.

Could the background.png be corrupt in the update package as I see it was one of the files updated.

Now all we need to do is get the "With Fonts" working and I'll be a happy camper.

From the Anti-Spam tab:
Select the type of image to show?: With fonts
GD Version: bundled (2.0.34 compatible)
FreeType Support: Yes
PNG Support: Yes
Sample image: (no image)

Thanks
Dave G
GreyHead 06 Jun, 2008
Hi Dave,

Hmmm could be a corrupted file somewhere - I just copy them into the upgrader folders, or they might have been corrupted in the FTP upload, that's happened before.

If With Fonts isn't working I wonder if the default.ttf file is also damaged? Please try this in the smae folder.

Bob [file name=default.zip size=12926]http://www.chronoengine.com/images/fbfiles/files/default.zip[/file]
dave 06 Jun, 2008
Bob

I have fixed the "With font" problem by re-uploading the "default.ttf" I then re-uploaded the ChronoForms update and every thing is working as it should I not sure what happen.

Thank You for your time
Dave G
GreyHead 06 Jun, 2008
Hi Dave,

Excellent, glad it's working now.

Bob
This topic is locked and no more replies can be posted.