Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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

  • 2 weeks later...
Posted
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!

Posted

just wondering which version of Google XML Sitemap Admin you are installing ??

Posted
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? :)

Posted
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

Posted
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!

Posted
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?

  • 2 years later...
Posted
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');

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...