XML Sitemaps Generator

Author Topic: Warning: fwrite supplied argument is not a valid stream resource  (Read 61282 times)

RBCONDO

  • Guest
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

  • Guest
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

  • Guest
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 !!!

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #3 on: January 02, 2007, 09:21:02 PM »
Great! :)
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

Len2003

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
  • Have a nice day.
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #4 on: October 16, 2008, 09: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

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 13
  • Have a nice day.
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #5 on: October 16, 2008, 10: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, 10:21:09 AM by Len2003 »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Warning: fwrite supplied argument is not a valid stream resource
« Reply #6 on: October 17, 2008, 09:33:57 PM »
Hello,

no - you should only set permissions to sitemap.xml/ror.xml files in domain root and /generator/data/ folder.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2