Cannot add new user

adrian_vg

Joined: 2009-07-04
Posts: 21
Posted: Tue, 2009-09-22 11:22

[Zipped info.php-output attached to this post. FQDN's and IP's have been sanitised from the output.]

I cannot add new users to gallery2 anymore for some reason. I have the admin and guest-accounts as well as a regular user account I added just after finishing installing gallery 2.3. After that, a few weeks passed, and I needed to add another account, but failed.

What happens is I enter the user data and click the Create User-button and get a white page with nothing on it. If I refresh the page, I get the main gallery2-page with the albums and stuff.

I've tried adding new users both remotely and locally (logged in as root) on the computer running gallery2, but the same thing happens; I get a white page after clicking Create User and when checking the Users-section on Site admin, no new user has been added.

I'm not sure why this. Can anybody please hint me or give some pointers as to what to check?

Thanks.

AttachmentSize
info.php_.zip16.04 KB
 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Tue, 2009-09-22 15:26

Try putting gallery into debug mode and trying to create a user.

FAQ: How to set/use Gallery in debug mode?

Copy and paste the debug output into a text file, zip it and attach.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
adrian_vg

Joined: 2009-07-04
Posts: 21
Posted: Wed, 2009-09-23 07:57

When I clicked Create user this time, I got the message "Fatal error: Call to undefined method GalleryUser::getParentId() in /var/www/html/gallery2/modules/albumtimestamp/module.inc on line 91".

Backing up a step I get the zipped and attached message from the Smarty Debug console.
--
/AvG

AttachmentSize
main.php_.zip3.26 KB
 
adrian_vg

Joined: 2009-07-04
Posts: 21
Posted: Wed, 2009-09-23 11:04

Checked the gallery2-installation I have at home, and tried creating a new user there too. To my surprise, it was a no go there as well!

I'm beginning to think I might have locked down some folder or file a bit too much... Where are the user accounts for gallery2 created, and what permissions are needed to that folder/file?
--
/AvG

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Wed, 2009-09-23 12:42

Ah, uninstall the albumtimestamp plugin. It's either not compatible with G2.3 or there's a newer version out there. If you're already using 0.2, then there's something that needs to be updated with that plugin:
http://leo.kloburg.at/gallery/albumtimestamp/
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
adrian_vg

Joined: 2009-07-04
Posts: 21
Posted: Wed, 2009-09-23 12:54

It worked!! Thanks a bunch, you rock!

--
/AvG