Hi Steven, you change a super global variable!!!! >From any value to '' (empty String) so this warning is correct. Change your Code !
-- Marco -----Original Message----- From: Steven Brown [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 12:42 PM To: [email protected] Subject: [fw-general] 1.7.1 Zend_Controller_Request_Http Error Hi guys, I am getting the following in ZF 1.7.1: Error Number: 2 Error Type: PHP WARNING Error String: strstr(): Empty delimiter. Error File: /path/to/my/site/library/Zend/Controller/Request/Http.php Error Line: 393 The line is: if (isset($_SERVER['HTTP_HOST']) && strstr($requestUri, $_SERVER['HTTP_HOST'])) { I am running a PHP file from the command line, it has: $_SERVER['REQUEST_URI'] = '/transcode/'; $_SERVER['HTTP_HOST'] = ''; // Bootstrap code etc. etc. This worked in 1.7.0...should I change my code or should ZF be changed? Cheers, Steven
