XML Sitemaps Generator

Author Topic: failed to open stream  (Read 37736 times)

abhishek

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
failed to open stream
« on: November 03, 2006, 10:56:30 PM »
I'll ask my qestion right on top ... so it doesnt get missed in all the errors i am pasting below.

What am i doing wrong?

i have been trying to get my site crawled for a couple of days now. finally having given up i did a simple 2 level deep thing.

thankfully, it finsihed ... but surprise surpise...

i get all kinds of errors...
1)view site tab  XML SiteMap File
Warning: gzfile(/home/myswetha/public_html/sitemaps/data/sitemap.xml.gz): failed to open stream: No such file or directory in /home/myswetha/public_html/sitemaps/pages/page-view.inc.php(2) : eval()'d code on line 28

Warning: implode(): Bad arguments. in /home/myswetha/public_html/sitemaps/pages/page-view.inc.php(2) : eval()'d code on line 28
2)
the html site map is all wrong

even on the forst page if you scroll down... all the titles are messed up >>> below is a sample... even thou the title of the link is different.

aromatherapy, aromatherapy oil, oils, candle, candles, essential oil, essential oils, aromatherapy recipe, bath product, romatherapy diffuser, massage oil, massage oils, massage, store, skin care, oil burner, gift, history of aromatherapy, aromatherapy book, aromatherapy treatment 
aromatherapy, aromatherapy oil, oils, candle, candles, essential oil, essential oils, aromatherapy recipe, bath product, romatherapy diffuser, massage oil, massage oils, massage, store, skin care, oil burner, gift, history of aromatherapy, aromatherapy book, aromatherapy treatment 
aromatherapy, aromatherapy oil, oils, candle, candles, essential oil, essential oils, aromatherapy recipe, bath product, romatherapy diffuser, massage oil, massage oils, massage, store, skin care, oil burner, gift, history of aromatherapy, aromatherapy book, aromatherapy treatment 
aromatherapy, aromatherapy oil, oils, candle, candles, essential oil, essential oils, aromatherapy recipe, bath product, romatherapy diffuser, massage oil, massage oils, massage, store, skin care, oil burner, gift, history of aromatherapy, aromatherapy book, aromatherapy treatment 
aromatherapy, aromatherapy oil, oils, candle, candles, essential oil, essential oils, aromatherapy recipe, bath product, romatherapy diffuser, massage oil, massage oils, massage, store, skin care, oil burner, gift, history of aromatherapy, aromatherapy book, aromatherapy treatment 

3)
Text SiteMap  >> hasnt been created
4)
ROR SiteMap   >> hasnt been created

"The Analyza Tab"
Warning:  ksort() expects parameter 1 to be array, null given in /home/myswetha/public_html/sitemaps/pages/page-analyze.inc.php(2) : eval()'d code on line 55

Here is the error i got in the "Crawling" Tab after the crawl was complete.

Total pages indexed: 175
Warning: fopen(/home/myswetha/public_html/sitemaps/site/ror.xml): failed to open stream: Permission denied in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 93

Warning: fwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 104

Warning: gzopen(/home/myswetha/public_html/sitemaps/site/sitemap.xml.gz): failed to open stream: Permission denied in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 114

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 59

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 148

Warning: fwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 158

Warning: gzwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 148

Warning: fwrite(): supplied argument is not a valid stream resource in /home/myswetha/public_html/sitemaps/pages/class.xml-creator.inc.php(2) : eval()'d code on line 158

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: failed to open stream
« Reply #1 on: November 04, 2006, 09:50:18 PM »
Hello,

re: 1,3,4
You should set file permissions as descibed in installation instructions:
0777 for /generator/data/ folder
0666 for all files in /generator/data/ folder,
0666 for /generator/config.inc.php file
0666 for /sitemap.xml file


re: 2
Quote
2)
the html site map is all wrong
You should have "Crawler depth limit" set to 0 in order to get titles inserted corrected (they're not rewtrieved inyour case)
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.

abhishek

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: failed to open stream
« Reply #2 on: November 05, 2006, 09:15:57 PM »
I have checked and rechecked the permissions and they are all right!

>> You should have "Crawler depth limit" set to 0 in
>> order to get titles inserted corrected (they're not rewtrieved inyour case)

If i set the level to 0 then the crawl never stops ... i have this script running for forums.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: failed to open stream
« Reply #3 on: November 06, 2006, 06:49:21 AM »
Hello,

please provide me with ftp access via private message for troubleshooting.
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.

abhishek

  • Registered Customer
  • Approved member
  • *
  • Posts: 4
Re: failed to open stream
« Reply #4 on: November 06, 2006, 09:00:54 AM »
[external links are visible to admins only]
Hello,

please provide me with ftp access via private message for troubleshooting.

PM sent

fivestar

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: failed to open stream
« Reply #5 on: November 25, 2006, 05:51:07 PM »
I am also experiencing the same results.

<H4>Completed</H4>Total pages indexed: 164<BR>Calculating changelog... Warning:
fopen(/home3/www/5starevents/www/ror.xml): failed to open stream: No such file
or directory in
/home3/www/5starevents/Sitemap_Generator/pages/class.xml-creator.inc.php(2) :
eval()'d code on line 93 Warning: fwrite(): supplied argument is not a valid
stream resource in
/home3/www/5starevents/Sitemap_Generator/pages/class.xml-creator.inc.php(2) :
eval()'d code on line 104 Warning:
fopen(/home3/www/5starevents/www/sitemap.xml): failed to open stream: No such
file or directory in
/home3/www/5starevents/Sitemap_Generator/pages/class.xml-creator.inc.php(2) :
eval()'d code on line 114 Warning: fwrite(): supplied argument is not a valid
stream resource in

followed by many more of the same.

Greg

PS love the program though.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: failed to open stream
« Reply #6 on: November 25, 2006, 09:48:18 PM »
Hello Greg,

you should manually create empty sitemap.xml and ror.xml files in domain root and set permissions to 0666 for them.
Quote
PS love the program though.
Thank you!
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.

fivestar

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: failed to open stream
« Reply #7 on: November 27, 2006, 04:10:42 PM »
If the files are already there can I set the permissions to 666? I did that and now get different errors:

Total pages indexed: 164
Calculating changelog... Warning: fopen(/home3/www/5starevents/www/ror.xml): failed to open stream: No such file or directory in /home3/www/5starevents/Sitemap_Generator/pages/class.xml-creator.inc.php(2) : eval()'d code on line 93
....
« Last Edit: November 27, 2006, 10:12:59 PM by admin »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: failed to open stream
« Reply #8 on: November 27, 2006, 10:21:35 PM »
Hello,

make sure that ror.xml is created in correct folder (/home3/www/5starevents/www).  Permissions should be 0666 (which is not the same as 666 if you set them with command line chmod).
I can check this further if you will provide me with temporary ftp access in private message.
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.

fivestar

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: failed to open stream
« Reply #9 on: November 28, 2006, 04:47:59 PM »
Did you get my ftp login info? I sent it in a pm.

Greg

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: failed to open stream
« Reply #10 on: November 28, 2006, 11:38:42 PM »
Yes, replied to you.
(issue resolved via PM)
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.

fivestar

  • Registered Customer
  • Approved member
  • *
  • Posts: 5
Re: failed to open stream
« Reply #11 on: December 09, 2006, 06:01:17 PM »
Yes, Thanks for addressing this. Now I can just forget about it as it updates daily on it's own.

Thanks again for a great program and matching support.

Greg
5 Star Events

 

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