![]() |
|
Error warnings with latest nightly 6 december - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Error warnings with latest nightly 6 december (/thread-4204.html) |
Error warnings with latest nightly 6 december - jackdaw - 2008-12-07 All is working fine, I just get these nasty warnings on top of my gallery. The first one I also get when I ran setup.php. EDIT: I just uploaded the contents of my 'old' 1.2.2. zp-core files to get rid of those warnings. The ordering of the images by ID seems te be ok now, so I don't know what changes to what files could have caused these warnings: Notice: Only variables should be assigned by reference in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php on line 247 Warning: Cannot modify header information - headers already sent by (output started at /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php:247) in /srv/jackdaw/www/www.spoenk.nl/beeldend/index.php on line 25 Notice: Only variables should be assigned by reference in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php on line 247 Notice: Only variables should be assigned by reference in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php on line 247 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php:247) in /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/admin-functions.php on line 9 Warning: Cannot modify header information - headers already sent by (output started at /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php:247) in /srv/jackdaw/www/www.spoenk.nl/beeldend/index.php on line 96 Warning: Cannot modify header information - headers already sent by (output started at /srv/jackdaw/www/www.spoenk.nl/beeldend/zp-core/classes.php:247) in /srv/jackdaw/www/www.spoenk.nl/beeldend/index.php on line 97 Error warnings with latest nightly 6 december - acrylian - 2008-12-07 Hm, I just updated from the svn and don't see anything of that... Error warnings with latest nightly 6 december - sbillard - 2008-12-07 Sounds like your error reporting might be including E_STRICT. This should have been overridden by zenphoto, but maybe not. Anyway, you can change it (in functions-basic.php) to E_ALL ^E_NOTIFY and these messages will probably go away. Error warnings with latest nightly 6 december - jackdaw - 2008-12-07 Tried it all again and got those messages back. Error warnings with latest nightly 6 december - jackdaw - 2008-12-07 I found this in classes.php on line 247 and with my limited knowledge of php it looked strange:
Error warnings with latest nightly 6 december - sbillard - 2008-12-08 That is indeed what is being complained of. But Tris will have to comment on whether removing it will break anything. So far as I know the code has been like this from the beginning, so only the error report is new. If you have not changed PHP versions, then setting the error reporting to E_ALL ^E_NOTIFY as suggested above should. The code now reads just |