Jump to content

zend framework not working with phpdesigner ?


Tjorriemorrie

Recommended Posts

Hey, I just switched to phpDesigner 2008. I opened my project folder which is using the zend framework and i got these errors:

 

Warning: strpos() [function.strpos]: Empty delimiter in C:\wamp\www\thelivingtree\library\Zend\Controller\Request\Http.php on line 493

 

this one happened 3 times. code:

            if (0 === strpos($requestUri, $baseUrl)) {
                // full $baseUrl matches
                $this->_baseUrl = $baseUrl;
                return $this;
            }

            if (0 === strpos($requestUri, dirname($baseUrl))) {
                // directory portion of $baseUrl matches
                $this->_baseUrl = rtrim(dirname($baseUrl), '/');
                return $this;
            }

            if (!strpos($requestUri, basename($baseUrl))) {
                // no match whatsoever; set it blank
                $this->_baseUrl = '';
                return $this;
            }

 

and Zend_Session_Exception: Session must be started before any output has been sent to the browser; output started in C:\wamp\www\thelivingtree\library\Zend\Controller\Request\Http.php/493 in C:\wamp\www\thelivingtree\library\Zend\Session.php on line 419

 

this seems to be errors phpDesigner gives with the library of the zend framework.

 

Anybody know how to get around these?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.