Server issue error with Sitemap

AbuGhaith

Well-known member
Affected version
2.0.2
today i get this error in AP

PHP:
     ErrorException: Job XF:Sitemap: [E_WARNING] fopen(/home//public_html/internal_data/temp/xfOjKSYU): failed to open stream: No such file or directory src/XF/Util/File.php:100

PHP:
Stack trace

#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] fop...', '/home//...', 100, Array)
#1 src/XF/Util/File.php(100): fopen('/home//...', 'r')
#2 src/XF/Sitemap/Builder.php(403): XF\Util\File::copyFileToAbstractedPath('/home/beautym1/...', 'internal-data:/...')
#3 src/XF/Sitemap/Builder.php(84): XF\Sitemap\Builder->saveTempFile()
#4 src/XF/Job/Sitemap.php(25): XF\Sitemap\Builder->build(7.1968810558319)
#5 src/XF/Job/Manager.php(241): XF\Job\Sitemap->run(7.9999990463257)
#6 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#7 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#8 job.php(15): XF\Job\Manager->runQueue(false, 8)
#9 {main}

PHP:
array(4) {
  ["url"] => string(8) "/job.php"
  ["referrer"] => string(21) "https://lovefount.co/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
If this only happened once, it's likely safe to ignore, though otherwise I would recommend checking that your permissions are set up correctly on the internal_data directory.
 
@Chris D has this been confirmed as a server issue?

I'm seeing errors logged for this :
  • Apr 9, 2018 at 3:17 AM
  • Apr 6, 2018 at 4:51 AM
  • Mar 21, 2018 at 2:44 AM
And I think it happened twice or more before March 21st.

internal_data and inner directories have 755 permissions because of suexec php. Members are able to upload content fine through XF too.
 
Back
Top Bottom