RBCONDO

*
Any suggestions on how to fix this?


Total pages indexed: 4591
Calculating changelog...
Warning: fopen(/var/www/vhosts/condosrehobothbeach.com/httpdocs/ror.xml) [function.fopen]: failed to open stream: Permission denied in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 94

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 105

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 159

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 159

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 159

Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/vhosts/condosrehobothbeach.com/httpdocs/generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 159

RBCONDO

*
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #1 on: January 02, 2007, 03:41:08 PM »
I searched the forums and found that my data folder should be set to 0777 and it is and the files inside should be 0666

I change them to 0666  but for some reason they automatically switch back to 0644 could this be the problem?

RBCONDO

*
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #2 on: January 02, 2007, 04:08:46 PM »
Never Mind! I figured it out. It was the permissions.

Thanks for a great tool !!!

Len2003

*
  • *
  • 13
  • Have a nice day.
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #4 on: October 16, 2008, 10:46:44 AM »
I'm having the same problem.
The data folder is set to 777 and the files within are set to 0644.
How did you fix the permission? I have Cpanel access.

Len2003

*
  • *
  • 13
  • Have a nice day.
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #5 on: October 16, 2008, 11:11:34 AM »
Ok, a re-think. it appears that the problem is with the “pages/class.xml-creator.inc.php(2)”.
What should the permissions be set too for the Pages directory?
Mine are set at 755 and the files within are 0644
Will it be safe to change the Pages folder to 777
« Last Edit: October 16, 2008, 11:21:09 AM by Len2003 »
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #6 on: October 17, 2008, 10:33:57 PM »
Hello,

no - you should only set permissions to sitemap.xml/ror.xml files in domain root and /generator/data/ folder.