Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    red flag Product Update Not Working For Converted Database Products

    VERSION (NEW CODE - CONVERTED DATABASE)
    ----------
    v156a

    PLUGINS
    ----------
    Encrypted Master Password 2.3.1
    Numinix Google Analytics
    USU 2.216
    USU 2.217
    USU 3.0.0-beta3

    PHP Version: 5.6.40
    Database Engine: MySQL 5.7.25

    [FONT=Verdana, sans-serif]This appears to be occurring with all my products. I pick a product. Edit it.... Change the quantity... then PREVIEW.... the result is that it gives the product name but doesn't give anymore of the preview.... i am unable to save the changes (No buttons). I uninstalled USU to see if this was what was causing the problems and it is still behaving the same way.

    [/FONT]myDEBUG-adm-20190222-064127-000000.log[FONT=Verdana, sans-serif]

    [/FONT][22-Feb-2019 06:41:28 UTC] PHP Fatal error: Call to a member function format() on null in /home/xxx/public_html/xxx/admin/includes/modules/product/preview_info.php on line 65


    [22-Feb-2019 06:41:28 UTC] Request URI: /admin/product.php?cPath=10434&pID=38536&action=new_product_preview, IP address: xx.xx.xx.xxx
    --> PHP Fatal error: Call to a member function format() on null in /home/xxx/public_html/xxx/admin/includes/modules/product/preview_info.php on line 65.




    [FONT=Verdana, sans-serif]
    [/FONT]

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

    Default Re: Product Update Not Working For Converted Database Products

    In uninstallation/installation, the admin/product.php file was modified away from the ZC 1.5.6 version of the file. Suggest restoring it or incorporating the differences of previous USU versions of that file with the equivalent file of the ZC version associated with USU.

    (in other words incorporate the changes made to support the plugin if any are necessary.) reportedly the newest version of USU doesn't need to touch that file.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,495
    Plugin Contributions
    88

    Default Re: Product Update Not Working For Converted Database Products

    What @mc12345678 said! The upgrade directions for USU v3.0.0 identify that you'll need to hand-edit previous versions' changes to various core files (https://github.com/lat9/usu/blob/v30...ade_from_v2.md) to remove those changes.

    With the plugins you list, I believe that it's safe to simple replace all the files identified in that document with their Zen Cart 1.5.6a as-shipped versions.

  4. #4
    Join Date
    Jun 2007
    Location
    Texas, USA
    Posts
    1,400
    Plugin Contributions
    1

    Default Re: Product Update Not Working For Converted Database Products

    Thanks guys.... it is not a problem with the barebones zcv156a

 

 

Similar Threads

  1. Replies: 10
    Last Post: 2 Nov 2014, 07:18 AM
  2. Replies: 2
    Last Post: 24 Feb 2011, 04:54 PM
  3. Update cart not working for me?
    By chillout_buddha in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2008, 02:27 AM
  4. Update currencies and Check for updates not working.....
    By caradelrae in forum General Questions
    Replies: 1
    Last Post: 4 Mar 2008, 06:56 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