Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1
    Join Date
    Oct 2016
    Location
    New York
    Posts
    10
    Plugin Contributions
    0

    application error Cannot add a customer

    The page loads and the bottom with Submit button is missing. The error log says the following:

    PHP Warning: array_merge(): Argument #1 is not an array in /home/richardob50/public_html/cart/my_admin_folder/customers.php on line 1160

    Other areas all seem to be working. I can add categories & products so the database is working. I have done a db test and have no problems. The installation is brand new as of yesterday.

  2. #2
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: customer.php not working properly. Cannot add a customer

    Because that is an admin error log and it's contents have been posted in full, recommend changing your admin directory name.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

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

    Default Re: customer.php not working properly. Cannot add a customer

    As far as the error, it appears that the customer(s) have not entered an entry_country_id which is why the first parameter has come back as not being an array. That said, line 1160 on github is actually a blank line just before the array_merge that is supposed to provide $customer_info.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Oct 2016
    Location
    New York
    Posts
    10
    Plugin Contributions
    0

    Default Re: customer.php not working properly. Cannot add a customer

    Thank you for the quick response, however, I changed the admin folder to another name and nothing changed. Any other suggestions?

  5. #5
    Join Date
    Oct 2016
    Location
    New York
    Posts
    10
    Plugin Contributions
    0

    Default Re: customer.php not working properly. Cannot add a customer

    The problem is not the the customer entering an idea, the page when it loads is the problem. I keep getting the following:


    WARNING: An Error occurred, please refresh the page and try again.

    You don't even see a SUBMIT button at the bottom of the page as the page haesn't loaded correctly.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: customer.php not working properly. Cannot add a customer

    Are there any customers yet in the database?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: customer.php not working properly. Cannot add a customer

    Quote Originally Posted by mc12345678 View Post
    Are there any customers yet in the database?
    Correction, are there any countries entered into your database? I'll be back with a way to try to identify that answer.

    Locations/Taxes->Countries
    Last edited by mc12345678; 7 Oct 2016 at 05:35 PM.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Oct 2016
    Location
    New York
    Posts
    10
    Plugin Contributions
    0

    Default Re: customer.php not working properly. Cannot add a customer

    No, there are no countries in the database. I get the same error message as I get when trying to add a customer.

    WARNING: An Error occurred, please refresh the page and try again.

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

    Default Re: customer.php not working properly. Cannot add a customer

    How was this install performed? Was it a one-click through your host or was it installed from a fresh fileset downloaded from this site?

    What encoding are you using? UTF8 or latin1?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: customer.php not working properly. Cannot add a customer

    Quote Originally Posted by rdobrien View Post
    No, there are no countries in the database. I get the same error message as I get when trying to add a customer.

    WARNING: An Error occurred, please refresh the page and try again.
    For general information, the above screen text is not the real error message (information captured in the myDebug file), just that an error occurred and that it is basically database interface related.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Cannot set attributes. Cannot add anything
    By bearlymakinit in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Apr 2015, 06:32 PM
  2. Cannot add to cart and cannot login after htaccess change
    By ironchef in forum General Questions
    Replies: 1
    Last Post: 17 Dec 2012, 11:23 PM
  3. Two attributes for one product - cannot add to cart, cannot view cart, etc
    By tqualizer in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 20 Dec 2007, 02:04 AM
  4. Need help cannot add customer
    By reeveskr in forum Managing Customers and Orders
    Replies: 10
    Last Post: 19 May 2007, 08:54 PM
  5. Customer cannot login
    By kay6284 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Nov 2006, 04:54 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR