Results 1 to 10 of 77

Threaded View

  1. #21
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,365
    Plugin Contributions
    94

    Default Re: AdminRequestSanitizer Error Log

    I finally got the AdminRequestSanitizer to spit out some debug (shouldn't it have been as simple as calling the setDebug function with an argument of true?). It looks like part of the issue is that EO uses the variable named "id" (just like the storefront) to hold those added-products' attributes and the built-in 'id' definition is taking precedence:
    Code:
    May-13-2016 11:51:00
    =================================
    
    Incoming GET Request Array
    (
        [page] => 1
        [oID] => 8421
        [action] => add_prdct
    )
    
    
    Incoming POST Request Array
    (
        [securityToken] => cb8ec48cbfe04dbde8aeb3dd0a4f7b34
        [id] => Array
            (
                [35] => Array
                    (
                        [value] => 2271
                        [type] => 0
                    )
    
                [48] => Array
                    (
                        [value] => 3244
                        [type] => 0
                    )
    
                [43] => Array
                    (
                        [value] => 2406
                        [type] => 0
                    )
    
                [20] => Array
                    (
                        [value] => 2259
                        [type] => 0
                    )
    
                [44] => Array
                    (
                        [value] => 
                        [type] => 1
                    )
    
            )
    
        [add_product_categories_id] => 110
        [add_product_products_id] => 287
        [search] => 
        [step] => 4
    )
    
    
    Running Admin Sanitizers
    
    PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == action
    
    PROCESSING SIMPLE_ALPHANUM_PLUS(POST) == id
    
    PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == oID
    
    PROCESSING SIMPLE_ALPHANUM_PLUS(GET) == page
    
    PROCESSING STRICT_SANITIZE_VALUES == securityToken
    
    PROCESSING STRICT_SANITIZE_VALUES == add_product_categories_id
    
    PROCESSING STRICT_SANITIZE_VALUES == add_product_products_id
    
    PROCESSING STRICT_SANITIZE_VALUES == search
    
    PROCESSING STRICT_SANITIZE_VALUES == step
    
    Outgoing GET Request Array
    (
        [page] => 1
        [oID] => 8421
        [action] => add_prdct
    )
    
    
    Outgoing POST Request Array
    (
        [securityToken] => cb8ec48cbfe04dbde8aeb3dd0a4f7b34
        [id] => Array
            (
                [35] => Array
                [48] => Array
                [43] => Array
                [20] => Array
                [44] => Array
            )
    
        [add_product_categories_id] => 110
        [add_product_products_id] => 287
        [search] => 
        [step] => 4
    )
    Note: I don't think it's a possibility to change that 'id' variable's name; there might be other non-EO code that's making use of that variable and I don't want to create a real train-wreck.
    Last edited by lat9; 13 May 2016 at 04:58 PM. Reason: Added note

 

 

Similar Threads

  1. v155 [Done v155a and v155b] AdminRequestSanitizer Problem
    By JRGoold in forum Bug Reports
    Replies: 15
    Last Post: 12 Dec 2016, 01:16 PM
  2. v151 Filename cannot be empty error in error log
    By woodlandsprite in forum General Questions
    Replies: 2
    Last Post: 29 Nov 2012, 06:03 AM
  3. Site down, getting error in debug error log
    By rcrosier in forum General Questions
    Replies: 3
    Last Post: 25 Mar 2009, 03:01 PM
  4. Replies: 6
    Last Post: 7 Dec 2007, 03:42 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