Results 1 to 10 of 593

Threaded View

  1. #11
    Join Date
    Oct 2007
    Posts
    241
    Plugin Contributions
    0

    Default Re: Captcha using TTF & GD

    When I run captcha_debug.php, I get this message:


    Headers already sent in ******/includes/extra_configures/pci_patch_v13x_search.php on line 15 Warning: Cannot modify header information - headers already sent by (output started at *****/includes/extra_configures/pci_patch_v13x_search.php:15) in **********/includes/classes/captcha.php on line 288

    The below code from each of the two files returned in the error message is listed below. So far, I haven't figured anything out on my own with regard to this issue. Does anyone know anything about the patch, and why this might be happening? I don't see the identical commands, but then I'm only a PHP novice, and I'm not familiar with a lot.

    Line 287- **********/includes/classes/captcha.php
    Code:
     if($this->debug) {
          header('Content-Type: text/html');
        } else {
          @header('Content-Transfer-Encoding: binary');
          @header('Content-Disposition:attachment; filename=captcha_img.' . $this->img_type);
          @header('Content-Type: image/' . $this->img_type);
        }
    Line 15 ****/includes/extra_configures/pci_patch_v13x_search.php

    Code:
    <?php
    if (isset($_GET['keyword']) && $_GET['keyword'] != '')
    {
      $count =  substr_count($_GET['keyword'], '"');
      if ($count == 1)
      {
        if(substr(stripslashes(trim($_GET['keyword'])), 0, 1) == '"')
        {
          $_GET['keyword'] .= '"';
        }
      }
      $_GET['keyword'] = stripslashes($_GET['keyword']);
    }
    Last edited by Donn; 7 Apr 2010 at 07:28 AM.

 

 

Similar Threads

  1. Replies: 68
    Last Post: 29 Jul 2013, 06:33 PM
  2. CAPTCHA using TTF & GD - not working
    By derrr99 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 13 Dec 2010, 04:05 PM
  3. Replies: 13
    Last Post: 2 Jun 2008, 03:29 PM
  4. Captcha using TTF & GD & Tel Not Required (how do I Avoid Overwrites?)
    By CelticKatt in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 8 Apr 2008, 04:18 AM
  5. Can CAPTCHA Using TTF & GD be installed in check out?
    By Lainee in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 8 May 2007, 04:53 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