Register module not allowing registration
|
razoraz
![]()
Joined: 2010-07-15
Posts: 17 |
Posted: Tue, 2010-07-20 05:42
|
|
http://www.desertriversaudubon.org/gallery/index.php/ (test it yourself) Ok, here's what happens when I click on "register"... I'm looking at the web inspector in Safari and I can see this appear at the bottom of my code, just below the Google Analytics code: <div style="display: none; position: absolute; overflow-x: hidden; overflow-y: hidden; z-index: 1000; outline-width: 0px; outline-style: initial; outline-color: initial; " class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-g-dialog"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" unselectable="on"><span class="ui-dialog-title" id="ui-dialog-title-g-dialog" unselectable="on"> </span><a href="#" class="ui-dialog-titlebar-close ui-corner-all" role="button" unselectable="on"><span class="ui-icon ui-icon-closethick" unselectable="on">close</span></a></div><div id="g-dialog" class="ui-dialog-content ui-widget-content g-loading-small"></div></div> Why is it display:none;? This happens with the default fresh theme too. |
|


Posts: 7985
This is because of a recent change after RC2. Ticket is here: https://sourceforge.net/apps/trac/gallery/ticket/1225
Sorry for the hassle, we'll try to get it cleaned up asap.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 17
Any ETA for this? My client is expecting this site be done soon (I wasn't expecting to run into serious bugs either, being a RC).
Hoping I can get the fixed code in this week if at all possible. I only wish I knew how to deal with JSON, and I'd fix it myself.
Posts: 7985
We're working on it. You can try grabbing the version of the register module from the "dialog" branch of gallery3-contrib on github...
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 17
Well... I just updated the modules as well as everything else. No change in that the Register panel would still not pop up.
I tried changing to a different theme, and now I can get to a completely unstyled Register page, however I can't login at all. (I get to a page called Ajax - javascript looks broken) Now I'm at a loss for what to do since I can't even log into my admin area. Hope i can get some instructions...
http://www.desertriversaudubon.org/gallery/index.php/
Posts: 7985
Install the latest version of G3 from git, and the latest version of the registration module from Git and it should all work. I just tested it out now. Remember to follow the simple upgrade instructions (below)
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 17
I'm sorry, I must be really dumb. I've tried upgrading more than once but keep failing. I tried the "replace your code" by downloading the latest from git and then copying the files/folders over from the resulting unzipped folder to my gallery3 folder... then running index.php/upgrader. (this is after starting from scratch installing RC2 and then trying that) Now I just get a blank page for anything so I did something wrong. And the part about the var directory - don't really get that. When I started with a fresh install of gallery3 it doesn't even exist.
I've also tried from the command line by running "php index.php upgrade" instead of steps 3 and 4. That apparently does not work from the experimental/dailies?
I am no expert here, just apparently good enough to break things. What should I do instead of what I've done?
Posts: 7985
Not sure what to tell you; the upgrading docs are the clearest way I know how to write them. All you need is the new code and the old var directory, then run "php index.php upgrade"
Check the log files under gallery3/var/logs to see what errors you've got.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 17
Cool. I did that, but may have run into another bug. I tried to register a user before upgrading from RC2 to the very latest, but then when I logged in as my admin, I have a message at the top of the screen asking to review a pending registration. It points to http://www.desertriversaudubon.org/gallery/index.php/admin/register.
However, clicking that forwards me instead to the installer page asking me to enter my database info as if I were just setting it up. Huh?!
Oh, one thing I just realized. I forgot to copy over the register module along with the var folder to the new directory I got from git. I just now did and ran php index.php upgrade but am seeing the same error. What else can I do to fix this?
I went back into the admin and to the Users and Groups page, but don't see anything about my new user to approve here. I just still have that line at the top which leads me back to the installer. (shouldn't I delete that install folder once it's installed, btw?)
Posts: 17
One more thing: I used "git clone git://github.com/gallery/gallery3.git" to get the latest for my new gallery3 folder. Is this not really the very latest? I was hoping this would make it easier to get the very latest from git when I wanted to update.
Posts: 7985
The version using git clone is the latest, so that's good. Any time you want to get more recent code, just run "git clone" and then "php index.php upgrade". So now you have a clean copy of Gallery and it's trying to run the installer on it. Move the var dir from your old install into the new install and it'll stop trying to run the installer. I think. Honestly, I'm really confused as to what you're doing so I'm trying to explain the basic mechanics so that you can figure out what's wrong with your setup.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git
Posts: 17
git clone rather than git pull to update ? Anyway, I started over again from scratch - deleted everything from before and it seems to be working alright now. Thanks.
Posts: 16503
"git clone" to get the files at first, then "git pull" to update
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here