If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Managing Customers and Orders / No option for customers to create account

No option for customers to create account

Locked

Started by feanix02 on 6 Jan 2010, 5:45 AM · Views: 1,951

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Jan 2010, 5:45 AM
#1
feanix02 avatar

feanix02

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Post #1 by feanix02

Hello,

First off I want to say, I have a back-up, although since then I have installed image handler 2, google checkout and Zen Lightbox. I am running 1.3.8a.

I have also tried and used the debug error logging utility, only to find other issues =), none of which are related to the problem im having.

On my website TacticalCombatGear.com I am unable to create a customer account. When an item is added to the cart, and checkout is selected you have the option to log in and nothing else. Previously I was able to create accounts with no problem.

I'd like to see if this is an easy fix im overlooking, hopefully that's the case!

Thank you!

6 Jan 2010, 5:49 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

A view Source on your site looks odd ... I do not see full pages loading ...

What happens if you switch to the Classic Template?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jan 2010, 5:57 AM
#3
feanix02 avatar

feanix02

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Post #3 by feanix02

Ajeh:

A view Source on your site looks odd ... I do not see full pages loading ...

What happens if you switch to the Classic Template?

I have switched it to the default template and it seems to be acting normal. When I click checkout, the account creation info loads just fine :cry:

6 Jan 2010, 6:06 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #4 by ajeh

Do a view source on Classic Template ... do you see all the info displayed, and how it ends in:

</body></html>

Now, switch to your template ... notice how it does not end in:

</body></html>

This suggests that something in your template is broken ...

Get the Debug Tool from the Free Software Add Ons and see if there are any errors captured ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Jan 2010, 6:08 AM
#5
feanix02 avatar

feanix02

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Post #5 by feanix02

I have ran the debug tool, and this is the only error log I get.

[06-Jan-2010 05:27:01] PHP Parse error: syntax error, unexpected T_STRING /public_html/includes/classes/order.php on line 1021

This relates to the addon from super orders

6 Jan 2010, 6:23 AM
#6
feanix02 avatar

feanix02

New Zenner

Join Date:
Dec 2008
Posts:
14
Plugin Contributions:
0

Post #6 by feanix02

It turned out that reverting Includes/Classes/Orders.php fixed the problem. But I have no idea why performing this part of the install instructions from the Super Orders contribution would break the customer account creation

*Super order install that broke Includes/Classes/Orders.php
REQUIRED FILE EDITS

  1. Edit the order.php class (catalog side)
    The new payment system includes tracking credit cards payments, so we have
    to get that data into the proper place. So unless you want to reenter each
    CC payment manually, we need to get in on the order creation process.

    As the order class in the admin handles recalling order data (we'll get to
    that in a minute), the catalog version takes care of creating the order.
    All we have to do is add a bit of code to grab the CC data once it's
    defined. Open includes/classes/order.php, then find this line:

     $insert_id = $db->Insert_ID();
    

    Immediately after it, add the following code:

     // BEGIN Super Orders edit
     // add CC data as a line item to SO payment system
     if (zen_not_null($this->info['cc_type']) || zen_not_null($this->info['cc_owner']) || zen_not_null($this->info['cc_number'])) {
       require(DIR_WS_CLASSES . 'super_order.php');
       $so = new super_order($insert_id);
       $so->cc_line_item();
     }
     // END Super Orders edit
    

    The comments will ensure you know what this is for the next time you need to upgrade.