Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE] Install works, script does not #13

Open
vscribe opened this issue Jul 8, 2013 · 10 comments
Open

[ISSUE] Install works, script does not #13

vscribe opened this issue Jul 8, 2013 · 10 comments

Comments

@vscribe
Copy link

vscribe commented Jul 8, 2013

Hi there,

I have attempted to use this in both a bootstrap template and stand alone. Both on a MAMP and a live server.

The issue I'm seeing is that it 'act's' as if it accepts a registration, but nothing is written to the db. Have confirmed that db connection is correct.

Has any one else encountered this? If so what did you do to fix?

@wastubbs
Copy link

wastubbs commented Jul 9, 2013

I too had this issue. I did not find a work around and emailed the author ([email protected]) with no response. I wound up switching to a CMS to accomplish what I wanted in the time allowed.

@vscribe
Copy link
Author

vscribe commented Jul 9, 2013

wow -too bad. I found an alternate solution as well.

@wastubbs
Copy link

wastubbs commented Jul 9, 2013

To be honest, the CMS solution I landed on was garbage too, but the clock was running out.

Virtuemart on top of Joomla! is a pretty poorly documented setup.

@vscribe
Copy link
Author

vscribe commented Jul 9, 2013

ouch..yes - VM is a tough setup...

@JorgenPhi
Copy link

It is because $message is not defined. $message should be created if there is an error, but the $errors array is never turned into $message.
(All this is on register.php)
letens' solution:

Replace line 105 with:

    <?php
        if(!empty($_POST))
        {
            if(count($errors) > 0)
            {
        ?>
            <div id="errors">
            <?php errorBlock($errors); ?>
            </div>     
  <?php } else { ?> 
        <div id="success">

           <p><?php echo $message ?></p>

        </div>
    <? } }?>       

@JimFriend
Copy link

Jorgen's fix worked for me as well.

@SimonG04
Copy link

very helpful, now i can see error messages! thanks!

@mrdecoder
Copy link

anyone stil here?
i need help

im making a very big project and using the userpie registration and login system

al worked but somehow it stopped working

i get message saying
You have successfully registered. You will soon receive an activation email. You must activate your account before logging in.

and if i do something bad i get the errors
so that part stil works
however i dont get email and i dont get database inputs

where can this problem be?

please help

@JimFriend
Copy link

mrdecoder, it's been a while since I've looked at this code but take a look at my current pull request to see if your issues may have been fixed there. I think my code fixed six or so small bugs so it's possible it might cover yours as well:

#24

@mrdecoder
Copy link

thanks ill take a look at the fixes
atm tho i rescript most of the pages to my needes and they seem to work good now

i even made a part that is a user makes an account and activates
he or she can make moderator accounts inside there own account

all together i made a master peace :)

0when all is finnish ill show:)
;
but i will look at your fixes maybe there better then mine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants