I have been using ZenPhoto for 4 or 5 versions now. It was originally installed via Simple Scripts on my web hosts site. It has been updated several times the same way without any problems. I recently upgraded to Zenphoto version 1.4.0.1 [6590] (Official Build)and after the upgrade finished I checked the site and everything was file. Tonight I logged in and see 3 lines of errors at the top of the page. The errors are:
Notice: normalizeColumns (called from index.php line 1) is deprecated Use instead the theme options for images and albums per row. in /path/zenphoto/zp-core/zp-extensions/deprecated-functions.php on line 70
Warning: Cannot modify header information - headers already sent by (output started at /path/zenphoto/zp-core/zp-extensions/deprecated-functions.php:70) in /path/zenphoto/themes/sstsmg/index.php on line 2
Notice: zenJavascript (called from index.php line 6) is deprecated Use zp_apply_filter("theme_head"). in /path/zenphoto/zp-core/zp-extensions/deprecated-functions.php on line 70
Line 70 contains only a }.
Line 6 of index.php contains if (file_exists(dirname(__FILE__).'/'.ZENFOLDER.'/setup.php')) {
Any ideas on where to start tracking this?
Comments
BTW, there are more than one "index.php" file that might be involved. In this case it is the one from your theme.
I cleared the errors by deleting the normalizeColumns call from line 1 and the zenJavascript call from line 6 of the index.php in the current theme. I had to repeat this for most .php files in the theme. Everything seems to be working properly now. Thank you for the pointers.
overview, upload, albums, pages, news, tags, comments, users, options, themes, plugins, logs
(on smaller screens you might need to scroll to see all...)
That "plugins" tab was never named "extensions" as far as I remember. Anyway, if you don't see all of those and there is no deprecated functions plugin as well, I assume that the update might not been correct. That plugin is a standard one and included (it is not in the "plugins" folder which is for custom ones only, but in zp-core/zp-extensions).