Zend_Controller_Exception
Invalid HTTP response code#0 /var/www/islamchannelurdu.tv/library/SimpleStream/Core/Modules/Application/Controllers/ErrorController.php(44): Zend_Controller_Response_Abstract->setHttpResponseCode(0) #1 /var/www/islamchannelurdu.tv/library/Zend/Controller/Action.php(516): SimpleStream_Core_Modules_Application_Controllers_ErrorController->errorAction() #2 /var/www/islamchannelurdu.tv/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('errorAction') #3 /var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /var/www/islamchannelurdu.tv/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #5 /var/www/islamchannelurdu.tv/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #6 /var/www/islamchannelurdu.tv/application/application.php(64): Zend_Application->run() #7 /var/www/islamchannelurdu.tv/public/index.php(3): require('/var/www/islamc...') #8 {main}
Previous exceptions
  • Invalid HTTP response code (0)
Zend_Controller_Exception thrown with message "Invalid HTTP response code#0 /var/www/islamchannelurdu.tv/library/SimpleStream/Core/Modules/Application/Controllers/ErrorController.php(44): Zend_Controller_Response_Abstract->setHttpResponseCode(0) #1 /var/www/islamchannelurdu.tv/library/Zend/Controller/Action.php(516): SimpleStream_Core_Modules_Application_Controllers_ErrorController->errorAction() #2 /var/www/islamchannelurdu.tv/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('errorAction') #3 /var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #4 /var/www/islamchannelurdu.tv/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #5 /var/www/islamchannelurdu.tv/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #6 /var/www/islamchannelurdu.tv/application/application.php(64): Zend_Application->run() #7 /var/www/islamchannelurdu.tv/public/index.php(3): require('/var/www/islamc...') #8 {main}" Stacktrace: #10 Zend_Controller_Exception in /var/www/islamchannelurdu.tv/library/Zend/Controller/Plugin/Broker.php:336 #9 Zend_Controller_Plugin_Broker:postDispatch in /var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php:965 #8 Zend_Controller_Response_Exception in /var/www/islamchannelurdu.tv/library/Zend/Controller/Response/Abstract.php:288 #7 Zend_Controller_Response_Abstract:setHttpResponseCode in /var/www/islamchannelurdu.tv/library/SimpleStream/Core/Modules/Application/Controllers/ErrorController.php:44 #6 SimpleStream_Core_Modules_Application_Controllers_ErrorController:errorAction in /var/www/islamchannelurdu.tv/library/Zend/Controller/Action.php:516 #5 Zend_Controller_Action:dispatch in /var/www/islamchannelurdu.tv/library/Zend/Controller/Dispatcher/Standard.php:308 #4 Zend_Controller_Dispatcher_Standard:dispatch in /var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php:954 #3 Zend_Controller_Front:dispatch in /var/www/islamchannelurdu.tv/library/Zend/Application/Bootstrap/Bootstrap.php:105 #2 Zend_Application_Bootstrap_Bootstrap:run in /var/www/islamchannelurdu.tv/library/Zend/Application.php:384 #1 Zend_Application:run in /var/www/islamchannelurdu.tv/application/application.php:64 #0 require in /var/www/islamchannelurdu.tv/public/index.php:3
Stack frames (11)
10
Zend_Controller_Exception
/library/Zend/Controller/Plugin/Broker.php336
9
Zend_Controller_Plugin_Broker postDispatch
/library/Zend/Controller/Front.php965
8
Zend_Controller_Response_Exception
/library/Zend/Controller/Response/Abstract.php288
7
Zend_Controller_Response_Abstract setHttpResponseCode
/library/SimpleStream/Core/Modules/Application/Controllers/ErrorController.php44
6
SimpleStream_Core_Modules_Application_Controllers_ErrorController errorAction
/library/Zend/Controller/Action.php516
5
Zend_Controller_Action dispatch
/library/Zend/Controller/Dispatcher/Standard.php308
4
Zend_Controller_Dispatcher_Standard dispatch
/library/Zend/Controller/Front.php954
3
Zend_Controller_Front dispatch
/library/Zend/Application/Bootstrap/Bootstrap.php105
2
Zend_Application_Bootstrap_Bootstrap run
/library/Zend/Application.php384
1
Zend_Application run
/application/application.php64
0
require
/public/index.php3
/var/www/islamchannelurdu.tv/library/Zend/Controller/Plugin/Broker.php
                }
            }
        }
    }
 
 
    /**
     * Called after an action is dispatched by Zend_Controller_Dispatcher.
     *
     * @param  Zend_Controller_Request_Abstract $request
     * @return void
     */
    public function postDispatch(Zend_Controller_Request_Abstract $request)
    {
        foreach ($this->_plugins as $plugin) {
            try {
                $plugin->postDispatch($request);
            } catch (Exception $e) {
                if (Zend_Controller_Front::getInstance()->throwExceptions()) {
                    throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
                } else {
                    $this->getResponse()->setException($e);
                }
            }
        }
    }
 
 
    /**
     * Called before Zend_Controller_Front exits its dispatch loop.
     *
     * @param  Zend_Controller_Request_Abstract $request
     * @return void
     */
    public function dispatchLoopShutdown()
    {
       foreach ($this->_plugins as $plugin) {
           try {
                $plugin->dispatchLoopShutdown();
            } catch (Exception $e) {
/var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php
                if (!$this->_request->isDispatched()) {
                    continue;
                }
 
                /**
                 * Dispatch request
                 */
                try {
                    $dispatcher->dispatch($this->_request, $this->_response);
                } catch (Exception $e) {
                    if ($this->throwExceptions()) {
                        throw $e;
                    }
                    $this->_response->setException($e);
                }
 
                /**
                 * Notify plugins of dispatch completion
                 */
                $this->_plugins->postDispatch($this->_request);
            } while (!$this->_request->isDispatched());
        } catch (Exception $e) {
            if ($this->throwExceptions()) {
                throw $e;
            }
 
            $this->_response->setException($e);
        }
 
        /**
         * Notify plugins of dispatch loop completion
         */
        try {
            $this->_plugins->dispatchLoopShutdown();
        } catch (Exception $e) {
            if ($this->throwExceptions()) {
                throw $e;
            }
 
            $this->_response->setException($e);
/var/www/islamchannelurdu.tv/library/Zend/Controller/Response/Abstract.php
     *
     * @return Zend_Controller_Response_Abstract
     */
    public function clearAllHeaders()
    {
        return $this->clearHeaders()
                    ->clearRawHeaders();
    }
 
    /**
     * Set HTTP response code to use with headers
     *
     * @param int $code
     * @return Zend_Controller_Response_Abstract
     */
    public function setHttpResponseCode($code)
    {
        if (!is_int($code) || (100 > $code) || (599 < $code)) {
            require_once 'Zend/Controller/Response/Exception.php';
            throw new Zend_Controller_Response_Exception('Invalid HTTP response code');
        }
 
        if ((300 <= $code) && (307 >= $code)) {
            $this->_isRedirect = true;
        } else {
            $this->_isRedirect = false;
        }
 
        $this->_httpResponseCode = $code;
        return $this;
    }
 
    /**
     * Retrieve HTTP response code
     *
     * @return int
     */
    public function getHttpResponseCode()
    {
        return $this->_httpResponseCode;
Exception message: Invalid HTTP response code
/var/www/islamchannelurdu.tv/library/SimpleStream/Core/Modules/Application/Controllers/ErrorController.php
                // Prepare response
                $statusCode = $errors->exception->getCode();

                // Log error
                if($statusCode != 403 && $statusCode != 404) {
                    $this->getHelper('logger')->log(
                        $errors->exception->getMessage(),
                        \Monolog\Logger::ERROR,
                        ['exception' => $errors->exception]
                    );
                }

                // Don't display 500 errors to users
                if ($statusCode >= 500 && $statusCode < 600) {
                    $errorMessage = 'Oops! An error occurred. Please try again later.';
                } else {
                    $errorMessage = $errors->exception->getMessage();
                }

                $this->getResponse()->setHttpResponseCode($statusCode);
                $this->view->message = $errorMessage;
                $this->view->code = $statusCode;
                break;
        }

        // conditionally display exceptions
        if ($this->getInvokeArg('displayExceptions')) {
            $this->view->exception = $errors->exception;
            $this->view->request = $errors->request;
        }
    }
}
 
/var/www/islamchannelurdu.tv/library/Zend/Controller/Action.php
    public function dispatch($action)
    {
        // Notify helpers of action preDispatch state
        $this->_helper->notifyPreDispatch();
 
        $this->preDispatch();
        if ($this->getRequest()->isDispatched()) {
            if (null === $this->_classMethods) {
                $this->_classMethods = get_class_methods($this);
            }
 
            // If pre-dispatch hooks introduced a redirect then stop dispatch
            // @see ZF-7496
            if (!($this->getResponse()->isRedirect())) {
                // preDispatch() didn't change the action, so we can continue
                if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
                    if ($this->getInvokeArg('useCaseSensitiveActions')) {
                        trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
                    }
                    $this->$action();
                } else {
                    $this->__call($action, array());
                }
            }
            $this->postDispatch();
        }
 
        // whats actually important here is that this action controller is
        // shutting down, regardless of dispatching; notify the helpers of this
        // state
        $this->_helper->notifyPostDispatch();
    }
 
    /**
     * Call the action specified in the request object, and return a response
     *
     * Not used in the Action Controller implementation, but left for usage in
     * Page Controller implementations. Dispatches a method based on the
     * request.
     *
/var/www/islamchannelurdu.tv/library/Zend/Controller/Dispatcher/Standard.php
 
        /**
         * Retrieve the action name
         */
        $action = $this->getActionMethod($request);
 
        /**
         * Dispatch the method call
         */
        $request->setDispatched(true);
 
        // by default, buffer output
        $disableOb = $this->getParam('disableOutputBuffering');
        $obLevel   = ob_get_level();
        if (empty($disableOb)) {
            ob_start();
        }
 
        try {
            $controller->dispatch($action);
        } catch (Exception $e) {
            // Clean output buffer on error
            $curObLevel = ob_get_level();
            if ($curObLevel > $obLevel) {
                do {
                    ob_get_clean();
                    $curObLevel = ob_get_level();
                } while ($curObLevel > $obLevel);
            }
            throw $e;
        }
 
        if (empty($disableOb)) {
            $content = ob_get_clean();
            $response->appendBody($content);
        }
 
        // Destroy the page controller instance and reflection objects
        $controller = null;
    }
/var/www/islamchannelurdu.tv/library/Zend/Controller/Front.php
            do {
                $this->_request->setDispatched(true);
 
                /**
                 * Notify plugins of dispatch startup
                 */
                $this->_plugins->preDispatch($this->_request);
 
                /**
                 * Skip requested action if preDispatch() has reset it
                 */
                if (!$this->_request->isDispatched()) {
                    continue;
                }
 
                /**
                 * Dispatch request
                 */
                try {
                    $dispatcher->dispatch($this->_request, $this->_response);
                } catch (Exception $e) {
                    if ($this->throwExceptions()) {
                        throw $e;
                    }
                    $this->_response->setException($e);
                }
 
                /**
                 * Notify plugins of dispatch completion
                 */
                $this->_plugins->postDispatch($this->_request);
            } while (!$this->_request->isDispatched());
        } catch (Exception $e) {
            if ($this->throwExceptions()) {
                throw $e;
            }
 
            $this->_response->setException($e);
        }
 
/var/www/islamchannelurdu.tv/library/Zend/Application/Bootstrap/Bootstrap.php
     * exception is thrown.
     *
     * If so, it registers the bootstrap with the 'bootstrap' parameter of
     * the front controller, and dispatches the front controller.
     *
     * @return mixed
     * @throws Zend_Application_Bootstrap_Exception
     */
    public function run()
    {
        $front   = $this->getResource('FrontController');
        $default = $front->getDefaultModule();
        if (null === $front->getControllerDirectory($default)) {
            throw new Zend_Application_Bootstrap_Exception(
                'No default controller directory registered with front controller'
            );
        }
 
        $front->setParam('bootstrap', $this);
        $response = $front->dispatch();
        if ($front->returnResponse()) {
            return $response;
        }
    }
 
    /**
     * Set module resource loader
     *
     * @param  Zend_Loader_Autoloader_Resource $loader
     * @return Zend_Application_Module_Bootstrap
     */
    public function setResourceLoader(Zend_Loader_Autoloader_Resource $loader)
    {
        $this->_resourceLoader = $loader;
        return $this;
    }
 
    /**
     * Retrieve module resource loader
     *
/var/www/islamchannelurdu.tv/library/Zend/Application.php
    /**
     * Bootstrap application
     *
     * @param  null|string|array $resource
     * @return Zend_Application
     */
    public function bootstrap($resource = null)
    {
        $this->getBootstrap()->bootstrap($resource);
        return $this;
    }
 
    /**
     * Run the application
     *
     * @return void
     */
    public function run()
    {
        $this->getBootstrap()->run();
    }
 
    /**
     * Load configuration file of options
     *
     * @param  string $file
     * @throws Zend_Application_Exception When invalid configuration file is provided
     * @return array
     */
    protected function _loadConfig($file)
    {
        $environment = $this->getEnvironment();
        $suffix      = pathinfo($file, PATHINFO_EXTENSION);
        $suffix      = ($suffix === 'dist')
                     ? pathinfo(basename($file, ".$suffix"), PATHINFO_EXTENSION)
                     : $suffix;
 
        switch (strtolower($suffix)) {
            case 'ini':
                $config = new Zend_Config_Ini($file, $environment);
/var/www/islamchannelurdu.tv/application/application.php
    // Zend
    require_once 'Zend/Application.php';
    require_once 'Zend/Loader/Autoloader.php';
    $autoloader = Zend_Loader_Autoloader::getInstance();

    // put autoloader instance in registry to retrieve it in bootstrap
    Zend_Registry::set('Autoloader', $autoloader);

    // init application
    $application = new Zend_Application(
        APPLICATION_ENV,
        [
            'config' => [
                LIBRARY_PATH . '/SimpleStream/Core/Configs/application.ini',
                LIBRARY_PATH . '/SimpleStream/Core/Configs/database.ini',
            ],
        ]
    );

    $application->bootstrap()->run();

?>
 
/var/www/islamchannelurdu.tv/public/index.php
<?php

require realpath(dirname(__FILE__)) . '/../application/application.php';

Environment & details:

empty
empty
empty
empty
Key Value
security Array ( [geoip] => Array ( [last_checked] => 2024-03-19 07:23:29 (tz: GB) [ip] => 44.220.245.254 [cc] => US [source] => cloudfront ) )
integrations-events Array ( [deferredEvents] => Array ( ) )
Key Value
USER www-data
HOME /var/www
HTTP_CLOUDFRONT_VIEWER_COUNTRY US
HTTP_VIA 2.0 9d3d57711186c70df25d455e0890cc8a.cloudfront.net (CloudFront)
HTTP_X_AMZ_CF_ID sfYtuZXX4YYfsuBiV_0QP5lWheq0RWPUWTDn95BEiiLVjGtuJQw5ig==
HTTP_USER_AGENT Amazon CloudFront
HTTP_X_AMZN_TRACE_ID Root=1-65f93d71-3c0747bd412804be15effafe
HTTP_HOST watch.islamchannelurdu.tv
HTTP_X_FORWARDED_PORT 80
HTTP_X_FORWARDED_PROTO http
HTTP_X_FORWARDED_FOR 44.220.245.254, 130.176.134.147
REDIRECT_STATUS 200
SERVER_NAME watch.islamchannelurdu.tv
SERVER_PORT 80
SERVER_ADDR 172.30.0.62
REMOTE_PORT 24922
REMOTE_ADDR 172.30.0.188
SERVER_SOFTWARE nginx/1.16.1
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /var/www/islamchannelurdu.tv/public
DOCUMENT_URI /index.php
REQUEST_URI /series/7c19af65-567e-11eb-bc19-06b69c2357cd
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
APPLICATION_ENV production
APPLICATION_CLIENT islamtvurdu
SCRIPT_FILENAME /var/www/islamchannelurdu.tv/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1710833009.2138
REQUEST_TIME 1710833009
empty
0. Whoops\Handler\PrettyPageHandler