ErrorException (E_WARNING)
Header may not contain more than a single header, new line detected ErrorException thrown with message "Header may not contain more than a single header, new line detected" Stacktrace: #3 ErrorException in D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php:345 #2 header in D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php:345 #1 Symfony\Component\HttpFoundation\Response:sendHeaders in D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php:383 #0 Symfony\Component\HttpFoundation\Response:send in D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php:58
3
ErrorException
…\vendor\symfony\http-foundation\Response.php345
2
header
…\vendor\symfony\http-foundation\Response.php345
1
Symfony\Component\HttpFoundation\Response sendHeaders
…\vendor\symfony\http-foundation\Response.php383
0
Symfony\Component\HttpFoundation\Response send
…\index.php58
D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php
     * Sends HTTP headers.
     *
     * @return $this
     */
    public function sendHeaders()
    {
        // headers have already been sent by the developer
        if (headers_sent()) {
            return $this;
        }
 
        /* RFC2616 - 14.18 says all Responses need to have a Date */
        if (!$this->headers->has('Date')) {
            $this->setDate(\DateTime::createFromFormat('U', time()));
        }
 
        // headers
        foreach ($this->headers->allPreserveCaseWithoutCookies() as $name => $values) {
            foreach ($values as $value) {
                header($name.': '.$value, false, $this->statusCode);
            }
        }
 
        // status
        header(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText), true, $this->statusCode);
 
        // cookies
        foreach ($this->headers->getCookies() as $cookie) {
            if ($cookie->isRaw()) {
                setrawcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
            } else {
                setcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
            }
        }
 
        return $this;
    }
 
    /**
     * Sends content for the current web response.
Arguments
  1. "Header may not contain more than a single header, new line detected"
    
D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php
     * Sends HTTP headers.
     *
     * @return $this
     */
    public function sendHeaders()
    {
        // headers have already been sent by the developer
        if (headers_sent()) {
            return $this;
        }
 
        /* RFC2616 - 14.18 says all Responses need to have a Date */
        if (!$this->headers->has('Date')) {
            $this->setDate(\DateTime::createFromFormat('U', time()));
        }
 
        // headers
        foreach ($this->headers->allPreserveCaseWithoutCookies() as $name => $values) {
            foreach ($values as $value) {
                header($name.': '.$value, false, $this->statusCode);
            }
        }
 
        // status
        header(sprintf('HTTP/%s %s %s', $this->version, $this->statusCode, $this->statusText), true, $this->statusCode);
 
        // cookies
        foreach ($this->headers->getCookies() as $cookie) {
            if ($cookie->isRaw()) {
                setrawcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
            } else {
                setcookie($cookie->getName(), $cookie->getValue(), $cookie->getExpiresTime(), $cookie->getPath(), $cookie->getDomain(), $cookie->isSecure(), $cookie->isHttpOnly());
            }
        }
 
        return $this;
    }
 
    /**
     * Sends content for the current web response.
Arguments
  1. """
    Location: mailto:Maadi:Academy_info@thebes.edu.eg\r\n
    \r\n
    Giza:Thebes.academy@tiba.edu.eg
    """
    
  2. false
    
  3. 302
    
D:\InetPub\vhosts\thebes.edu.eg\httpdocs\vendor\symfony\http-foundation\Response.php
    /**
     * Sends content for the current web response.
     *
     * @return $this
     */
    public function sendContent()
    {
        echo $this->content;
 
        return $this;
    }
 
    /**
     * Sends HTTP headers and content.
     *
     * @return $this
     */
    public function send()
    {
        $this->sendHeaders();
        $this->sendContent();
 
        if (function_exists('fastcgi_finish_request')) {
            fastcgi_finish_request();
        } elseif ('cli' !== PHP_SAPI) {
            static::closeOutputBuffers(0, true);
        }
 
        return $this;
    }
 
    /**
     * Sets the response content.
     *
     * Valid types are strings, numbers, null, and objects that implement a __toString() method.
     *
     * @param mixed $content Content that can be cast to string
     *
     * @return $this
     *
D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
_FCGI_X_PIPE_
"\\.\pipe\IISFCGI-5d4df56d-c66a-48f6-a968-f4320ae2095f"
ALLUSERSPROFILE
"C:\ProgramData"
APPDATA
"C:\WINDOWS\system32\config\systemprofile\AppData\Roaming"
APP_POOL_CONFIG
"C:\inetpub\temp\apppools\thebes.edu.eg(domain)(4.0)(pool)\thebes.edu.eg(domain)(4.0)(pool).config"
APP_POOL_ID
"thebes.edu.eg(domain)(4.0)(pool)"
CommonProgramFiles
"C:\Program Files\Common Files"
CommonProgramFiles(x86)
"C:\Program Files (x86)\Common Files"
CommonProgramW6432
"C:\Program Files\Common Files"
COMPUTERNAME
"RS1"
ComSpec
"C:\WINDOWS\system32\cmd.exe"
DriverData
"C:\Windows\System32\Drivers\DriverData"
FP_NO_HOST_CHECK
"NO"
LOCALAPPDATA
"C:\WINDOWS\system32\config\systemprofile\AppData\Local"
NUMBER_OF_PROCESSORS
"16"
OS
"Windows_NT"
Path
"C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Puppet Labs\Puppet\bin;C:\Program Files (x86)\Parallels\Plesk\ctl;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
plesk_bin
"C:\Program Files (x86)\Parallels\Plesk\admin\bin"
plesk_bin64
"C:\Program Files (x86)\Parallels\Plesk\admin\bin64"
plesk_cli
"C:\Program Files (x86)\Parallels\Plesk\bin"
plesk_data
"C:\Program Files (x86)\Parallels\Plesk\"
plesk_dir
"C:\Program Files (x86)\Parallels\Plesk\"
plesk_vhosts
"D:\InetPub\vhosts\"
PROCESSOR_ARCHITECTURE
"AMD64"
PROCESSOR_IDENTIFIER
"Intel64 Family 6 Model 106 Stepping 6, GenuineIntel"
PROCESSOR_LEVEL
"6"
PROCESSOR_REVISION
"6a06"
ProgramData
"C:\ProgramData"
ProgramFiles
"C:\Program Files"
ProgramFiles(x86)
"C:\Program Files (x86)"
ProgramW6432
"C:\Program Files"
PSModulePath
"C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\"
PUBLIC
"C:\Users\Public"
SystemDrive
"C:"
SystemRoot
"C:\WINDOWS"
TEMP
"C:\WINDOWS\TEMP"
TMP
"C:\WINDOWS\TEMP"
USERDOMAIN
"WIN"
USERNAME
"RS1$"
USERPROFILE
"C:\WINDOWS\system32\config\systemprofile"
windir
"C:\WINDOWS"
ORIG_PATH_INFO
"/index.php"
URL
"/index.php"
SERVER_SOFTWARE
"Microsoft-IIS/10.0"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_PORT_SECURE
"1"
SERVER_PORT
"443"
SERVER_NAME
"thebes.edu.eg"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php"
REQUEST_URI
"/ar/mail"
REQUEST_METHOD
"GET"
REMOTE_USER
""
REMOTE_PORT
"3201"
REMOTE_HOST
"18.188.252.23"
REMOTE_ADDR
"18.188.252.23"
QUERY_STRING
""
PATH_TRANSLATED
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php"
LOGON_USER
""
LOCAL_ADDR
"143.95.40.186"
INSTANCE_META_PATH
"/LM/W3SVC/244"
INSTANCE_NAME
"THEBES.EDU.EG"
INSTANCE_ID
"244"
HTTPS_SERVER_SUBJECT
"CN=thebes.edu.eg"
HTTPS_SERVER_ISSUER
"C=US, O=Let's Encrypt, CN=R3"
HTTPS_SECRETKEYSIZE
"2048"
HTTPS_KEYSIZE
"256"
HTTPS
"on"
GATEWAY_INTERFACE
"CGI/1.1"
DOCUMENT_ROOT
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs"
CONTENT_TYPE
""
CONTENT_LENGTH
"0"
CERT_SUBJECT
""
CERT_SERIALNUMBER
""
CERT_ISSUER
""
CERT_FLAGS
""
CERT_COOKIE
""
AUTH_USER
""
AUTH_PASSWORD
""
AUTH_TYPE
""
APPL_PHYSICAL_PATH
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\"
APPL_MD_PATH
"/LM/W3SVC/244/ROOT"
IIS_UrlRewriteModule
"7,1,1993,2336"
WEBSOCKET_VERSION
"13"
UNENCODED_URL
"/ar/mail"
IIS_WasUrlRewritten
"1"
HTTP_X_ORIGINAL_URL
"/ar/mail"
HTTP_USER_AGENT
"claudebot"
HTTP_REFERER
"http://thebes.edu.eg/ar/mail"
HTTP_HOST
"thebes.edu.eg"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"0"
HTTP_CONNECTION
"close"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1713454994.0537
REQUEST_TIME
1713454994
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:fiUbbEGMJ2UOgiIkMOB2Hx90fzhdKr3Ly2ex/1LF8n4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://thebes.edu.eg/public"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"thebes_admin_siteDB"
DB_USERNAME
"thebe_dbadmin"
DB_PASSWORD
"Td.com.eg@2021"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.thebes-edu-eg.mail.protection.outlook.com"
MAIL_PORT
"41654"
MAIL_USERNAME
"Academy_info@thebes.edu.eg"
MAIL_PASSWORD
"A@12345_I"
MAIL_ENCRYPTION
"null"
MAIL_CAREERS
"hr@thebes.edu.eg"
MAIL_CONTACT
"info@thebes.edu.eg"
MAIL_FROM_ADDRESS
"info@thebesacademy.org"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
Key Value
_FCGI_X_PIPE_
"\\.\pipe\IISFCGI-5d4df56d-c66a-48f6-a968-f4320ae2095f"
ALLUSERSPROFILE
"C:\ProgramData"
APPDATA
"C:\WINDOWS\system32\config\systemprofile\AppData\Roaming"
APP_POOL_CONFIG
"C:\inetpub\temp\apppools\thebes.edu.eg(domain)(4.0)(pool)\thebes.edu.eg(domain)(4.0)(pool).config"
APP_POOL_ID
"thebes.edu.eg(domain)(4.0)(pool)"
CommonProgramFiles
"C:\Program Files\Common Files"
CommonProgramFiles(x86)
"C:\Program Files (x86)\Common Files"
CommonProgramW6432
"C:\Program Files\Common Files"
COMPUTERNAME
"RS1"
ComSpec
"C:\WINDOWS\system32\cmd.exe"
DriverData
"C:\Windows\System32\Drivers\DriverData"
FP_NO_HOST_CHECK
"NO"
LOCALAPPDATA
"C:\WINDOWS\system32\config\systemprofile\AppData\Local"
NUMBER_OF_PROCESSORS
"16"
OS
"Windows_NT"
Path
"C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files (x86)\Puppet Labs\Puppet\bin;C:\Program Files (x86)\Parallels\Plesk\ctl;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps"
PATHEXT
".COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC"
plesk_bin
"C:\Program Files (x86)\Parallels\Plesk\admin\bin"
plesk_bin64
"C:\Program Files (x86)\Parallels\Plesk\admin\bin64"
plesk_cli
"C:\Program Files (x86)\Parallels\Plesk\bin"
plesk_data
"C:\Program Files (x86)\Parallels\Plesk\"
plesk_dir
"C:\Program Files (x86)\Parallels\Plesk\"
plesk_vhosts
"D:\InetPub\vhosts\"
PROCESSOR_ARCHITECTURE
"AMD64"
PROCESSOR_IDENTIFIER
"Intel64 Family 6 Model 106 Stepping 6, GenuineIntel"
PROCESSOR_LEVEL
"6"
PROCESSOR_REVISION
"6a06"
ProgramData
"C:\ProgramData"
ProgramFiles
"C:\Program Files"
ProgramFiles(x86)
"C:\Program Files (x86)"
ProgramW6432
"C:\Program Files"
PSModulePath
"C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\120\Tools\PowerShell\Modules\"
PUBLIC
"C:\Users\Public"
SystemDrive
"C:"
SystemRoot
"C:\WINDOWS"
TEMP
"C:\WINDOWS\TEMP"
TMP
"C:\WINDOWS\TEMP"
USERDOMAIN
"WIN"
USERNAME
"RS1$"
USERPROFILE
"C:\WINDOWS\system32\config\systemprofile"
windir
"C:\WINDOWS"
ORIG_PATH_INFO
"/index.php"
URL
"/index.php"
SERVER_SOFTWARE
"Microsoft-IIS/10.0"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_PORT_SECURE
"1"
SERVER_PORT
"443"
SERVER_NAME
"thebes.edu.eg"
SCRIPT_NAME
"/index.php"
SCRIPT_FILENAME
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php"
REQUEST_URI
"/ar/mail"
REQUEST_METHOD
"GET"
REMOTE_USER
""
REMOTE_PORT
"3201"
REMOTE_HOST
"18.188.252.23"
REMOTE_ADDR
"18.188.252.23"
QUERY_STRING
""
PATH_TRANSLATED
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\index.php"
LOGON_USER
""
LOCAL_ADDR
"143.95.40.186"
INSTANCE_META_PATH
"/LM/W3SVC/244"
INSTANCE_NAME
"THEBES.EDU.EG"
INSTANCE_ID
"244"
HTTPS_SERVER_SUBJECT
"CN=thebes.edu.eg"
HTTPS_SERVER_ISSUER
"C=US, O=Let's Encrypt, CN=R3"
HTTPS_SECRETKEYSIZE
"2048"
HTTPS_KEYSIZE
"256"
HTTPS
"on"
GATEWAY_INTERFACE
"CGI/1.1"
DOCUMENT_ROOT
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs"
CONTENT_TYPE
""
CONTENT_LENGTH
"0"
CERT_SUBJECT
""
CERT_SERIALNUMBER
""
CERT_ISSUER
""
CERT_FLAGS
""
CERT_COOKIE
""
AUTH_USER
""
AUTH_PASSWORD
""
AUTH_TYPE
""
APPL_PHYSICAL_PATH
"D:\InetPub\vhosts\thebes.edu.eg\httpdocs\"
APPL_MD_PATH
"/LM/W3SVC/244/ROOT"
IIS_UrlRewriteModule
"7,1,1993,2336"
WEBSOCKET_VERSION
"13"
UNENCODED_URL
"/ar/mail"
IIS_WasUrlRewritten
"1"
HTTP_X_ORIGINAL_URL
"/ar/mail"
HTTP_USER_AGENT
"claudebot"
HTTP_REFERER
"http://thebes.edu.eg/ar/mail"
HTTP_HOST
"thebes.edu.eg"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"0"
HTTP_CONNECTION
"close"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1713454994.0537
REQUEST_TIME
1713454994
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:fiUbbEGMJ2UOgiIkMOB2Hx90fzhdKr3Ly2ex/1LF8n4="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://thebes.edu.eg/public"
DB_CONNECTION
"mysql"
DB_HOST
"127.0.0.1"
DB_PORT
"3306"
DB_DATABASE
"thebes_admin_siteDB"
DB_USERNAME
"thebe_dbadmin"
DB_PASSWORD
"Td.com.eg@2021"
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
SESSION_LIFETIME
"120"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"smtp.thebes-edu-eg.mail.protection.outlook.com"
MAIL_PORT
"41654"
MAIL_USERNAME
"Academy_info@thebes.edu.eg"
MAIL_PASSWORD
"A@12345_I"
MAIL_ENCRYPTION
"null"
MAIL_CAREERS
"hr@thebes.edu.eg"
MAIL_CONTACT
"info@thebes.edu.eg"
MAIL_FROM_ADDRESS
"info@thebesacademy.org"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
PUSHER_APP_CLUSTER
"mt1"
0. Whoops\Handler\PrettyPageHandler