Note that there are some explanatory texts on larger screens.

plurals
  1. POError using _redirect function on ubuntu
    primarykey
    data
    text
    <p>I am developing a system in Zend Framework and I implemented user/rol authentication using Zend_Auth for security and it work receiving user/password information and return the Model User with each user's rol.</p> <p>In my global layout, I have a big banner that redirect to Home <code>some/path/default/index/index</code> and then inside IndexController, I redirect to user's home page that depends of its roles. When I work on Windows I have no problems. But when I work in my Ubuntu, the <code>_redirect</code> function of Zend Framework throw a Doctrine's Exception</p> <p><code>Uncaught exception 'Doctrine_Connection_Pgsql_Exception' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""</code></p> <p>But the error begin in Zend Broker.</p> <p>I using a Plugin in my Front Controller to know if user can or cannor access to certain page. How can I solve that error?</p> <p>This is my stack trace:</p> <p><code>Fatal error: Uncaught exception 'Doctrine_Connection_Pgsql_Exception' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: ""' in /home/project/library/Doctrine/Doctrine/Connection.php:1082 Stack trace: #0 /home/project/library/Doctrine/Doctrine/Connection/Statement.php(269): Doctrine_Connection-&gt;rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement)) #1 /home/project/library/Doctrine/Doctrine/Connection.php(1006): Doctrine_Connection_Statement-&gt;execute(Array) #2 /home/project/library/Doctrine/Doctrine/Query/Abstract.php(976): Doctrine_Connection-&gt;execute('SELECT u.usuari...', Array) #3 /home/project/library/Doctrine/Doctrine/Query/Abstract.php(1026): Doctrine_Query_Abstract-&gt;_execute(Array) #4 /home/project/library/Zend/Controller/Plugin/Broker.php on line 336</code></p> <p>Thanks in advance</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload