Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • For navanitachora,
    I did in the following way:
    Inside
    contact-form-7/includes/classes.php
    line 399
    replace
    $recipient = preg_replace_callback( $regex, $callback, $mail_template[‘recipient’] );
    with
    $recipient = $mail_template[‘recipient’];
    There are better ways but this solves the problem quickly

    Thread Starter oreste

    (@oreste)

    Did it, I also tried a combination of several suggestions, before posting here, as follows:

    AddHandler server-parsed .php
    AddType application/x-httpd-php .php .htm .html
    AddHandler x-httpd-php .php .htm .html

    At the moment I’m working with the following instructions:

    DirectoryIndex index.html index.php
    LoadModule php5_module “C:/php/php5apache2_2.dll”
    AddType application/x-httpd-php .php
    PHPIniDir “C:/php”

    It is probably not related with http.conf otherwise I could have the same problem with other php scripts, while they are working with no hassle. The problem is WP related, maybe some incompatibility with php5 (i’m just wondering).

    I’m also wondering whether the problem could be located inside wp-includes/functions.php there an array is initialized by the following function: get_allowed_mime_types()
    within the list, php type is not present.

Viewing 2 replies - 1 through 2 (of 2 total)