[isf-wifidog] Errors when doing a fresh install or upgrade for latest CVS, re: /includes/common.php

Max Horváth max.horvath at maxspot.de
Ven 20 Jan 20:46:27 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I dunno, but I couldn't find a array_map_recursive() function in the  
documentation at www.php.net ...

There's just a function array_map() and array_merge_recursive() ...

Where did you find the documentation for this function?

Cheers, Max!

Am 21.01.2006 um 00:31 schrieb Joe Bowser:

> Hey
>
> I had to do an upgrade on our dev server, and I kept running into this
> error:
>
> Fatal error: Call to undefined function array_map_recursive()
> in /var/www/localhost/htdocs/include/common.php on line 115
>
> This didn't make any sense, since the function array_map_recursive 
> () is
> in PHP5 Core (according to the PHP docs) , so I looked through the  
> code
> and asked on IRC, and I had to swap around the order of
> undo_magic_quotes and array_map_recursive, which is wrapped in an if
> statement that only defines it if it's not found.  I got the same  
> error
> again, which makes no sense.  Then I commented out the if  
> statement, and
> produced five more warnings on the fresh install:
>
> Warning: session_start() [function.session-start]: Cannot send session
> cookie - headers already sent by (output started
> at /var/www/localhost/htdocs/include/common.php:315)
> in /var/www/localhost/htdocs/classes/Session.php on line 50
> Warning: session_start() [function.session-start]: Cannot send session
> cache limiter - headers already sent (output started
> at /var/www/localhost/htdocs/include/common.php:315)
> in /var/www/localhost/htdocs/classes/Session.php on line 50
> Runtime Notice: date() [function.date]: It is not safe to rely on the
> system's timezone settings. Please use the date.timezone setting,  
> the TZ
> environment variable or the date_default_timezone_set() function. We
> selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
> in /var/www/localhost/htdocs/include/common.php on line 138
> Runtime Notice: date() [function.date]: It is not safe to rely on the
> system's timezone settings. Please use the date.timezone setting,  
> the TZ
> environment variable or the date_default_timezone_set() function. We
> selected 'America/Los_Angeles' for 'PST/-8.0/no DST' instead
> in /var/www/localhost/htdocs/include/common.php
>
> There's something wrong with common.php, and I'm guessing it has
> something to do with trying to determine the system path  
> automatically.
> However, I'm not sure.  It's happened on my box (where I got these
> errors, and on our dev server.
>
> Any ideas?
>
> -- 
> Joe Bowser <bowserj at unbc.ca>
>
> _______________________________________________
> WiFiDog mailing list
> WiFiDog at listes.ilesansfil.org
> http://listes.ilesansfil.org/cgi-bin/mailman/listinfo/wifidog

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFD0ZJz+BKgC+eQ3ooRAsisAKCHEbzLgTtYNgzeyzirl3mkTJq/mACfVt00
t2ffK3gLrUgK9C9HvVw3xo0=
=biL9
-----END PGP SIGNATURE-----


More information about the WiFiDog mailing list