RoboPower
Member
Posted 6 years ago #
I'm getting the following error when I try to generate a sitemap with the Google Sitemaps plugin:
Could not write into E:\_WebSites\blog.trossenrobotics.com\httpdocs/: fopen(E:\_WebSites\blog.trossenrobotics.com\httpdocs/): failed to open stream: Permission denied
as a previous thread stated, yes I checked with my host and they told me that fopen is enabled on their server. I don't know if it makes any difference, but they are running IIS. Am I supposed to supply a username and password somewhere? I would think that the plugin would take the administrator's at the time of build (in this case, mine).
Your problem has nothing to do with fopen, it has to do with permissions. The webserver does not have the proper permissions on the directory that you are trying to write the file into.
Since you seem to be on a Windows server (given the filename of E:\... ), you'll have to ask your host how to allow the script to actually write a file to the directory in question.
RoboPower
Member
Posted 6 years ago #
I checked my file and folder permissions, and all of the files and folders have 666. I've also logged onto our host's admin panel and it states the same:(
RoboPower
Member
Posted 6 years ago #
Awesome! I got it fixed:
http://blog.trossenrobotics.com/sitemap.xml
It did end up being a setting that my host had to make.
Thank you for your help