so this is the site :
if you go to the url and highlight upper page you will see:
Warning: session_start(): Cannot send session cache limiter -
headers already sent (output started at
/home/mirmehrk/public_html/canz.co/index.php:1) in
/home/mirmehrk/public_html/canz.co/include/fgcontactform.php on line
63
anyone can help me erase this error?
as you can see there is nothing before my opening php so where is the problem? maybe second php is the problem? isnt it ?
index file:
<?PHP
/*
Contact Form from HTML Form Guide
This program is free software published under the
terms of the GNU Lesser General Public License.
See this page for more info:
http://www.html-form-guide.com/contact-form/simple-modal-popup-contact-form.html
*/
//1. First, include the file popup-contactform.php
require_once('popup-contactform.php');
//2. link to the style file contact.css
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<title>Canz.co</title>
<link rel="STYLESHEET" type="text/css" href="popup-contact.css">
</head>
<body onload="javascript:fg_hideform('fg_formContainer','fg_backgroundpopup');">
<div id="canvas" align="center" style="z-index:0;position:relative"></div>
<div id="lang">
<span>
<a href="http://canz.co">
<input type="button" id="btnEN" value="EN"/>
</a>
</span>
<span>
<a href="http://canz.co/fa">
<input type="button" id="btnFA" value="فا"/>
</a>
</span>
</div>
<a href='javascript:fg_popup_form("fg_formContainer","fg_form_InnerContainer","fg_backgroundpopup");'>
<div style="font-size:18px;color:#9db1b2;text-align:center;margin-top:16px;">CONTACT US</div>
</a>
<div style="font-size:12px;color:#0a7a6b;text-align:center;margin-top:9px;">Recommended resolution: 1280px X 720px</div>
<div style="font-size:14px;color:#9db1b2;text-align:center;">Copyright 2014, All rights reserved</div>
<script src="js/jquery.min.js"></script>
<script src="js/raphael-min.js"></script>
<script src="js/our_script.js"></script>
<script>
var bodhei = window.innerHeight;
var bodwid = window.innerWidth;
$('body').innerHeight(bodhei);
$('body').innerWidth(bodwid);
</script>
<?PHP
//3. php include contactform-code.php at the end of the page
require_once('contactform-code.php');
?>
</body>
</html>