akirk / enable-mastodon-apps

Allow accessing your WordPress blog with Mastodon clients
https://wordpress.org/plugins/enable-mastodon-apps
GNU General Public License v2.0
34 stars 5 forks source link

Open base dir restriction? #47

Closed eiland-asbl closed 8 months ago

eiland-asbl commented 8 months ago

I enabled the app, went to my endpoint and all I got:

Warning: file_exists(): open_basedir restriction in effect. File(/.htaccess) is not within the allowed path(s): (###) in /srv/###/wp-admin/includes/misc.php on line 278

in fact the whole setup was affected, the error log drowned with this message. With error reporting turned off, the plugin works reasonably well, but this is not acceptable.

akirk commented 8 months ago

Thanks for flagging but are you sure that the Enable Mastodon Apps plugin is causing it? There is no file_exists call or reference to htaccess in this code base.

eiland-asbl commented 8 months ago

Turned off my plugins one by one, and it turned out to be a conflict with ancient slickquiz. Sorry!

akirk commented 8 months ago

Glad to hear! Thanks for following up with the solution!