• Resolved olicarve

    (@olicarve)


    Hello!
    I get this message when I install the plugin:

    Insert HTML on every page
    Everything you put in here will be inserted into the <head> tag on every page. Ideal for favicons!

    Warning: fopen(/home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/evonapluginconfig/everyheadpage.html) [function.fopen]: failed to open stream: No such file or directory in /home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/per-page-add-to/settings.php on line 18
    Error creating /home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/evonapluginconfig/everyheadpage.html ! Is the underlying folder writable?
    Warning: fopen(/home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/evonapluginconfig/everyheadpage.html) [function.fopen]: failed to open stream: No such file or directory in /home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/per-page-add-to/settings.php on line 32
    Failed reading HTML file/home/httpd/vhosts/laservalais.ch/httpdocs/wp-content/plugins/evonapluginconfig/everyheadpage.html. Is the file readable?

    Any idea how to solve this problem?

    Many thx

    Ol

    http://wordpress.org/plugins/per-page-add-to/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Erikvona

    (@erikvona)

    Hello. This problem can occur if your plugins folder isn’t writable by my plugin. As far as I know, the plugin will still work, the only problem is that you can’t use it to add content to every page in the settings menu.

    I’m still weighing pros and cons moving this option out of a config file and into the database. It might increase web page load time, but will prevent this error.

    For now, you can fix it by manually creating a folder named evonapluginconfig inside the plugins folder (wp-content/plugins) and giving your webserver full write access to that folder using FTP. That should fix the error.

    If the error still persists, create a file named everyheadpage.html in the wp-content/plugins/evonapluginconfig, and add all the html you want on every page in there. This should be equivalent of adding it via the WordPress settings page.

    Thread Starter olicarve

    (@olicarve)

    Thank you!
    I did want to create that folder evonapluginconfig as I saw the error message but I was not sure it was the only problem.

    Actually I found another way of doing it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does not install’ is closed to new replies.