Page 3 of 3 FirstFirst 123
Results 21 to 27 of 27
  1. #21
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: PHP warnings suddenly start appearing in the log folder

    It seems to be mostly commented out. It is the default file for 1.5.1
    PHP Code:
      $list_box_contents[$rows][$col] = array('align' => $lc_align,
                                                  
    'params' => 'class="productListing-data"',
                                                  
    'text'  => $lc_text);
        }

        
    // add description and match alternating colors
        //if (PRODUCT_LIST_DESCRIPTION > 0) {
        //  $rows++;
        //  if ($extra_row == 1) {
        //    $list_box_description = "productListing-data-description-even";
        //    $extra_row=0;
        //  } else {
        //    $list_box_description = "productListing-data-description-odd";
        //    $extra_row=1;
        //  }
        //  $list_box_contents[$rows][] = array('params' => 'class="' . $list_box_description . '" colspan="' . $zc_col_count_description . '"',
        //  'text' => zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION));
        //}
        
    $listing->MoveNext();
      } 
    The full-time Zen Cart Guru. WizTech4ZC.com

  2. #22
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: PHP warnings suddenly start appearing in the log folder

    No, it's totally commented-out! Do you have anything in /includes/modules/classic/product_listing.php?

  3. #23
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,684
    Plugin Contributions
    123

    Default Re: PHP warnings suddenly start appearing in the log folder

    You're looking at the wrong thing then Delia. Line 178 was the caller of the function that gave the warning - it can't be commented out. Check the template value again in admin->tools->Template Selection.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #24
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: PHP warnings suddenly start appearing in the log folder

    New information does make it look like there are server changes. So I'm going to leave it at that.

    The cart had changes to the default 1.5.1 version and all of those changes no longer work. Perhaps changed for an earlier version of PHP? I don't know but there are definitely more issues than the simple changes I made.

    Thanks everyone for providing assistance and advice. You are the reason why I am a Zen Cart person!!!!!
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #25
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: PHP warnings suddenly start appearing in the log folder

    I just checked several other 1.5.1 sites on the server and they are not throwing errors. That should help with the troubleshooting a bit
    Zen cart PCI compliant Hosting

  6. #26
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: PHP warnings suddenly start appearing in the log folder

    There had been changes to some of the default files on the server and it does look like they might have been the source of the problems. Turns out there was actually a full php error happening in checkout. The client finally realized she hadn't gotten an order all day. Once she checked it out and ran into that white screen of death, I was able to pinpoint the file and the problem for that. Something had been commented out that all of sudden needed to be used. I'm sure we'll never really know all the details and I figure all her problems will be resolved once she upgrades to 1.5.4.

    That's the dangers of coming into an existing website... Troubleshooting becomes a major part of my job and some days, I just don't want it to be!

    Once again thanks everyone.
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #27
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: PHP warnings suddenly start appearing in the log folder

    So I'm told that the reason was discovered " turns out it was an invalid admin settings for the product listing description. the value was blank and it should have been 0." Never occurred to me that could be a problem. Next time weirdness arises perhaps I should look deeper into the database!
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. how to point to the right admin log in folder
    By Pxtures in forum Basic Configuration
    Replies: 4
    Last Post: 18 Jun 2014, 02:29 PM
  2. v150 Suddenly receiving a bunch of warnings - no code changed.
    By kalastaja in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 31 Mar 2014, 06:10 PM
  3. PayPal Instant Payment Notification Warnings suddenly
    By ewramos in forum Built-in Shipping and Payment Modules
    Replies: 7
    Last Post: 5 Jul 2011, 08:37 AM
  4. Help! Suddenly can't log in to the admin panel
    By krusedull in forum General Questions
    Replies: 8
    Last Post: 3 Jun 2011, 08:35 PM
  5. Where do I put the Zen folder to start the install?
    By ms paperlicious in forum Installing on a Mac Server
    Replies: 3
    Last Post: 8 Jun 2007, 03:11 AM

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