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.
I receive this message after I click on create sitemap:
Failed to write sitemap index file (/home2/smuttv/public_html/sitemap.xml)
Warning: file_put_contents(/home2/smuttv/public_html/sitemap.xml) [function.file-put-contents]: failed to open stream: Permission denied in /home2/smuttv/public_html/libraries/framework/file.php on line 36
Offline
It would appear that you do not have write permissions for your public_html directory. The file it references and line is:
return (bool) file_put_contents($file, $data, LOCK_EX);
This is standard and nothing is wrong with it. I think you need to have the directory set at 655, 755, or 666 but I would defer to others with more experience in permissions and web security.
Last edited by THS (2012-02-06 05:33:40)
Offline
See Your Sitemap Folder ANd Sitemap.xml Permissions It Should be 755 So It Can Be Written By Script.
Offline
Make sure sitemap.xml, sitemap-video.xml and the folder sitemaps are writable by the user that runs the apache server (or if you use su-php then by your cpanel/ftp username). If you just want to resolve this without even knowing which user needs access, just chmod the files to 777.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Make sure sitemap.xml, sitemap-video.xml and the folder sitemaps are writable by the user that runs the apache server (or if you use su-php then by your cpanel/ftp username). If you just want to resolve this without even knowing which user needs access, just chmod the files to 777.
Can't change from 755. I get "request denied"
Last edited by DuttyRock (2012-07-31 03:55:50)
Offline
It was support - through my hosting provider that resolved the error.
I contacted them told them "even with chmod changed to 0777 the error still occurred"...they fixed it.
Contact support center through your hosting company and ask
Offline
Said it's not on there end.
Offline
Please Check the Php.in Also For Execution Time If It Is To Low It Will Show Server Error Or Login As Root And Try to change It Will Work............
Offline