Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
VirtueMart ForumVirtueMart 1.1.xCustomer / User ManagementNew user Registration, username or email already exists, brings up index page
Pages: 1 2 3 [4]   Go Down
Print
Author Topic: New user Registration, username or email already exists, brings up index page  (Read 2707 times)
BanquetTables.pro
Global Moderator
Hero Member
*
Posts: 4741



« Reply #45 on: February 22, 2011, 11:04:08 AM »


so it Will always go to the home page, unless the action url is changed!

on my site here is the action

<form action="/index.php" method="post" name="adminForm">

it does NOT redirect
Logged

"Banquet Tables Pro"
BanquetTables.pro
Global Moderator
Hero Member
*
Posts: 4741



« Reply #46 on: February 22, 2011, 11:14:42 AM »

here you go
admin.user_address_form.php

   <!-- Registration form -->
   <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="adminForm">
Logged

"Banquet Tables Pro"
leeburstroghm
Newbie
*
Posts: 34



« Reply #47 on: February 22, 2011, 11:31:27 AM »

Nope, that is not where it is at. I changed that form action. I even added I AM HERE under the form just to make sure its the correct form.

<fieldset>
   <legend><span class="sectiontableheader"><?php echo $VM_LANG->_('PHPSHOP_SHOPPER_FORM_SHIPTO_LBL') ?></span></legend>

   <!-- Registration form -->
   <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post" name="adminForm">
    I AM HERE!!

This does not change the registration form!!!!
Logged

"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org
The only real Ad Management option for Joomla. Its Very Nice!
Best Email Marketing solution out there!
Simple, easy One Step Checkout for magento!
leeburstroghm
Newbie
*
Posts: 34



« Reply #48 on: February 22, 2011, 11:39:37 AM »

I think I found it!!!
admin/ ps_userfields. echos out the start of the form.

I did a grep for the javascript right before the form. function submitregistration()

it was found in /administrator/components/com_virtuemart/classes/ps_userfield.php so in there line 287 there it is..

if( $startForm ) {
         echo '<form action="'. $mm_action_url .basename($_SERVER['PHP_SELF']) .'" method="post" name="adminForm">';
      }

YEP IT WORKED!! FINALLY!!!

I am changing it there.. holy crappers, I think this is it!!!
Logged

"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org
The only real Ad Management option for Joomla. Its Very Nice!
Best Email Marketing solution out there!
Simple, easy One Step Checkout for magento!
leeburstroghm
Newbie
*
Posts: 34



« Reply #49 on: February 22, 2011, 11:40:50 AM »

thanks for your time and effort looking into this,

what a messed up place to make the registration form..

and thanks for spotting that phpmyadmin CRAP! I fixed that. finaly a SOLUTION

!YAY!
Logged

"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org
The only real Ad Management option for Joomla. Its Very Nice!
Best Email Marketing solution out there!
Simple, easy One Step Checkout for magento!
Pages: 1 2 3 [4]   Go Up
Print
Jump to: