Captcha image problems

nonsavant 04 Apr, 2009
Seems you probably see way more messages about this than you would like, but I'm afraid here's another one! The sample image isn't appearing, running chrono_verification.php gives me a whole heap of errors (not duplicated in other posts).

Setup:
• Joomla 1.5.9
• Chronoforms V3.1 RC4.0
• ChronoForms Mambot_V0.9_V3.1RC2

AntiSpam report:
[attachment=0]antispam.png[/attachment]

Permissions:
folder com_chronocontact 755
file chrono_verification.php 644

chrono_verification.php gives me:

(edited to remove username/domain)
[code]
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/users/xxxx/html/xxxx/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/libraries/joomla/session/session.php on line 423

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/libraries/joomla/session/session.php on line 426

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 25

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 28

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 102

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 103

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 104

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 105

Warning: Cannot modify header information - headers already sent by (output started at /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php:1) in /home/users/xxxx/html/xxxx.co.uk/components/com_chronocontact/chrono_verification.php on line 106
�PNG  ��� IHDR���x���(������r���IDATh��ђ� Eag?J��!�+�!3� ���]Z�y���)Z��(������(E��h ��AP4�A� (E��h ��\k-��Wz�29u�mx�#_(���Z+l��53,9nf����O�+ �ZDT����{ 奄 �\U��"��ٌmۼŎco�C֤/څ��M3���Gc�R�cCb�9Q���겮��u�٦�9����s�\�d6N��\��h l�e����]�]m lY�>L�%:�Q�Ŗ���h�.�Ml�q�ey�t�e �G>��^�;�n����8�uč��D�t�"��{�3����~�Vtw�a�����s2�?��Nx-�����kp2�tW`�^���nH��Q;և�Bwa����$2�3�z����|W.�ř%:��|�[���� (E��h ��AP4�A� (�=W>�x����IEND�B`�[/code]

Any ideas?! Thanks.
nml375 05 Apr, 2009
For some reason, the chrono_verification.php file outputs data on the very first line. This prevents it from adding headers (used by sessions, etc).
My first guess would be that the file got damaged during the installation or later on.
nonsavant 05 Apr, 2009
Thanks for your reply.

I've already tried two reinstallations, in case corruption was the problem. Unfortunately the problem persists.

The screenshot belows shows that the files haven't been modified since installation:[attachment=0]screenshot.png[/attachment]
GreyHead 06 Apr, 2009
Hi nonsavant,

I checked a copy of chrono_verification.php from RC4 on a client's site and found some stray characters right at the start of the file - see the image below. I can't see these in the file from the distribution opened in a text editor - maybe they aren't ASCII characters ??

The file is otherwise identical from the one from the earlier distributions so if you have one of those you could copy it over. I will install a copy locally and check it later today.

Bob
healthyaddiction 06 Apr, 2009
I had this problem and was posting about it below. Based on what GreyHead said I copied all of the chrono_verification.php document except the top line (<?php) where those bits of text were hidden and then pasted into a new document, added the <?php bit manually and then saved it over the top of the original chrono_verification.php and it works fine now.

This is something the developers should quickly get onto as a quick fix.

Thanks GreyHead for the help 😀
nonsavant 06 Apr, 2009
Yep, turns out it was the same problem here, my ISP tech support checked the file and found the dodgy characters before the PHP block. I thought the text editor I was using would've picked up on the characters (TextWrangler on Mac OS), but obviously not. (oh, it does with encoding Western (Windows Latin-1))

For the record, I installed the packages using Joomla's built-in installer (i.e. Joomla uploaded the archive file and unzipped it) so the corruption is maybe included in the distribution?

In fact, all of the PHP files in the package have three extra characters before the opening "<".

Thanks for the replies and help!
Max_admin 07 Apr, 2009
Hi,

Thank you for bringing out the problem, that's because the text editor I used recently was adding the BOM automatically, I will fix this in RC4.1 and add it online later today!

Regards,
Max

[[>> BOM = [url=http://en.wikipedia.org/wiki/Byte-order_mark]Byte Order Mark[/url] : Greyhead<<]]
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 09 Oct, 2009
Hi soamz,

Please don't make multiple posts with the same question.

Have you checked your server logs to see wif there is any information about the error?

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

VPS & Email Hosting 20% discount
hostinger