Post by DW Music » Mon Aug 22, 2011 10:40 pm

Hi everyone,

I have just installed the 'Generate Google Sitemaps' extension (http://www.opencart.com/index.php?route ... order=DESC)

I am just having some issues when attempting to generate the sitemap.
It is currently giving me the following error:
Warning: fopen(../sitemaps/sitemapcategories.xml) [function.fopen]: failed to open stream: No such file or directory in /home/dwmusic/public_html/store/admin/model/tool/generate_sitemap.php on line 10

Warning: fwrite(): supplied argument is not a valid stream resource in /home/dwmusic/public_html/store/admin/model/tool/generate_sitemap.php on line 11

Warning: fwrite(): supplied argument is not a valid stream resource in /home/dwmusic/public_html/store/admin/model/tool/generate_sitemap.php on line 12

Parse error: syntax error, unexpected T_PUBLIC in /home/dwmusic/public_html/store/admin/model/catalog/category.php on line 173
Any advice would be greatly appreciated.

P.S I am running 1.4.7

Thanks.

Newbie

Posts

Joined
Mon Aug 22, 2011 10:35 pm

Post by DW Music » Tue Aug 23, 2011 4:27 pm

Hi everyone,

I just thought that I would update my original post.
The problem that I was having was just a very simple mistake that I made in the category.php file.
This has sorted out the errors that I was having. The site maps are not apparently being successfully generated but they don't appear to actually be showing up.

Code: Select all

http://www.mydomain.com.au/store/sitemaps/sitemapcategories.xml generated successfully.

http://www.mydomain.com.au/store/sitemaps/sitemapproducts.xml generated successfully.

http://www.mydomain.com.au/store/sitemaps/sitemappages.xml generated successfully.

Success: You have successfully generated sitemaps! 
Any advice for a n00b?

Thanks in advance.

Newbie

Posts

Joined
Mon Aug 22, 2011 10:35 pm
Who is online

Users browsing this forum: No registered users and 8 guests