Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Permission denied when creating /home/mydomain/sitemapproducts.xml


Guest

Recommended Posts

Hi.

 

I'm trying to run Google SiteMap for the first time. But it won't create the SiteMap files.

 

Unable to work this one out. Everything seems fine. Permissions are rwx for administrator. Can anyone tell my why I get this message at the fopen please? :

 

 

 

Warning: fopen(/home/mysite/sitemapproducts.xml): failed to open stream: Permission denied in /home/mysite/sitemap.class.php on line 592

ERROR: Google Product Sitemap Generation FAILED!

 

 

Warning: fopen(/home/mysite/sitemapcategories.xml): failed to open stream: Permission denied in /home/mysite/sitemap.class.php on line 592

ERROR: Google Category Sitemap Generation FAILED!

 

 

Warning: fopen(/home/mysite/sitemapindex.xml): failed to open stream: Permission denied in /home/mysite/sitemap.class.php on line 592

ERROR: Google Sitemap Index Generation FAILED!

 

Array

(

[QUERY] => Array

(

[PRODUCTS] => Array

(

[sTATUS] => success

[NUM_ROWS] => 18

)

 

[CATEOGRY] => Array

(

[sTATUS] => success

[NUM_ROWS] => 5

)

 

)

 

[sAVE_FILE_XML] => Array

(

[0] => Array

(

[file] => /home/mysite/sitemapproducts.xml

[status] => failure

[file_exists] => false

)

 

[1] => Array

(

[file] => /home/mysite/sitemapcategories.xml

[status] => failure

[file_exists] => false

)

 

[2] => Array

(

[file] => /home/mysite/sitemapindex.xml

[status] => failure

[file_exists] => false

)

 

)

 

)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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