• Resolved mikeowl321

    (@mikeowl321)


    Hi there!

    I just installed the plugin on our site and am really happy, but have noticed a large number of errors logged as below:

    PHP Warning: ?fopen(/nas/content/live/chalkboardroom/.htaccess): Failed to open stream: Permission denied in /nas/content/live/chalkboardroom/wp-admin/includes/misc.php on line 175

    These stop when I disable this plugin, and start again when I reactivate. I spoke to our host (WPEngine), who said they don’t use htaccess files anymore, so maybe thats the issue (the relevant piece of code is ‘$fp = fopen( $filename, ‘r+’ );;).

    We’re on WordPress 6.6.1, if that helps.

    Would be very grateful if anyone has any ideas what might be the issue here?

    Best wishes

    Mike

Viewing 4 replies - 16 through 19 (of 19 total)
  • joaquinferrero

    (@joaquinferrero)

    My recommendation is to find a hosting that does support .htaccess files in an Apache environment. The reason is that WordPress uses the mod_rewrite module to modify all requests and route them to index.php. Naturally, using Apache to use this module is not a requirement, but a recommendation, as stated in the readme.html file.

    Thread Starter mikeowl321

    (@mikeowl321)

    I’ve found the issue and was with something else entirely. If anyone else is reading this, I had an issue with using flush_rewrite_rules() somewhere else. Was a tricky bug to fix, but I’m now using the XML sitemap plugin with no errors. Thanks for all the help and advice, its much appreciated

    Plugin Author Auctollo

    (@auctollo)

    I’m glad you got it sorted!

    Plugin Author Auctollo

    (@auctollo)

    Can you email us a debug tool result please?

Viewing 4 replies - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.