Add Gallery after log in is not working
Shorty954
Joined: 2012-04-05
Posts: 12 |
Posted: Thu, 2012-04-05 00:44 |
I am wanting to allow the users to register then either join a family album or start a new family album. The problem I am having is the user registers easily, sometimes the system emails the information and sometimes it doesn't also once they get registered and logs in then tries to add album/gallery the system locks up and only displays code about 14 inches of code. And will not add the album/gallery. |
|
Posts: 12
Here is what you get when a user tries to add a album.
3Cform%20action%3D%22/gallery/index.php/albums/create/1%22%20method%3D%22post%22%20id%3D%22g-add-album-form%22%3E%0A%3Cinput%20type%3D%22hidden%22%20name%3D%22csrf%22%20value%3D%225b23775cf96b7876fd58e81c316efe50%22%20%20/%3E%20%20%3Cfieldset%3E%0A%20%20%20%20%3Clegend%3EAdd%20an%20album%20to%20Family%20Albums%20and%20Geneology%3C/legend%3E%0A%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22title%22%20%3ETitle%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22title%22%20value%3D%22Test%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22description%22%20%3EDescription%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Ctextarea%20name%3D%22description%22%20rows%3D%22%22%20cols%3D%22%22%20class%3D%22textarea%22%20%3E%3C/textarea%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22name%22%20%3EDirectory%20name%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22name%22%20value%3D%22Test%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22slug%22%20%3EInternet%20Address%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20name%3D%22slug%22%20value%3D%22Test%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22submit%22%20value%3D%22Create%22%20class%3D%22submit%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%3C/ul%3E%0A%20%20%20%20%3Cinput%20type%3D%22hidden%22%20name%3D%22type%22%20value%3D%22album%22%20%20/%3E%0A%20%20%3C/fieldset%3E%0A%20%20%3Cfieldset%3E%0A%20%20%20%20%3Clegend%3Ealbum%20privacy%20settings%3C/legend%3E%0A%20%20%20%20%3Cul%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%3E%3Cinput%20type%3D%22checkbox%22%20id%3D%22uh_private%22%20name%3D%22private%22%20value%3D%221%22%20class%3D%22checkbox%22%20checked%3D%22checked%22%20onClick%3D%22pc%28%29%22%20%20/%3E%20Private%3C/label%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%20class%3D%22g-error%22%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22username%22%20%3EUsername%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22text%22%20id%3D%22uh_username%22%20name%3D%22username%22%20value%3D%22The%20Owen%20Family%22%20class%3D%22textbox%22%20%20/%3E%0A%20%20%20%20%20%20%20%20%3Cp%20class%3D%22g-message%20g-error%22%3E%0A%20%20%20%20%20%20%20%20%20%20There%20is%20already%20a%20user%20with%20that%20username%0A%20%20%20%20%20%20%20%20%3C/p%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22password%22%20%3EPassword%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22password%22%20id%3D%22uh_password%22%20name%3D%22password%22%20value%3D%22virgo954%22%20class%3D%22password%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%20%20%3Cli%3E%0A%20%20%20%20%20%20%20%20%3Clabel%20for%3D%22password2%22%20%3EConfirm%20password%3C/label%3E%0A%20%20%20%20%20%20%20%20%3Cinput%20type%3D%22password%22%20id%3D%22uh_password2%22%20name%3D%22password2%22%20value%3D%22virgo954%22%20class%3D%22password%22%20%20/%3E%0A%20%20%20%20%20%20%3C/li%3E%0A%20%20%20%20%3C/ul%3E%0A%20%20%3C/fieldset%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//www.postyourfamily.com/gallery/modules/user_homes/js/user_homes_add_album.js%22%3E%3C/script%3E%0A%3Cscript%20type%3D%22text/javascript%22%20src%3D%22http%3A//www.postyourfamily.com/gallery/modules/gallery/js/albums_form_add.js%22%3E%3C/script%3E%0A%3C/form%3E
Posts: 27300
This user has a similar error:
http://gallery.menalto.com/node/103608#comment-381124
Turns out it is a 3rd party module.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
Thank You, I found part of the problem. It seems when a user tries to "Add Album" and makes them "Private" it causes the error. It the user leaves it alone and make it Public then it seems to work fine. Now I need to figure out how to take the Private part of the Add Album off the pop up. Any Ideas?
Also do you know how to remove the tab on the header to "UNLOCK ALBUMS"?
Posts: 27300
By setting permissions?
UNLOCK ALBUMS? is that a third party module?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
What module would it be? I only have the module that allows a user to register, and create a Album I don't see any password or unlock in any modules. Can you look at my site on the home page you can see the "Home Unlock Albums" in the top header http://www.postyourfamily.com
Posts: 27300
That is the album password module.
Also of note the albumpassword module is Not compatible with the 'hide' module.
Nether of witch I have used.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
Wow, Ok it was my own stupid fault. I thought the Album password was so not everyone could post new pictures in that album.
Thank you for your help.
Posts: 27300
Are the docs for the module not clear?
http://codex.gallery2.org/Gallery3:Modules:albumpassword
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
I didn't read them correctly, I re-read them and I messed up. I removed it and it seems to work fine now. I haven't tried to register and add a new album yet, been working on my inventions.
Thank You for your help. Do you know how you can add a family tree to the album so members can put names and dates with the person?
Thanks again
Posts: 27300
Do you mean tag photos?
or there is a few 3rd party modules:
http://codex.gallery2.org/Gallery3:Modules:tagfaces http://codex.gallery2.org/Gallery3:Modules:photo_annotation
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
Well those are close I think. My wife wanted it to look like a family tree, like ancestry.com.
I told her I would try but I didn't think it could be done the way she wants it. To really look like a tree with Names and thumbnails showing the person,picture,birth date and death date if it works. So I was just checking.
Also you were right I took away the password module and it posted the album just fine.
Thank You
Posts: 27300
http://www.flashyourweb.com/gallery2/cooliris.php might be what you are looking for? See the right sidebar.
Perhaps a Web based open source php software is better for your project:
http://en.wikipedia.org/wiki/PhpGedView
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 12
The PhpGedView does look good, I was hoping to integrate it into Gallery3, I love this program it is the easiest to use I have found and I have tried more than 20 of them in the past three months.
If it cant be done the way she wants it I can design a page showing how to add an album as the tree limbs.
Thank You for all your help.
Steve "Shorty" Owen
Shorty's Not So Lost Mines and Treasures of Southern Oregon
Available at Amazon.com, Barnes and Noble.Com,
and hundreds of book stores and Mining Supply stores in the Northwest.
Posts: 12
Go for webtrees. It is the successor to phpgedview and I suspect is exactly what you want.
Try http://hawthornthwaite.net/webtrees.
My problem is trying to get chroot module to allow logged in users to add photos to their album, but that's another thread.
John H
probus.hawthornthwaite.net
Posts: 12
sri, I should have said that webtrees is also open source software http://webtrees.net . It is created by the same guys who wrote phpgedview.
John H