Results 1 to 10 of 29

Threaded View

  1. #11
    Join Date
    Dec 2009
    Location
    Amersfoort, The Netherlands
    Posts
    2,845
    Plugin Contributions
    25

    Default Re: Need some help diagnosing functions_general,php errors

    I had one last idea before shutting down

    PHP Code:
    // bof dynamic filter 1 of 3
            
    if ( (!in_array($key$exclude_array)) && (strlen((int)$value) > || is_array($value) && array_filter($value) ) && ($key != 'main_page') && ($key != zen_session_name()) && ($key != 'error') && ($key != 'x') && ($key != 'y') ) {
    // eof dynamic filter 1 of 3 
    I added (int) to the strlen and it seems to do the job, but I am no expert.

    p.s. I wasn't getting any errors at first because I made some other stupid mistake. after fixing that the errors started coming in until I added the int
    Last edited by Design75; 12 Feb 2013 at 12:28 AM.

 

 

Similar Threads

  1. Need to display Product ID in functions_general.php to edit Category List Showcase
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Mar 2009, 03:25 AM
  2. Need to override functions_general.php
    By lbowenc in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Mar 2008, 12:18 PM
  3. Replies: 2
    Last Post: 1 Jul 2007, 05:10 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