#25159 [NEW]: getPerPageSelectBox doesn't works
| From: | maka3d at yahoo dot com dot br | Date: | Tue, 19 Aug 2003 21:57:43 +0000 |
| Subject: | #25159 [NEW]: getPerPageSelectBox doesn't works | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20108@lists.php.net to get a copy of this message | ||
From: maka3d at yahoo dot com dot br
Operating system: WINXP
PHP version: 4.3.2
PHP Bug Type: PEAR related
Bug description: getPerPageSelectBox doesn't works
Description:
------------
The getPerPageSelectBox method of Pager_Sliding Class doesn't memorize the
_perPage inside a session
Reproduce code:
---------------
function _setOptions($options){
session_start(); // should have a session_start to be able to read and
write the $_SESSION array
global $_GET, $_REQUEST, $_SESSION; // and should take off this line or
put it before session_start()
cause it rewrite the $_SESSION array created before with session_start()
...
session_write_close() // and add a session_write_close() at the end of
the method
--
Edit bug report at http://bugs.php.net/?id=25159&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25159&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25159&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25159&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25159&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25159&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25159&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25159&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25159&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25159&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25159&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25159&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25159&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25159&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25159&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25159&r=gnused