Pages (2): 1 2   
Member
Member
micheall   18-05-2011, 22:13
#1

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?

Member
Member
sbillard   19-05-2011, 00:48
#2

Check you theme files. This message should only happen if the theme contains a password_form.php script.

Member
Member
micheall   19-05-2011, 02:31
#3

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.

Member
Member
sbillard   19-05-2011, 05:26
#4

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.

Member
Member
Vivian   27-05-2011, 12:11
#5

I have that error to, i used theme zpardoise and that has a password_form.ph

How can I fix the error?

Administrator
Administrator
acrylian   27-05-2011, 12:30
#6

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.

Member
Member
Vivian   27-05-2011, 12:37
#7

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

Member
Member
Vivian   27-05-2011, 12:39
#8

I an't also login in the admin with the second user (only the admin)

Administrator
Administrator
acrylian   27-05-2011, 12:42
#9

Login works fine for me using Safari. That password.php page should not be related to the admin login. Please try a standard theme.

Member
Member
Vivian   27-05-2011, 12:50
#10

i tried chrome and explorer
I choosed another theme
but I see still the other theme?

Administrator
Administrator
acrylian   27-05-2011, 13:30
#11

You need to clear the html cache naturally to see an effect.

Member
Member
Vivian   27-05-2011, 13:41
#12

Ok I did, other theme is visible, but login still not working

Administrator
Administrator
acrylian   27-05-2011, 13:46
#13

Try the standard login path www.domain.com/admin

Member
Member
Laurent   27-05-2011, 13:47
#14

It's works with firefox but i have access without login ?

Also you only use 4 caracters for your password ?

You should read http://en.wikipedia.org/wiki/Password_strength
ZenPhoto can use a strong password with the password group.

Member
Member
Vivian   27-05-2011, 13:56
#15

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

Member
Member
Vivian   27-05-2011, 13:58
#16

@Laurent: admin password has 8 characters including an underscore

problem is the login for an album

Administrator
Administrator
acrylian   27-05-2011, 14:01
#17

Now it does not work for me as well. Try to set the password again.

Member
Member
Vivian   27-05-2011, 14:04
#18

i did: try again

Member
Member
Laurent   27-05-2011, 14:53
#19

No password for me :-(

Member
Member
Vivian   27-05-2011, 15:07
#20

i set a new regular login:
username: misterx
password: mister_1234

still don't work for me

is it working for anybody else?

Pages (2): 1 2   
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.