• Resolved jsoutest

    (@jsoutest)


    Hi,
    I have a general problem using any of the following PHP plugins: EXEC PHP, PHP Exec, PHP Execution, WP Include File.
    All of them, instead of displaying the correct content is showing the PHP code.
    It seems that the PHP code is not interpreted, for example when I use in the post the following PHP instruction “<?php echo “This is the Exec-PHP Hello World”; ?>” I get “<?php echo “This is the Exec-PHP Hello World”; ?>” as a text instead of “This is the Exec-PHP Hello World”.
    Any idea of what is going wrong?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Darrell Schauss

    (@darrellonsite)

    I am using Exec-PHP. Did you disable the Visual Editor under Users > Profile? Also make sure under your profile that “Disable WYSIWYG Conversion Warning” is not checked. This way if you have Visual Editor on you will get a warning as a reminder not to edit your pages with PHP. Even choosing the HTML tab will mess it up.

    So after turning off the visual editor, edit your page. There will be no Visual/HTML option just plain text. Once finished with your PHP you can turn it back on but don’t forget next time you edit that page.

    Thread Starter jsoutest

    (@jsoutest)

    Thank you darrellonsite
    I did what you sy, now I am sure that the plugin is interpreting the PHP code because I receive the following error:

    Parse error: parse error, expecting ’, » or’; » in C:\wamp\www\wordpress\wp-content\plugins\exec-php\includes\runtime.php(42) : eval()’d code on line 3

    Do I have the right plugin?

    Thread Starter jsoutest

    (@jsoutest)

    Fine I found the parse error, I change the doublequote.
    Thank you very much darrellonsite, EXEC PHP works fine now.
    I now can progress in my blog.

    Thread Starter jsoutest

    (@jsoutest)

    Additional information:
    If we use the FCKEditor then we should also deactivate this plugin otherwise we couldn’t back to no Visual Editor.
    Personally I am using this editor plugin because it offers the possibility to generate Forms.
    Is there any other similar type of plugin like FCKEditor for generation of forms in WP page or post?

    Darrell Schauss

    (@darrellonsite)

    Contact Form 7 is pretty good. It has its own admin section. You apply forms to pages using [shortcodes] It won’t modify your editor.
    http://wordpress.org/extend/plugins/contact-form-7/

    Thread Starter jsoutest

    (@jsoutest)

    Thanks I will check it.
    I will let you know.

    Thread Starter jsoutest

    (@jsoutest)

    Hello darrellonsite,
    I just tested ContactForm7, as you say it is quite pretty and configurable.
    But when I submit the messsage I get an error message saying
    “Erreur lors de l’envoi du message. Veuillez réessayer plus tard, ou contacter l’administrateur d’une autre manière.”
    meaning :
    “Error when sending the message. Try to resend later or contact your administrator in another way”

    I think my e-mail configuration is not yet in place (PHP or SMTP).
    I already tried to configure it using the WP-Mail-SMTP plugin without success, when I test it I get the following error message:
    “SMTP -> ERROR: Failed to connect to server: Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?”
    Do you have any idea of the reason?

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

The topic ‘PHP plugin general problem’ is closed to new replies.