Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: htmlspecialchars error when running query from developers_tool_kit


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

    Default Re: htmlspecialchars error when running query from developers_tool_kit

    Quote Originally Posted by stevesh View Post
    Yeah, if I'm not mistaken that's what I did as well, but instead of deleting the text, I placed comment statements around it. /* array('id' => '0', 'text' => TEXT_LOOKUP_NONE), */
    so that I would not "lose" the statement if for some reason it needed to go back and to help me "remember" why that line is different in the php.

    So, I got to thinking about the occurrence. First I thought, well maybe something from my cell phone added an odd character to the query request, so I tried again from a desktop using the same query. An additional error log was generated after returning from the query with results, but this time I had clicked on the Search button. So I tried again from the desktop and this time pressed enter after entering the text (reproducing the action taken on my cell phone).

    All cases through the htmlspecialchars() error.

    I did just recently upgrade to ZC 1.5.1, though am not sure if I was receiving that error before or not. Is there a high potential for me to have not gotten the upgrade fully integrated to my website? Possibly more applicable to the issue, how would I be able to capture what multibyte sequence was sent?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: htmlspecialchars error when running query from developers_tool_kit

    Quote Originally Posted by mc12345678 View Post
    how would I be able to capture what multibyte sequence was sent?
    Add custom code to the script to log all the contents of the $_POST array, then review the log after you re-trigger the problem.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. error when trying to email gv from admin, after upgrading from 1.3.7
    By redheads in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 14 Oct 2009, 06:23 AM
  2. Specifying 'Product priced by attributes' by running phpmyadmin SQL query?
    By vandiermen in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 2 Aug 2009, 06:34 AM
  3. db error when running installation on Resin
    By cifo in forum Installing on a Windows Server
    Replies: 5
    Last Post: 5 Apr 2009, 04:37 AM
  4. issue running custom query
    By stride-r in forum General Questions
    Replies: 10
    Last Post: 13 Oct 2008, 02:37 AM

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