lighttpd forum php-shell > An error occured for block statement

Posted by Junrey Beduya (Guest)
on 20.08.2006 15:57
I was trying to implement the following:

>> while ($row = $users->each()) {
.. print_r($row->get_attributes());
Exception (code: 0) got thrown
exception 'Exception' with message 'Variable '$row' is not set' in 
D:\www\phptarsier\lib\thirdparty\php-shell-0.3.1\PHP\Shell.php:333
Stack trace:
#0 D:\www\phptarsier\lib\thirdparty\php-shell-0.3.1\shell-cmd.php(115): 
PHP_Shell->parse()
#1 D:\www\projects\www.issaquahhighlands.com\scripts\ishell.php(46): 
require_once('D:\www\phptarsi...')
#2 {main}

The variable $row will be set dynamically, which maybe the reason the 
php-shell parser got some issue. Hope you can address this issue.

Thanks in advance,

Junrey Beduya
Posted by Anaan Anaan
on 05.10.2007 02:06
This is caused by PHP5 with php-shell-0.3.1, you can fixthis yourself.