I am getting a LOT of these errors in my log:
Quote:[warn] mod_fcgid: stderr: PHP Notice: printPasswordForm (called from user_login-out.php line 116) is deprecated printPasswordForm custom theme password forms is deprecated. You should style the form created by the Zenphoto_Authority class (or its derivatives) instead. Use of these forms will prevent alternative credentials implementations from working with a theme. in /home/inthemdl/public_html/zp-core/zp-extensions/deprecated-functions.php on line 70
Now mind you, I don't have any special login form or anything. The only thing I'm using is the user loginout plugin to display a login form in my sidebar.
Is the user loginout plugin going to be updated to match the new form methods?
I verified this already. As I said, the error is being generated by the user_login-out.php file as it shows in the error message above:
PHP Notice: printPasswordForm (called from user_login-out.php line 116)
Going to http://inthemdl.net/page/password generates the error as well, including using the default zenpage theme.
The problem is the default password.php file in zenpage theme, and the printPasswordForm() call in user_login-out.php are in the 5/16 trunk build. I'll check the trunk from 5/18 once it's uploaded to night to verify.
So, I say again, this error CAN ONLY OCCUR IF THERE IS A SCRIPT NAMED password_form.php in the theme folder. That is what the message is telling you--those theme forms are deprecated as they are not needed and most likely do not support the capabilities provided by for instance, the federated logon plugin.
Here is the code which produces the error:
`
$passwordform = SERVERPATH.'/'.THEMEFOLDER.'/'.$theme.'/password_form.php';
if (file_exists($passwordform)) {
deprecated_function_notify(gettext('printPasswordForm custom theme password forms is deprecated. You should style the form created by the Zenphoto_Authority class (or its derivatives) instead. Use of these forms will prevent alternative credentials implementations from working with a theme.'));
include($passwordform);
} else {
$_zp_authority->printLoginForm($_password_redirect, false, $_password_showuser, false, $_password_hint);
}
Note carefully the test it makes for a script namedpassword_form.phpresiding in the theme folders. Of course any call onprintPasswordForm()from a theme with such a file will cause the error. Zenpage on 1.4.1 DOES NOT have such a file. You can convince yourself of this by a) looking in the theme folder of the SVN/Nightly build. b) looking in the package list for such a file.password_form.php` does not exist anywhere in the 1.4.1 release! Setup will complain if it should find a copy.
My collegue tells it right above:
Quote:So, I say again, this error CAN ONLY OCCUR IF THERE IS A SCRIPT NAMED password_form.php in the theme folder. That is what the message is telling you--those theme forms are deprecated as they are not needed and most likely do not support the capabilities provided by for instance, the federated logon plugin.
In short: that file is not needed anymore. Delete it. Hopefully the theme developer will update the theme sometime.
Ok, I deleted it, but now I have another problem: I login to the protected file
but stays on that page
try
http://www.michel-nulens.be/zenphoto/allerlei/
login
ikke
password
ikke
for admin login: I recreate the user, that works
for http://www.michel-nulens.be/zenphoto/allerlei/test/
login ikke
password ikke
still don't work
tested in google chrome and explorer
I purged the html cache