Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Database Error in Admin... HELP... array_merge

    I've just started receiving these error messages in my ADMIN areas:

    When I click on admin/customers/customers gives these four errors

    • Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home3/limelite/public_html/ADmin443556/customers.php on line 1099
    • Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home3/limelite/public_html/ADmin443556/customers.php on line 1101
    • Warning: reset() [function.reset]: Passed variable is not an array or object in /home3/limelite/public_html/ADmin443556/includes/classes/object_info.php on line 29
    • Warning: Variable passed to each() is not an array or object in /home3/limelite/public_html/ADmin443556/includes/classes/object_info.php on line 30



    when I click on admin/modules/payment I get these:

    • Warning: include(/home/limelite/public_html/includes/languages/english/modules/payment/protx_form.php) [function.include]: failed to open stream: No such file or directory in /home3/limelite/public_html/ADmin443556/modules.php on line 173
    • Warning: include() [function.include]: Failed opening '/home/limelite/public_html/includes/languages/english/modules/payment/protx_form.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/limelite/public_html/ADmin443556/modules.php on line 173


    Does anyone know how I can debug these please??

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Database Error in Admin... HELP... array_merge

    Recent changes?....

    and never post your admin folder.... Should change it now

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Database Error in Admin... HELP... array_merge

    Recently uploaded an SQL patch which I'm sure is the culprit... need to figure out how to uninstall SQL patch now :-)

    As for ADmin443556... that's a pseudonym for my real ADxxxMinXX3134 folder

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Database Error in Admin... HELP... array_merge

    Quote Originally Posted by limelites View Post
    I've just started receiving these error messages in my ADMIN areas:

    When I click on admin/customers/customers gives these four errors

    [B][LIST][*]Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home3/limelite/public_html/ADmin443556/customers.php on line 1099
    [*]Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home3/limelite/public_html/ADmin443556/customers.php on line 1101
    Those are a result of data missing for the customer which you've highlighted (or the first one selected by default if you've not yet selected a particular one).
    Quote Originally Posted by limelites View Post
    when I click on admin/modules/payment I get these:

    • Warning: include(/home/limelite/public_html/includes/languages/english/modules/payment/protx_form.php) [function.include]: failed to open stream: No such file or directory in /home3/limelite/public_html/ADmin443556/modules.php on line 173
    • Warning: include() [function.include]: Failed opening '/home/limelite/public_html/includes/languages/english/modules/payment/protx_form.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home3/limelite/public_html/ADmin443556/modules.php on line 173
    That's because you've got a "protx_form.php" payment module in your /includes/modules/payment/ folder, but you don't have the corresponding language file in the language folder.


    Neither is likely related to any SQL Patch unless the patch was specifically altering customer data, which is unlikely.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Database Error in Admin... HELP... array_merge

    Quote Originally Posted by DrByte View Post
    Those are a result of data missing for the customer which you've highlighted (or the first one selected by default if you've not yet selected a particular one).
    That was the problem right enough. A new customer account had been created but was missing required fields. Seeing as this isn't possible using the standard sign up process, I can only assume it has something to do with Google Checkout. She checked out using GC and so it seems as though GC is creating customer accounts automatically but is somehow inserting the customer data in the wrong fields. I guess this is one for the GC support thread!

    Quote Originally Posted by DrByte View Post
    That's because you've got a "protx_form.php" payment module in your /includes/modules/payment/ folder, but you don't have the corresponding language file in the language folder.
    Very strange as I don't use, have never used, will never use Protx and I've not been messing with it as a payment module. You're right, I don't have a corresponding language file but I checked in the clean install files I downloaded to setup Zen Cart and there's no corresponding language file for protx_form.php in there either. At any rate, I simply renamed my /includes/modules/payment/protx_form.php to protx_form.php.old and the error is gone.

    Quote Originally Posted by DrByte View Post
    Neither is likely related to any SQL Patch unless the patch was specifically altering customer data, which is unlikely.
    OK, proven to be correct. I just assumed since I'd installed this patch minutes before noticing these errors that it might be the culprit. Coincidence I guess :-)

    Thank you Dr. Byte and MpRough. You were extremely helpful.

  6. #6
    Join Date
    Jan 2009
    Posts
    29
    Plugin Contributions
    0

    Default Re: Database Error in Admin... HELP... array_merge

    I'm getting the same array errors when I click on Customer>Customers
    I don't start out by highlighting a customer, so I don't know how to work out which one is causing the problem.
    Is there a way of looking at the customer data entered in a spreadsheet style of format so I can see what information might be missing from which records?
    I know zip about MySQL unfortunately, so I don't know what to do.

 

 

Similar Threads

  1. array_merge() error after ppe makes a customer on my db when order compleate
    By hungrytazman in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 19 Mar 2010, 12:18 AM
  2. array_merge error on ported OSC database
    By edadk in forum General Questions
    Replies: 12
    Last Post: 14 Nov 2008, 01:18 AM
  3. Admin->Customers Error , Warning: array_merge()
    By flakdesign in forum Managing Customers and Orders
    Replies: 8
    Last Post: 25 Apr 2008, 04:27 AM
  4. PP Express Error: array_merge()
    By Stobe in forum PayPal Express Checkout support
    Replies: 8
    Last Post: 26 Feb 2007, 06:59 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