XML Sitemaps Generator

Author Topic: Error after server change  (Read 10256 times)

kfikert

  • Approved member
  • *
  • Posts: 3
Error after server change
« on: June 06, 2012, 11:08:04 PM »
Hi,

Recently I have change server to VPS.
Now getting this message in my sitemap pro installation
<b>Warning</b>:  fopen(/home/mymind/public_html/generator/data/sitemap.html) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/mymind/public_html/generator/pages/class.utils.inc.php</b> on line <b>102</b><br />
Data foder is 777

Rds,
K

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Error after server change
« Reply #1 on: June 07, 2012, 04:01:26 PM »
Hello,

make sure that you have 777 permissions set for data/ folder.
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.

kfikert

  • Approved member
  • *
  • Posts: 3
Re: Error after server change
« Reply #2 on: June 07, 2012, 09:55:09 PM »
Hi,

I have data/ folder set to 777

Still getting this message from cron:

Resuming the last session (last updated: 2012-06-04 17:09:52)
<h4>Completed</h4>Total pages indexed: 143
<br>Creating sitemaps...
 and calculating changelog...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div><br />
<b>Warning</b>:  fopen(XXX/public_html/generator/data/sitemap.html) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/XXX/public_html/generator/pages/class.utils.inc.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>:  fwrite() expects parameter 1 to be resource, boolean given in <b>/XXX/public_html/generator/pages/class.html-creator.inc.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>:  fclose() expects parameter 1 to be resource, boolean given in <b>/XXX/public_html/generator/pages/class.html-creator.inc.php</b> on line <b>102</b><br />
<h4>An error occured: </h4> <script> top.location = 'index.php?op=config&errmsg=Error+writing+to+these+files%3A%3Cbr+%2F%3E%0A%3Cb%3E%2Fhome%2FXXX%2Fpublic_html%2Fgenerator%2Fdata%2Fsitemap.html%3C%2Fb%3E%3Cbr+%2F%3E%0APlease+correct+files+permissions+and+resume+sitemap+creation.' </script>

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Error after server change
« Reply #3 on: June 09, 2012, 02:03:09 PM »
Try to set 666 permissions  for all files inside of data/ folder.
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.

kfikert

  • Approved member
  • *
  • Posts: 3
Re: Error after server change
« Reply #4 on: June 11, 2012, 10:57:35 AM »
Hi,

I have decided to re-install script.
Now I can have automated sitemap generation.
But still I have this error in my cron report:

<h4>Completed</h4>Total pages indexed: 144
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div><br />
<b>Warning</b>:  fopen(/home/mymind/public_html/generator/data/sitemap.html) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/mymind/public_html/generator/pages/class.utils.inc.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>:  fwrite() expects parameter 1 to be resource, boolean given in <b>/home/mymind/public_html/generator/pages/class.html-creator.inc.php</b> on line <b>102</b><br />
<br />
<b>Warning</b>:  fclose() expects parameter 1 to be resource, boolean given in <b>/home/mymind/public_html/generator/pages/class.html-creator.inc.php</b> on line <b>102</b><br />
<h4>An error occured: </h4> <script> top.location = 'index.php?op=config&errmsg=Error+writing+to+these+files%3A%3Cbr+%2F%3E%0A%3Cb%3E%2Fhome%2Fmymind%2Fpublic_html%2Fgenerator%2Fdata%2Fsitemap.html%3C%2Fb%3E%3Cbr+%2F%3E%0APlease+correct+files+permissions+and+resume+sitemap+creation.' </script>

Any ideas?

K.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: Error after server change
« Reply #5 on: June 11, 2012, 02:36:47 PM »
Again, looks like permissions issue, setting 777 for data/ folder and 666 for all files in it should help.
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