![]() |
|
User Registration - call to undefined function - nightly build - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: User Registration - call to undefined function - nightly build (/thread-7102.html) |
User Registration - call to undefined function - nightly build - farcaster - 2010-05-26 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) So is this a bug, or am I doing something terribly wrong here? Thanks, User Registration - call to undefined function - nightly build - sbillard - 2010-05-26 Thanks. A change missed this script. the line should substitute User Registration - call to undefined function - nightly build - farcaster - 2010-05-27 Thank you! I thought maybe I wasn't understanding something here. |