Results 1 to 9 of 9
  1. #1
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    help question Can't edit customer page in admin area

    Hi,

    I experienced a strange problem for me. I created a new zen cart website and loaded existing customers from my previous site (which was 1.3.9 version). I loaded it through PHPMyadmin. These customers are visible in admin area of the new website but I can't open a customer page. Also, if some of these customers (loaded from the old site) make a purchase my system record an order but an invoice doesn't have information who purchased. I can see what is purchased but there is no customer name.

    I don't have this issue with the new customers who have registered after I run the new website.

    I did the next test. I removed one old customer in admin area and created his account manually in PHPMyAdmin inserting a new row in the customer table (using the same information as it was) but this wasn't a solution. This customer is visible but his page can't be open in admin area and his name doesn't appear on the invoice.

    Any idea how to fix this?

    Thanks

  2. #2
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Can't edit customer page in admin area

    Just to give you some additional info. How did I load old customers to the new database? Since I needed only information about the customers from the old db I exported them to csv file and imported to the new database. As I wrote above, I saw them in the admin area but can't open their profile page and if someone of them make a purchase, a customer name doesn't show up on the invoice so I don't have a track who purchased.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't edit customer page in admin area

    So you didn't follow a known functional process such as: http://www.zen-cart.com/entry.php?3-...d-of-upgrading

    Or any process that offers a method of upgrading the database of the old store?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Can't edit customer page in admin area

    That's not the answer. I want to upgrade just one table in my database with data I already had. You can do it in many ways and writing and executing SQL queries in MySQL is one of them. Also you can insert new rows in your table and populate with necessary data. This is not about the upgrade zen cart website. Understand what I mean?

  5. #5
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't edit customer page in admin area

    Quote Originally Posted by Laki View Post
    That's not the answer. I want to upgrade just one table in my database with data I already had. You can do it in many ways and writing and executing SQL queries in MySQL is one of them. Also you can insert new rows in your table and populate with necessary data. This is not about the upgrade zen cart website. Understand what I mean?
    Understand how it can be made difficult yes. The database is a relationship database, what all tables were imported related to the customer(s)? Have you looked at the tables associated with a "characteristic" is? Such as in the wiki Table List Ordered By Data which is not identified as a complete list, but might help.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Can't edit customer page in admin area

    I have not looked at the table associated with a "characteristic" but I'l do that.
    Yes, the database is relational database. For an example, I can add something new through website admin but I should be able to insert new data in the database directly.
    Now you gave me an idea that some other tables should be also inserted that have a connection to the table with customers. Thanks and I'll report you if I find a solution.

    Best!
    Last edited by Laki; 13 Mar 2016 at 10:46 AM.

  7. #7
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Can't edit customer page in admin area

    Couldn't edit my previous message and just to add. You're right when you say if I had upgraded the whole database this would have not happened (I've done upgrade few time seamlessly).

  8. #8
    Join Date
    Aug 2013
    Location
    Montenegro
    Posts
    72
    Plugin Contributions
    0

    Default Re: Can't edit customer page in admin area

    I found a solution for this. If you want to import customers from old database to the new one you have to import data to two tables in the database: "customer" and "address_book".
    These two tables refer each to other using customer_id column.

    The issue happened because I didn't import data to address_book table (initially I did it only to the customer table). That's why a I missed a customer name on the invoice (that information is pulled from address book table along with primary address).

    Thanks for giving me an idea to solve this.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't edit customer page in admin area

    Welcome, and if I may suggest that while you are still able to do an upgrade of the old database, that you upgrade that database in it's entirety and then you can save that database for later reference as necessary, but at least all fields will be at the current version. While at it would suggest converting the database to utf8 unless there is some legitimate reason to stay at latin1... That can be done with the db2utf8 conversion plugin.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v150 is customer login page controlled from admin area in 1.5?
    By tulanch in forum Upgrading to 1.5.x
    Replies: 3
    Last Post: 3 Sep 2012, 07:23 PM
  2. Admin Panel - 'Edit' makes area to edit disappear!
    By popgenie in forum General Questions
    Replies: 3
    Last Post: 24 Apr 2011, 11:38 PM
  3. Can't edit configuration values in admin area
    By reachit in forum General Questions
    Replies: 3
    Last Post: 17 Sep 2010, 02:38 PM
  4. Unable to edit customer records via admin area
    By cwhun in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 15 Mar 2009, 03:39 AM
  5. Can you create customer from admin/edit a password
    By paulFromWales in forum General Questions
    Replies: 2
    Last Post: 15 Sep 2007, 04:17 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg