• Welcome to Sitemap Generator Forum.
 

failed to open stream

Started by abhishek, November 03, 2006, 10:56:30 PM

Previous topic - Next topic

abhishek

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

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
Quote2)
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)

abhishek

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.


abhishek

Quote from: admin on November 06, 2006, 06:49:21 AM
Hello,

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

PM sent

fivestar

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

Hello Greg,

you should manually create empty sitemap.xml and ror.xml files in domain root and set permissions to 0666 for them.
QuotePS love the program though.
Thank you!

fivestar

#7
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
....

XML-Sitemaps Support

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.

fivestar

Did you get my ftp login info? I sent it in a pm.

Greg


fivestar

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