UserPie icon indicating copy to clipboard operation
UserPie copied to clipboard

[ISSUE] Install works, script does not

Open vscribe opened this issue 12 years ago • 10 comments

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?

vscribe avatar Jul 08 '13 15:07 vscribe

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.

wastubbs avatar Jul 09 '13 20:07 wastubbs

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

vscribe avatar Jul 09 '13 20:07 vscribe

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.

wastubbs avatar Jul 09 '13 20:07 wastubbs

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

vscribe avatar Jul 09 '13 20:07 vscribe

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>
    <? } }?>       

JorgenPhi avatar Oct 16 '13 23:10 JorgenPhi

Jorgen's fix worked for me as well.

JimFriend avatar Dec 28 '13 01:12 JimFriend

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

SimonG04 avatar Jan 17 '14 02:01 SimonG04

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

mrdecoder avatar May 18 '14 09:05 mrdecoder

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:

https://github.com/booruguru/UserPie/pull/24

JimFriend avatar May 20 '14 15:05 JimFriend

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

mrdecoder avatar May 23 '14 17:05 mrdecoder