Support » Plugin: Advanced Text Widget » [Plugin: Advanced Text Widget] Does not works… my mystake maybe

  • Resolved aresca


    Hi, i’ve installed the plugin. All ok. I’ve activated and placed the widget in the sidebar.
    Then i’ve placed inside the code:

    <?php include(""); ?>

    the result is the following error message appearing in the block where i assumed the html page should has to appear:

    Warning: include() [function.include]: URL file-access is disabled in the server configuration in /web/htdocs/ : eval()'d code on line 1
    Warning: include( [function.include]: failed to open stream: no suitable wrapper could be found in /web/htdocs/ : eval()'d code on line 1
    Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/php5/lib/php/') in /web/htdocs/ : eval()'d code on line 1

    may you kindly help me please?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Max Chirkov


    The issue is in your PHP code. Your PHP configuration doesn’t support inclusion of the URLs. You have to use full or relative path to include your file. If your HTML file is located in the same folder where WordPress is installed, then your code should look like this:


    That’s perfect. Thank you very much.

    Plugin Author Max Chirkov


    You’re welcome! 🙂

    Dear Maxchirkov, may i disturb you for a question about a WP plugin i’m looking for?
    The classifica.html file is a simply html file that has to be weekly modified.
    The guy that is going to modify it does not know anything about html. So the question is:

    there is somewhere a plugin to be used in administration panel that gives the possibility to load an html file and modify it in a visual way… without coding i mean.

    thank you again

    Plugin Author Max Chirkov


    I don’t have the answer to your question. You’d have to search through directory of the plugins if such plugin is available. On the other hand, why don’t you simply copy the context of your HTML file into a blank WordPress page – it has a Visual editor and well as HTML editor built-in. Then you’ll be able to edit the content in the Visual editor as often as you need.

    Yes. That was i figured out… and after all, he shall has to copy the resulting code in susbstitution of the previous…
    Yes it could works i believe

    thanks for all

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Advanced Text Widget] Does not works… my mystake maybe’ is closed to new replies.