or write out the array $initGroups (to session or using printDebug() function) that is created in _defineLists() in initgroups.php. It seems to be empty, the strange thing is that for me this exact message appears when the groups were not matching, but then also the errors "Layer/Group 'xyz' not existing. Check ..." appear in the PHP log.
armin Luca Casagrande wrote: > Hi to all! > I am setting up a pmapper app for a friend of mine, but i am encountering > those errors: > > php.log > > [01-Aug-2006 18:56:06] PHP Warning: Invalid argument supplied for foreach() > in /var/www/localhost/htdocs/pmapper2/incphp/initgroups.php on line 93 > [01-Aug-2006 18:56:06] PHP Warning: Cannot modify header information - > headers already sent by (output started > at /var/www/localhost/htdocs/pmapper2/incph$ > [01-Aug-2006 18:56:07] PHP Warning: Invalid argument supplied for foreach() > in /var/www/localhost/htdocs/pmapper2/incphp/legend.php on line 163 > [01-Aug-2006 18:56:07] PHP Warning: Cannot modify header information - > headers already sent by (output started > at /var/www/localhost/htdocs/pmapper2/incph$ > [01-Aug-2006 18:56:07] PHP Warning: array_keys() [<a > href='function.array-keys'>function.array-keys</a>]: The first argument > should be an array in /var/ww$ > [01-Aug-2006 18:56:07] PHP Warning: array_unique() [<a > href='function.array-unique'>function.array-unique</a>]: The argument should > be an array in /var/ww$ > [01-Aug-2006 18:56:07] PHP Warning: Invalid argument supplied for foreach() > in /var/www/localhost/htdocs/pmapper2/incphp/common.php on line 142 > [01-Aug-2006 18:56:07] PHP Fatal error: zoomPoint failed : Georeferenced > coordinates minx >= maxx > in /var/www/localhost/htdocs/pmapper2/incphp/map.php on line 499 > > In the past i have set up the sample data and worked fine, but right now i > don't understand this error. > > Thanks > Luca
