Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-06-07 00:12:25

xsporntv
Member
Registered: 2011-04-20
Posts: 139
Website

Error when rebuilding sitemap

Hello,

I recently migrated to VPS and when I click on the 'Rebuild Sitemap' these errors appear...it sounds like I need to change permissions on folders but honestly do not know were to go and do this in my WHM CPanel...haha! 



Failed to write the general sitemap file
(/home/smuttv/public_html/sitemaps/sitemap-general.xml)!
Failed to write users sitemap file
(/home/smuttv/public_html/sitemaps/sitemap-users-1.xml)!
Failed to write videos sitemap file
(/home/smuttv/public_html/sitemaps/sitemap-videos-1.xml)!


Warning:
file_put_contents(/home/smuttv/public_html/sitemaps/sitemap-general.xml)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/smuttv/public_html/libraries/framework/file.php on line 36

Warning:
file_put_contents(/home/smuttv/public_html/sitemaps/sitemap-users-1.xml)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/smuttv/public_html/libraries/framework/file.php on line 36

Warning:
file_put_contents(/home/smuttv/public_html/sitemaps/sitemap-videos-1.xml)
[function.file-put-contents]: failed to open stream: Permission denied in
/home/smuttv/public_html/libraries/framework/file.php on line 36

Offline

#2 2012-06-07 00:57:28

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Error when rebuilding sitemap

Make sure the sitemaps folder is chmod 755 if you have suphp or 777 if not.

Offline

#3 2012-06-07 15:39:02

xsporntv
Member
Registered: 2011-04-20
Posts: 139
Website

Re: Error when rebuilding sitemap

Thanx THS!

Offline

#4 2012-06-17 22:04:07

xsporntv
Member
Registered: 2011-04-20
Posts: 139
Website

Re: Error when rebuilding sitemap

I tried both ways - changing it to 0755 and 0777, still the same errors appear.?

Any ideas how to fix?

Offline

#5 2012-06-18 02:07:45

THS
Member
Registered: 2012-02-02
Posts: 313
Website

Re: Error when rebuilding sitemap

Its a permission issue.  Did you chmod the directory and the files just in case?

Offline

#6 2012-06-25 03:16:37

xsporntv
Member
Registered: 2011-04-20
Posts: 139
Website

Re: Error when rebuilding sitemap

I contacted my hosting provider and they modified the ownerships of xml files in the public_html/sitemaps directory....?  It's working now :-).

Last edited by xsporntv (2012-06-25 03:16:46)

Offline

Board footer

Powered by FluxBB