Forum

Thread tagged as: Problem, Error, Addons

contact form error

Hi, I have a contact form, but to send it shows the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/achpcl/public_html/quienes_somos/contacto.php:1) in /home/achpcl/public_html/manejador/core/lib/PerchUtil.class.php on line 92

Help me please. (Perch 2.6)

alex s

alex s 0 points

  • 7 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

If you are getting that error then you are outputting something - probably whitespace - before the headers. Check that when you added the forms app you didn't put whitespace in the configuration file before or after the PHP tags.

alex s

alex s 0 points

Hi rachel, I check the config.php and is ok (without spaces).

Drew McLellan

Drew McLellan 2638 points
Perch Support

What's at quienes_somos/contacto.php on line 1?

alex s

alex s 0 points

contacto.php is the contact form page, code in line 1 is: <?php include('../manejador/runtime.php');?> (without spaces)

regards alex

Drew McLellan

Drew McLellan 2638 points
Perch Support

Is your file saved with a BOM? Try saying without.

alex s

alex s 0 points

Hi, without BOM works perfectly, thanks Drew (once again)