So as per our discussion I upgraded to the nightly build to resolve the IPTC issue I was having (now fixed)!
I had upgraded to the nightly build the night before too, without the following issue.
However, now I'm getting the following two errors on my page (just above the header):
Warning: Cannot modify header information - headers already sent by (output started at /home/another/public_html/xyz/zenphoto/zp-core/plugins/flowplayer.php:1) in /home/another/public_html/xyz/zenphoto/index.php on line 29
Warning: Cannot modify header information - headers already sent by (output started at /home/another/public_html/xyz/zenphoto/zp-core/plugins/flowplayer.php:1) in /home/another/public_html/xyz/zenphoto/zp-core/functions.php on line 1615
Any ideas?
Comments
As a general rule, it is a good idea to remove all the old zp-core content except for zp-config.php whenever you upgrade to insure that no orphaned scripts are left around to cause trouble.
1. made a backup of zp-config.php
2. uploaded a zip of zp-core
3. deleted old zp-core
4. unzipped new zp-core
5. copied backup of zp-config.php into directory
so it should be clean. will continue to look into this.
however, I swear this worked yesterday (based on a solution you provided in another thread)
Year: <?php echo getImageDate("Y");?>
It now returns
Year: Y
As mentioned, I could have sworn this worked yesterday (I had checked 'solve year issue' off my checklist)
I guess your code worked when it was used against the old functions. Now you need to use "%Y".