Member
Member
farcaster   2010-05-26, 19:54
#1

Hello,

First off, along with a lot of other people here, thanks for a great product!

I am using the nightly build (2010-05-25 zip format) for testing on my local system (Mac with MAMP).

I have a problem when using the new user registration part of this. Once I hit the Submit button I am being sent to a blank page. I located the cause in the php error log.

[26-May-2010 12:26:27] PHP Fatal error: Call to undefined method Zenphoto_Administrator:etAlbums() in /Users/barry/Sites/zptest/zp-core/zp-extensions/register_user.php on line 219

The line of code it is referring to is --> $userobj->setAlbums(NULL);

To verify this I commented out that line of code an lo and behold the registration process worked. The email was sent and the verification process worked as advertised. I inspected the user setup with my admin login and it looks good.

Here is part of my setup:

Zenphoto version 1.2.9 [5472] (Official Build)
class-video v1.3.0
comment_form v1.3.0
deprecated-functions
filter-zenphoto_seo v1.3.0
flowplayer3 v1.3.0
flowplayer3_playlist v1.3.0
hitcounter v1.3.0
paged_thumbs_nav v1.3.0
register_user v1.3.0
slideshow v1.3.0
user_groups v1.3.0
user_login-out v1.3.0
zenphoto_sendmail v1.3.0

So is this a bug, or am I doing something terribly wrong here?

Thanks,
Barry

Member
Member
sbillard   2010-05-26, 23:47
#2

Thanks. A change missed this script. the line should substitute setObjects for setAlbums. Fix will be in tonight's build.

Member
Member
farcaster   2010-05-27, 00:05
#3

Thank you! I thought maybe I wasn't understanding something here.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.