Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default Problem updating orders

    From time to time, when I try to update the order status in Orders section of admin, I get the following error message in IE

    The website cannot display the page

    Most likely causes:
    • The website is under maintenance
    • The website has a programming error

    More Information
    This error (HTTP 500 Internal Server Error) means that the website you are visiting had a server problem which prevented the webpage from displaying.
    For more information about HTTP errors, see Help.

    If I click on browser's Back button, I get back to order page and everything is fine. However, if I refresh the page, I get back to Order section with a red X in customer Notified section.

    If I get out of the Order section and get back to it again, the order is disappeared! Even though on main Admin page I see the reference to that order.

    What's the problem? Is this related to my DB or my hosting company?

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Problem updating orders

    1) what version of Zencart? (give the actual version number)
    2) if a modern version (1.3.9+) have a look in the /cache folder and see if there are debug logs being generated
    edit
    3) have you read this

    https://www.zen-cart.com/tutorials/index.php?article=63
    Webzings Design
    Semi retired from Web Design

  3. #3
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default Re: Problem updating orders

    Quote Originally Posted by nigelt74 View Post
    1) what version of Zencart? (give the actual version number)
    2) if a modern version (1.3.9+) have a look in the /cache folder and see if there are debug logs being generated
    edit
    3) have you read this

    https://www.zen-cart.com/tutorials/index.php?article=63
    I started fresh with zencart version 1.3.9b and then I have upgraded to version 1.3.9h.

    I checked the debug file and I found 4 resent debug files saying:

    "[10-Sep-2011 18:36:29] PHP Fatal error: Call to undefined function date_diff() in /homepages/2/d272100003/htdocs/Store/admin/orders.php on line 150"

  4. #4
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Problem updating orders

    Quote Originally Posted by ak6000 View Post
    I started fresh with zencart version 1.3.9b and then I have upgraded to version 1.3.9h.

    I checked the debug file and I found 4 resent debug files saying:

    "[10-Sep-2011 18:36:29] PHP Fatal error: Call to undefined function date_diff() in /homepages/2/d272100003/htdocs/Store/admin/orders.php on line 150"
    Okey doke, you are using Super orders?

    read this thread, as that error is related to

    http://www.zen-cart.com/forum/showth...ate_diff%28%29

    I think you may need to update super orders.

    There is another thread where Kuroi or Vger mention that the name of this function was changed a while back to stop an error of somesort
    Of course i can't find the thread right now
    Webzings Design
    Semi retired from Web Design

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Problem updating orders

    Ok here

    http://www.zen-cart.com/forum/showth...%29#post920667

    read a few post down to fix it, or update to super orders 3

    Fix is here if you don't want to update
    http://www.zen-cart.com/forum/showpo...postcount=1844
    Webzings Design
    Semi retired from Web Design

  6. #6
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default Re: Problem updating orders

    Thanks nigelt74!

    I really appreciate your help

  7. #7
    Join Date
    Apr 2010
    Posts
    102
    Plugin Contributions
    0

    Default Re: Problem updating orders

    Quote Originally Posted by nigelt74 View Post
    Ok here

    http://www.zen-cart.com/forum/showth...%29#post920667

    read a few post down to fix it, or update to super orders 3

    Fix is here if you don't want to update
    http://www.zen-cart.com/forum/showpo...postcount=1844
    For some reason, I don't remember installing Super Orders!

    In any case, I checked order.php, and found the date_diff on line 150 as reported by error log and based on the link you provided I changed it to zen_date_diff.

    However, I found the same function on line 56 as well! Do I need to change that one also?

  8. #8
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Problem updating orders

    Quote Originally Posted by ak6000 View Post
    For some reason, I don't remember installing Super Orders!

    In any case, I checked order.php, and found the date_diff on line 150 as reported by error log and based on the link you provided I changed it to zen_date_diff.

    However, I found the same function on line 56 as well! Do I need to change that one also?
    So do you actually have super orders installed?

    You will need to ask in that thread for super orders 2, as i am actually not familiar with it, I just recognised the error
    Webzings Design
    Semi retired from Web Design

 

 

Similar Threads

  1. v139h Overseas orders not updating
    By leest35 in forum PayPal Website Payments Pro support
    Replies: 1
    Last Post: 28 Aug 2012, 01:18 PM
  2. Problem sending email when updating orders
    By WhitePhantom in forum Basic Configuration
    Replies: 2
    Last Post: 2 Nov 2011, 03:52 PM
  3. Updating Customer Orders Throwing an error
    By Mike_Dean in forum General Questions
    Replies: 5
    Last Post: 14 Aug 2009, 09:57 PM
  4. Orders Status (updating in advance)
    By loostaq in forum Managing Customers and Orders
    Replies: 1
    Last Post: 12 Nov 2006, 10:39 PM
  5. Updating Orders before processing(?)
    By finius_lyn in forum Managing Customers and Orders
    Replies: 3
    Last Post: 11 Oct 2006, 01:57 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