Forums

Form doesn't save to table consistently.

whywaitweb 17 Feb, 2010
Hi,

I have a form @ http://www.themeonvalley.net/meon-valley-online-advertising/meon-valley-business-community-directory/add-your-business.html, connected to a DB table that is capable of storing information in it, the last successful one I made was on the 15th Feb, I can see that in the backend

Today I have received notification that someone has registered via the form, their details are in the user, but no information is stored on the table at all. This is the second time this has happened, wouldnt be so bad if it didnt work full stop, but I am not building a consistent database of all my users.

Thanks,

WWW.
whywaitweb 17 Feb, 2010
I should also state that another standard Joomla "add account" links, go to that above link, as I hard coded that? Don't know if I am losing the data that way?
GreyHead 17 Feb, 2010
Hi WWW,

I guess it's always possible that something stops the process between the registration and the DB save -- but it's pretty unlikely and I haven't heard it mentioned here before.

If the second link goes to the same form it should be OK. If it goes to the standard Joomla process then of course the data won't be saved in the ChronoForms database.

Bob
whywaitweb 17 Feb, 2010
This might be answer, don't suppose you could help, no worries if you can't 😶

this was posted on the J! forum...

Hi

Just when I thought I had covered all angles, so all wanna be users go to my custom form to register, I have a rogue "Register" hyperlink off my mod_yoologin menu module @ TheMeonValley.Net

If you highlight your mouse over Login on the top menu, then click on login (I have disabled the register icon from appearing in the dropdown so thats fine), if you click on login, its the register link at the bottom of the screen that loads up saying "you dont have an account, you must login first"

Where in my files can I edit where that register URL goes?

Thanks.
nml375 17 Feb, 2010
Hi,
Using grep, I found the following locations (includes the actual line in question):
components/com_content/views/category/view.html.php:184:                        $item->link = JRoute::_('index.php?option=com_user&task=register');

components/com_user/views/login/tmpl/default_login.php:64:            <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">

modules/mod_login/tmpl/default.php:66:                  <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">

templates/ja_purity/html/mod_login/default.php:66:                    <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register' ); ?>">

templates/beez/html/com_content/category/default_items.php:84:                  <a href="<?php echo JRoute::_('index.php?option=com_user&task=register'); ?>">

templates/beez/html/mod_login/default.php:60:           <a href="<?php echo JRoute::_('index.php?option=com_user&view=register#content'); ?>">

templates/beez/html/com_user/login/default_login.php:45:              <a href="<?php echo JRoute::_( 'index.php?option=com_user&view=register#content' ); ?>">


/Fredrik
whywaitweb 17 Feb, 2010
thanks so much..i'll check out this grep as well, brilliant, thanks
This topic is locked and no more replies can be posted.