geoffs Posted February 19, 2007 Share Posted February 19, 2007 Anyone got any thoughts on the following?: Warning: main(includes/languages/english/FILENAME_GOOGLE_SITEMAPS) [function.main]: failed to open stream: No such file or directory in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_GOOGLE_SITEMAPS' (include_path='.:/usr/lib/php') in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Thanks Geoff Quote Link to comment Share on other sites More sharing options...
Guest Posted March 3, 2007 Share Posted March 3, 2007 Anyone got any thoughts on the following?: Warning: main(includes/languages/english/FILENAME_GOOGLE_SITEMAPS) [function.main]: failed to open stream: No such file or directory in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_GOOGLE_SITEMAPS' (include_path='.:/usr/lib/php') in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Thanks Geoff I am getting the same errors. My thoughts are that this has something to do with a filename definition since it doesn't reference any specific file. I have triple checked I followed the install steps to the letter, and all my definitions look to be properly in place. I'm not quite sure what to make of this, but apparently other folks have had no troubles installing it since I haven't seen any other posts with the same errors (aside from ours)! Does any of this sound right to you? My PHP knowledge is exceptionally limited... but if other folks can get it, then by God so can we! :) Let me know if you find anything that helps and I will do the same! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2007 Share Posted March 4, 2007 just wondering which version of Google XML Sitemap Admin you are installing ?? Quote Link to comment Share on other sites More sharing options...
Guest Posted March 4, 2007 Share Posted March 4, 2007 just wondering which version of Google XML Sitemap Admin you are installing ?? I initially installed version 2.1 found here: http://www.oscommerce.com/community/contributions,3439/ I have corrected the definitions in the filename.php files as per these posts: http://www.oscommerce.com/forums/index.php?s=&...st&p=828335 http://www.oscommerce.com/forums/index.php?s=&...st&p=831300 Now I am getting a different and possibly more confounding error: Warning: fopen(/home/moonl/public_html/catalog//sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Product Sitemap Generation FAILED! Warning: fopen(/home/moonl/public_html/catalog//sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Category Sitemap Generation FAILED! Warning: fopen(/home/moonl/public_html/catalog//sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 634 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 42 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/moonl/public_html/catalog//sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /home/moonl/public_html/catalog//sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /home/moonl/public_html/catalog//sitemapindex.xml [status] => failure [file_exists] => false ) ) ) Obviously the double slashes are a big problem, so I went back to the contrib page and downloaded version 2.1B which made reference to correcting sitemap.class.php so the files are saved in the correct directory. As it turns out, no code was actually changed in that "new" version of the same. I used WinMerge to verify that the files were identical. I believe the problem now lies in sitemap.class.php but I don't know enough PHP to actually locate the problem. Where are you standing on this issue at present? Have you found anything I have not? :) Quote Link to comment Share on other sites More sharing options...
Guest Posted March 5, 2007 Share Posted March 5, 2007 I initially installed version 2.1 found here: http://www.oscommerce.com/community/contributions,3439/ I have corrected the definitions in the filename.php files as per these posts: http://www.oscommerce.com/forums/index.php?s=&...st&p=828335 http://www.oscommerce.com/forums/index.php?s=&...st&p=831300 Now I am getting a different and possibly more confounding error: Warning: fopen(/home/moonl/public_html/catalog//sitemapproducts.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Product Sitemap Generation FAILED! Warning: fopen(/home/moonl/public_html/catalog//sitemapcategories.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Category Sitemap Generation FAILED! Warning: fopen(/home/moonl/public_html/catalog//sitemapindex.xml) [function.fopen]: failed to open stream: Permission denied in /home/moonl/public_html/sitemap.class.php on line 592 ERROR: Google Sitemap Index Generation FAILED! Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 634 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 42 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/moonl/public_html/catalog//sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /home/moonl/public_html/catalog//sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /home/moonl/public_html/catalog//sitemapindex.xml [status] => failure [file_exists] => false ) ) ) Obviously the double slashes are a big problem, so I went back to the contrib page and downloaded version 2.1B which made reference to correcting sitemap.class.php so the files are saved in the correct directory. As it turns out, no code was actually changed in that "new" version of the same. I used WinMerge to verify that the files were identical. I believe the problem now lies in sitemap.class.php but I don't know enough PHP to actually locate the problem. Where are you standing on this issue at present? Have you found anything I have not? :) to avoid those problem, I've simply installed higgalls' on the fly version of Goolge site map . It is very easy to install. and it works. http://www.oscommerce.com/community/contri...5/search,google Quote Link to comment Share on other sites More sharing options...
Guest Posted March 6, 2007 Share Posted March 6, 2007 to avoid those problem, I've simply installed higgalls' on the fly version of Goolge site map . It is very easy to install. and it works. http://www.oscommerce.com/community/contri...5/search,google Thanks! :) I've actually uninstalled the contrib we were fiddling with before and have been searching for one that works properly. I appreciate the recommendation! Quote Link to comment Share on other sites More sharing options...
Guest Posted March 8, 2007 Share Posted March 8, 2007 to avoid those problem, I've simply installed higgalls' on the fly version of Goolge site map . It is very easy to install. and it works. http://www.oscommerce.com/community/contri...5/search,google Okay so I installed that same contribution, and Google says I have errors on my sitemaps. "Unsupported file format". Have you verified that Google isn't erroring out of your sitemaps? Did you get the same errors? Quote Link to comment Share on other sites More sharing options...
kaelectro Posted May 19, 2009 Share Posted May 19, 2009 Anyone got any thoughts on the following?: Warning: main(includes/languages/english/FILENAME_GOOGLE_SITEMAPS) [function.main]: failed to open stream: No such file or directory in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Fatal error: main() [function.require]: Failed opening required 'includes/languages/english/FILENAME_GOOGLE_SITEMAPS' (include_path='.:/usr/lib/php') in /home/sargent/public_html/catalog/sitemaps.index.php on line 33 Thanks Geoff add the line in this file. includes/filenames.php define('FILENAME_GOOGLE_SITEMAPS', 'sitemaps.index.php'); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.