Results 1 to 4 of 4
  1. #1
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Second and third lines of order missing.

    I am trying to resolve an ongoing issues which I am not sure whether it relates to paypal express or another bug regarding orders and possibly super orders module or the stock by attributes.

    Problem 1) If an order has more than one product line it appears to be sent over to paypal but are not accepted back when the order is put on to the order system in zencart.

    Logs and payment in paypal seem to have the full order details but only the first line of the order is seen in the admin orders area. It might be that this is related to product lines attributes such as size.

    Problem 2) Payment received in paypal using paypal express check out but order has not confirmed on our site.

    Log file have shown this which has confused me.

    [06-May-2016 07:27:09 Europe/London] PHP Warning: mysql_query(): Access denied for user 'username'@'localhost' (using password: NO) in /......../admindirectory/orders.php on line 1220
    [06-May-2016 07:27:09 Europe/London] PHP Warning: mysql_query(): A link to the server could not be established in /........./admindirectory/orders.php on line 1220
    [06-May-2016 07:27:09 Europe/London] PHP Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /......../admindirectory/orders.php on line 1221


    There is a password for the database and surely if it could not contact the database we could not get anything going through and errors allround. not sure if this is related to the earlier problems as this is the admin part.

    What leads me to wonder about the attributes part is that I have this log

    [06-May-2016 10:16:53 Europe/London] PHP Warning: Invalid argument supplied for foreach() in /.........../includes/classes/observers/class.products_with_attributes_stock.php on line 107

    Hoping some one can steer me in the right direction as I do not see others having this issue so not been able to find the answeer from other across the forum.

    Thank you in advance.

    MG

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

    Default Re: Second and third lines of order missing.

    Php version?

    Zc 1.5.4 was written to use mysqli_ related functions which require the $db related resource information. There should not be any mysql_ related code that is expected to execute in this configuration. It could be that you have an older version of any/all of your other plugins installed which could be a problem.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    May 2005
    Posts
    539
    Plugin Contributions
    0

    Default Re: Second and third lines of order missing.

    version 5.4.45 on my live server

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

    Default Re: Second and third lines of order missing.

    Quote Originally Posted by MikeyG View Post
    version 5.4.45 on my live server
    Whatever code is in your admin/orders.php has not been updated/modified to support ZC 1.5.4 and is still using old calls to mysql_ functions.

    Would recommend reviewing that file for mysql_, identifying the source of the code (at one point I thought super orders had such hard coded in the file) and seeking out the latest version of that software and incorporating it.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. v151 Order email advice second order showing zero follows actual order
    By shags38 in forum General Questions
    Replies: 5
    Last Post: 15 Apr 2015, 06:54 AM
  2. v150 Third column on top of second column, other things disappeared off page
    By violetlinnie in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 30 Apr 2013, 03:06 PM
  3. category second and third levels
    By p7x1oayve61pnp2 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 21 May 2010, 11:04 PM
  4. can not add the third template, missing input form
    By weber in forum General Questions
    Replies: 2
    Last Post: 28 Feb 2009, 05:40 PM

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