• Resolved jonpedlow

    (@jonpedlow)


    Hi

    I have activated the plugin, gone to Contact Form > Contact Form To Asana Extension but keep getting the following error?
    Warning: file_get_contents(__DIR__/views/table_row.html) [function.file-get-contents]: failed to open stream: No such file or directory in /xxxx/xxxxxxxxx/public_html/wp-content/plugins/contact-form-7-to-asana-extension/CF7toAsana.php on line 101

    I have been onto my host who have checked this over and they have said its a problem on the plugin end. Any advice on how to resolve this would be a life saver ??

    P.S. They also said that if anything need to be changed on their end to let them know (we have also checked this post out but does not help in this case https://forums.phpfreaks.com/index.php?topic=251943.0)

    https://www.ads-software.com/extend/plugins/contact-form-7-to-asana-extension/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Can you let me know what version of PHP you are running? The __DIR__ constant is only available as of PHP 5.3.

    If you are stuck on a pre 5.3 version of PHP, for now you can replace all instances of __DIR__ with dirname(__FILE__) in the plugin files until I submit a patch.

    I’m having the same problem right now.

    Will be back with the PHP version or with the solution if I find it today.

    @kurtz was right – I installed the plugin on a site on hostgator and after some searching, found out that they default to 5.2, but you’ll need to update your .htaccess file to use 5.3

    ———————————————————————-
    https://support.hostgator.com/articles/hosting-guide/hardware-software/php-5-3
    ———————————————————————-

    Follow the directions below for the hosting plan you have.

    Shared and Reseller

    We currently have 5.3.10 (or higher) installed on all servers. A handler for PHP 5.3 is added to our shared and reseller servers for those who wish to utilize it. In order to utilize this handler, you will need to add the following code to your .htaccess file:

    # Use PHP 5.3
    AddType application/x-httpd-php53 .php

    Thread Starter jonpedlow

    (@jonpedlow)

    Thank you so much guys for your help!

    Issues are now resolved and the plugin works brilliantly!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No such file or directory ……. /plugins/contact-form-7-to-asana-extension/CF7’ is closed to new replies.