Results 1 to 8 of 8
  1. #1

    Default Blank Product Edit Pages

    ZC 1.54
    m.fantasycostume.com

    Suddenly getting blank pages when trying to edit products.

    Here's what the log file says:

    PHP Fatal error: Call to undefined method object Info::updateObject Info() in /home/content/43/4941343/html/com-m/wax_candles/includes/modules/product/collect_info.php on line 65

    Rusty
    11 Years and I finally got upgraded to "Follower." :P

  2. #2

    Default Re: Blank Product Edit Pages

    BTW - there does not seem to be an issue with line 65 of /home/content/43/4941343/html/com-m/wax_candles/includes/modules/product/collect_info.php

    11 Years and I finally got upgraded to "Follower." :P

  3. #3
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,600
    Plugin Contributions
    3

    Default Re: Blank Product Edit Pages

    it was working... it stopped.... line 65 is perfect. its beautiful... its just a perfect line...

    you are running zc v1.5.4.

    see:

    https://docs.zen-cart.com/user/first..._requirements/

    looks like your host upgraded you to php 7.x.

    best.
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  4. #4

    Default Re: Blank Product Edit Pages

    I wish it was that easy. Then maybe I could downgrade my php version in the server. However, this particular server will not run higher than php ver 5.6.

    Name:  php-ver.jpg
Views: 41
Size:  17.2 KB

    Rusty
    11 Years and I finally got upgraded to "Follower." :P

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    1,600
    Plugin Contributions
    3

    Default Re: Blank Product Edit Pages

    Quote Originally Posted by masterrusty View Post
    I wish it was that easy. Then maybe I could downgrade my php version in the server. However, this particular server will not run higher than php ver 5.6.

    Name:  php-ver.jpg
Views: 41
Size:  17.2 KB

    Rusty
    what does admin -> tools -> server/version info say?

    look for the php version there as in:

    https://docs.zen-cart.com/user/admin...s/server_info/

    i don't trust your cpanel.... maybe it is right.... but lets find out for sure.
    practice #socialdistancing #staysafe
    email is hard....
    help out with the green....

  6. #6

    Default Re: Blank Product Edit Pages

    looks good there too...

    PHP Version: 5.6.27 (Zend: 2.6.0) PHP Memory Limit: 64M PHP Safe Mode: Off
    PHP File Uploads: On Max Size: 32M
    11 Years and I finally got upgraded to "Follower." :P

  7. #7
    Join Date
    Jul 2012
    Posts
    15,125
    Plugin Contributions
    17

    Default Re: Blank Product Edit Pages

    So two questions:
    Line 65 of admin/includes/modules/product/collect_info.php, does it look like this?:
    Code:
    $pInfo->objectInfo($product->fields);
    And if you open admin/includes/classes/object_info.php what are the contents? Is there a method called objectInfo? This would be code within the class definition identified with function starting the line. The existing 1.5.4 function is on line 26 and reads as:
    Code:
        function objectInfo($object_array) {
    It could be possible that someone was attempting to make this php 7.x ready and didn't realize that there were direct calls to that method and therefore changed its format.

    Please identify discrepancies to the above as related to the existing store.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  8. #8

    Default Re: Blank Product Edit Pages

    Quote Originally Posted by mc12345678 View Post
    So two questions:
    Line 65 of admin/includes/modules/product/collect_info.php, does it look like this?:
    Code:
    $pInfo->objectInfo($product->fields);
    Yes.
    $pInfo->updateObjectInfo($product->fields);
    And if you open admin/includes/classes/object_info.php what are the contents? Is there a method called objectInfo? This would be code within the class definition identified with function starting the line. The existing 1.5.4 function is on line 26 and reads as:
    Code:
        function objectInfo($object_array) {
    Yes.
    function objectInfo($object_array) {
    It could be possible that someone was attempting to make this php 7.x ready and didn't realize that there were direct calls to that method and therefore changed its format.

    Please identify discrepancies to the above as related to the existing store.
    They are as you describe.

    Rusty
    Last edited by masterrusty; 19 May 2020 at 08:42 PM.
    11 Years and I finally got upgraded to "Follower." :P

 

 

Similar Threads

  1. v153 Edit Product page blank
    By jsarwar in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 30 Apr 2016, 08:05 PM
  2. v139d Product Description won't save....Goes blank on each edit!
    By elninomago in forum General Questions
    Replies: 3
    Last Post: 22 Jan 2015, 09:38 PM
  3. Edit Product in Admin Blank Page after Upgrade
    By BlackOrchidCouture in forum Upgrading from 1.3.x to 1.3.9
    Replies: 8
    Last Post: 25 May 2011, 04:28 PM
  4. Blank screen when I click new product or edit product
    By bradg120177 in forum General Questions
    Replies: 1
    Last Post: 15 May 2011, 08:50 PM
  5. Edit Product Blank Page
    By NickCB1966 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Jul 2010, 03:11 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