Zen Cart Logo
Forums / General Questions / New Account Creation not working.

New Account Creation not working.

Views: 5,195

Results 21 to 29 of 29
18 Nov 2012, 7:57 PM
#22
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,103
Plugin Contributions:
56

Re: New Account Creation not working.

OK, did you install the plugin? What you attached is the plugin's zip-file, not the notifier_trace.log file that's generated by the plugin.

18 Nov 2012, 8:13 PM
#23
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: New Account Creation not working.

Attachment #11478

Indeed I did, then attached the wrong zip file. here is the correct one.

18 Nov 2012, 8:47 PM
#24
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,103
Plugin Contributions:
56

Re: New Account Creation not working.

The contents of the file are kind of weird, implying that the page died in /includes/modules/pages/create_account/header_php.php but before the call to the /includes/modules/YOUR_TEMPLATE/create_account.php file. You could try a couple of things:

  1. Try replacing the header_php.php file with the version of the file that came with the v1.5.1 distribution; perhaps it got corrupted in the FTP upload?

  2. Replace the header_php.php file with:

<?php
/**
 * create_account header_php.php
 *
 * @package page
 * @copyright Copyright 2003-2006 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: header_php.php 4035 2006-07-28 05:49:06Z drbyte $
 */

// This should be first line of the script:
$zco_notifier->notify('NOTIFY_HEADER_START_CREATE_ACCOUNT');


require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php'));
$zco_notifier->notify('NOTIFY_HEADER_CREATE_ACCOUNT_AFTER_LANGUAGES');
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CREATE_ACCOUNT));

$breadcrumb->add(NAVBAR_TITLE);

// This should be last line of the script:
$zco_notifier->notify('NOTIFY_HEADER_END_CREATE_ACCOUNT');
?>

where I added the line in red. If that line's present in the notifier_trace.log file next time, it indicates that you received control back from the require_languages.php file.

Delete the notifier_trace.log file before you do your next test, so that only the pertinent bits are captured. Also, please include which clicks you made to make it easier to 'follow' the trace in the file.

18 Nov 2012, 9:03 PM
#25
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: New Account Creation not working.

I will try this but do bear in mind that 6 new customers have created an account with this setup. It just 'broke' and i had not made any file changes only added a new product.

18 Nov 2012, 9:16 PM
#26
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: New Account Creation not working.

Attachment #11479

Open Store Main Page>
Select Log in From top Menu>
Fill in the form>
Select Submit>

That was it.

The* includes/modules/pages/create_account/header_php.php

  • was edited to look like this before starting account creation.
<?php /** * create_account header_php.php * * @package page * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: header_php.php 4035 2006-07-28 05:49:06Z drbyte $ */ // This should be first line of the script: $zco_notifier->notify('NOTIFY_HEADER_START_CREATE_ACCOUNT'); require(DIR_WS_MODULES . zen_get_module_directory('require_languages.php')); $zco_notifier->notify('NOTIFY_HEADER_CREATE_ACCOUNT_AFTER_LANGUAGES'); include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CREATE_ACCOUNT)); $breadcrumb->add(NAVBAR_TITLE); // This should be last line of the script: $zco_notifier->notify('NOTIFY_HEADER_END_CREATE_ACCOUNT'); ?>
18 Nov 2012, 9:55 PM
#27
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,103
Plugin Contributions:
56

Re: New Account Creation not working.

Kennym:

I will try this but do bear in mind that 6 new customers have created an account with this setup. It just 'broke' and i had not made any file changes only added a new product.
Software doesn't "just 'break'", something's changed and adding a new product won't affect the login/create_account process. Since the header_php.php file isn't getting control back from the include of require_languages.php, I'm guessing that something's awry in the language file for the create_account page.

If the file /includes/languages/english/YOUR_TEMPLATE/create_account.php exists, try re-FTPing it with whatever changes you've made. Otherwise, re-FTP the distribution version of /includes/languages/english/create_account.php and see if anything "gets better".

19 Nov 2012, 11:01 AM
#28
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: New Account Creation not working.

RESOLVED

/includes/languages/english/YOUR_TEMPLATE/create_account.php does not exist, it does not exist in the templates original files either.

I decided to just copy a stock 1.5.1 *create_account.php * to that location anyway. I have now created three test accounts in a row.

I would like to thank you very much for the help to resolve this issue, I was just about to reinstall the whole store, I was just at the end of my tether with it. So Thank you very much indeed. :smile:

Marleyman.

19 Nov 2012, 12:31 PM
#29
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,103
Plugin Contributions:
56

Re: New Account Creation not working.

Woo-hoo! I'm glad you got it sorted out ... I was running out of ideas.