[Solar-talk] pager

Jeff Surgeson solar at 3hex.com
Fri Jul 6 05:06:47 CDT 2007


Hi Rodrigo

Found something strange cant work out what is happening, when I enable 
the "expanded" config option in the sliding adapter, all other config options 
are default.

I get a notice:
Notice: Undefined property: Bulldog_View_Helper_Pager_Adapter_Sliding::
$_urlVar 
in /var/www/localhost/htdocs/Test/Bulldog/View/Helper/Pager/Adapter/Sliding.php 
on line 119

And multiple warnings:
Warning: array_key_exists() [function.array-key-exists]: The first argument 
should be either a string or an integer 
in /var/www/localhost/htdocs/libsvn/Solar/Locale.php on line 233

To reproduce notice & warnings set

The $count = 50 $paging = 5

as soon as you select $page = 8 or above you will get the notice and warnings.
changing $paging value will move where it happens, if set $paging = 10 with 
only 5 pages no error, set $paging  = 7 then error.

What a I missing?

-- 
...........::::::...........
Jeff Surgeson / South Africa


More information about the Solar-talk mailing list