Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    274
    Plugin Contributions
    0

    Default blank page when i send a update to my customer for their order please help

    Hello ,

    I am getting a blank page when i send order update to my customers. The update will deliver alright. But i would like it to go back to my admin home like it use too. I recently recovered from a site hack with no data base. So i guess i must have messed something up.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: blank page when i send a update to my customer for their order please help


  3. #3
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    274
    Plugin Contributions
    0

    Default Re: blank page when i send a update to my customer for their order please help

    Yes there are 53 log files and 1 php file . Should i try and send a invoice and check the logs from here ?

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: blank page when i send a update to my customer for their order please help

    Those log files are error logs created by the PHP problem on your site - open the latest one and post the contents here if you don't understand what it's telling you.

  5. #5
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    274
    Plugin Contributions
    0

    Default Re: blank page when i send a update to my customer for their order please help

    Sorry for the time in getting back to you.

    This is what the log file says

    [08-Oct-2011 10:22:00] PHP Fatal error: Call to undefined function date_diff() in /home/prissweb/MISSINGCORD/admin/orders.php on line 170

    admin folder name edited*

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: blank page when i send a update to my customer for their order please help

    Sounds like you've got outdated and mismatched files, perhaps caused by using addons for an older version than what you're running.
    .

    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.

  7. #7
    Join Date
    Feb 2009
    Location
    atlanta GA
    Posts
    274
    Plugin Contributions
    0

    Default Re: blank page when i send a update to my customer for their order please help

    Yes that must have happen when i added all those modules i am running. I found the line in that php file. I couldn't figure out what was wrong with it. So i looked at the same file from a backed up copy of my site on 7-10-2011.

    In my current file it had

    $zc_max_days = date_diff($check_status->fields['date_purchased'], date('Y-m-d H:i:s', time())) + DOWNLOAD_MAX_DAYS;

    But in backup it was

    $zc_max_days = zen_date_diff($check_status->fields['date_purchased'], date('Y-m-d H:i:s', time())) + DOWNLOAD_MAX_DAYS;


    So i just added " zen_ " and now it works. No idea how my modules changed that line.

 

 

Similar Threads

  1. Don't send email to customer when order placed
    By Jace in forum General Questions
    Replies: 3
    Last Post: 3 Dec 2010, 07:22 AM
  2. Blank page when I press send in the contact us page!!
    By joudesign in forum General Questions
    Replies: 7
    Last Post: 10 May 2010, 03:20 PM
  3. send order update to customer?
    By fredsjo in forum General Questions
    Replies: 6
    Last Post: 15 Apr 2010, 01:58 PM
  4. Help, blank page when viewing customer orders to update status
    By WUHUIMEI in forum Managing Customers and Orders
    Replies: 2
    Last Post: 19 May 2009, 10:54 AM
  5. Blank page when add to cart and checkout??! HELP PLEASE!
    By titantechs in forum General Questions
    Replies: 2
    Last Post: 31 Oct 2007, 06:01 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