Author Topic: New user Registration, username or email already exists, brings up index page  (Read 16153 times)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
 :'(
I have been searching and digging and looking for hours and I am very frustrated now.

I have a different layout in my template for the home page that I setup using this

Code: [Select]
$menu =& JSite::getMenu();
if ($menu->getActive() == $menu->getDefault()) $isHome = true;

so in my index.php template file, I check and if we are on the home page then the template is rendered differently.

now, the registration form action is hard coded to index.php so if there is an error and an error raised, everything halts and the index.php page is shown, and everything is jacked.

Where can I change this action to a url that will work instead of just index.php? for some reason, joomla thinks that the redirect is the Default menu item , so everything gets really messed up.

Please HELP!!
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
mod_virtuemart_login
in the registration form itself there will be

   $action =  $mm_action_url. 'index.php?option=com_user&task='.$type;

try and change it

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
Where is that File LOCATED?
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
what module are you using to login?

whatever module it is
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
the login module is the mod_virtuemart_login.php

while there is a registration_url and an $action value here, it has no effect on what the form action is on the registration form.

I am not having issues with the login, I am having issues with the registration form!! the action on the registartion form. if there is a user error, or email error, the page loads on the homepage/default page and its a different template.!

how to change the action on the registration page?!
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
the registration page is

account.billing   in the pages folder
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
Yes, but the FORM ACTION is not there. only the fields and the bottom of the form.!! Not the form opening tag and no form action !!

Thanks for your efforts though!
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
checkout_register_form.php in the admin/html    folder

check that out.
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
Yea, I checked there as well already, there is require_once( CLASSPATH . "htmlTools.class.php" ); which has form creation methods but non of them seemed to do the job. nothing in checkout_register. Unless somehow the beginning form is in the $fields = ps_userfield::getUserFields('registration', false, '', false );

?? what a pain ?? this is a major bug!
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
what do you have set to the "shopError" page in vmart administrator?

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
shop.error
This issue , as I said, shows the shop page, on the home page in the component area, when you try to sign up and register, and the users email and or username already exists. The form data is posted, the error is raised but everything is on the home page. The Normal joomla registration does not do that.
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
post your url
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
BanquetTables!!
the site was up with a splash page, then people were finding the backend, so we had to put it down for maintenance, so . I have a user you can access it with . I will PM you.. ok.. I really could use some help to solve this!!! Any way possible!!!
"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10400
  • VirtueMart Version: 3+
how were they finding the backend?

you should protect the administrator folder with a password
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

leeburstroghm

  • Beginner
  • *
  • Posts: 41
Not the backend. joomla backend, My mis use of nomenclature.

"If you make yourselves sheep, the wolves will eat you." -- Benjamin Franklin
Knowledge is the price for freedom. http://www.1215.org]http://www.1215.org