XML Sitemaps Generator

Author Topic: Error - failed to open stream - Permission denied  (Read 2796 times)

ken17

  • Registered Customer
  • Approved member
  • *
  • Posts: 1
Error - failed to open stream - Permission denied
« on: March 11, 2016, 04:03:18 PM »
I received the following error when generating a sitemap. The data directory has full permission (777). Why is the permission denied?

PHP Warning:  fopen(/var/www/html/generator/data/sm_base.db.gz): failed to open                                                                                                                                                                                                stream: Permission denied in /var/www/html/generator/pages/class.utils.inc.php o                                                                                                                                                                                               n line 102
PHP Warning:  fclose() expects parameter 1 to be resource, boolean given in /var                                                                                                                                                                                               /www/html/generator/pages/class.utils.inc.php on line 102

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: Error - failed to open stream - Permission denied
« Reply #1 on: March 12, 2016, 07:03:13 PM »
Hello,

please set 666 permissions to generator/data/sm_base.db.gz file if it exists.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2