Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    Uhm , it should work since it sues the function plugins_url to build the urls. Which errors do you get?

    Stefano.

    Thread Starter holzhannes

    (@holzhannes)

    I am getting just blank white pages, ones i switch back to the usuall folder structure it is working again.

    Johannes

    Thread Starter holzhannes

    (@holzhannes)

    So the Problem seems to be wp-load.php

    Here the Log from my Server

    [25/Jun/2013:10:38:07 +0200] "GET /***/newsletter/do/view.php" 500 - "-"
    [2013-06-25 10:38:07.070101] [info21] [error] [IPAddres] PHP Warning: include(../../../../wp-load.php): failed to open stream: No such file or directory in /SERVERPATH/***/newsletter/do/view.php on line 6
    Plugin Author Stefano Lissa

    (@satollo)

    Hi, I know, this is a problem. Actually Newsletter has some services that are called directly and those files are inside the plugin folder. Those files must load the wp-load.php and since the base path is moved, they fail.

    There is no solution. I’ll appreciated very much if WordPress would have a way to expose a service without call the home with parameter (which is a problem with many plugins) but actually i didn’t find an answer.

    Stefano.

    Thread Starter holzhannes

    (@holzhannes)

    Hey Stefano, thank you very much for your reply.

    My small solution for the moment is to keep the structure of the folders and just rename them, then it is working.
    For example: instead of /wp-content/plugins/newsletter/subscription/page.php I use: /xyz/xyz/newsletter/subscription/page.php

    I found to Posts on that Topic, that may help to solve it total.
    https://willnorris.com/2009/06/wordpress-plugin-pet-peeve-2-direct-calls-to-plugin-files

    https://ottopress.com/2010/dont-include-wp-load-please/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with renamed wp-content folder’ is closed to new replies.