XML Sitemap for XenForo 1.3 [Not needed, included in 1.4]

-> Cron entry was run successfully.

Thank you, it has worked ;)

I now have numerous files listing threads, users etc. What would you suggest I submit to google?
 
@Rigel Kentaurus not sure why, but I got this error today:
Code:
ErrorException: Undefined index: HTTP_HOST - library/XfAddOns/Sitemap/ControllerPublic/Robots.php:55
Generated By: Unknown Account, Today at 1:21 PM
Stack Trace
#0 /var/www/apple4me/library/XfAddOns/Sitemap/ControllerPublic/Robots.php(55): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/apple4...', 55, Array)
#1 /var/www/apple4me/library/XfAddOns/Sitemap/ControllerPublic/Robots.php(37): XfAddOns_Sitemap_ControllerPublic_Robots->getSitemapLocation()
#2 /var/www/apple4me/library/XenForo/FrontController.php(337): XfAddOns_Sitemap_ControllerPublic_Robots->actionIndex()
#3 /var/www/apple4me/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/apple4me/robots.php(27): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
  ["url"] => string(40) "http://sayapple.comindex.php?xfa-robots/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

This is on the forum I am trying out the free blog software on and had to make the edit that we discussed in that resource discussion area.
It is not happening on the other two forums I have that do not have the free blog software installed.
 
@Rigel Kentaurus not sure why, but I got this error today:
Code:
ErrorException: Undefined index: HTTP_HOST - library/XfAddOns/Sitemap/ControllerPublic/Robots.php:55
Generated By: Unknown Account, Today at 1:21 PM
Stack Trace
#0 /var/www/apple4me/library/XfAddOns/Sitemap/ControllerPublic/Robots.php(55): XenForo_Application::handlePhpError(8, 'Undefined index...', '/var/www/apple4...', 55, Array)
#1 /var/www/apple4me/library/XfAddOns/Sitemap/ControllerPublic/Robots.php(37): XfAddOns_Sitemap_ControllerPublic_Robots->getSitemapLocation()
#2 /var/www/apple4me/library/XenForo/FrontController.php(337): XfAddOns_Sitemap_ControllerPublic_Robots->actionIndex()
#3 /var/www/apple4me/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#4 /var/www/apple4me/robots.php(27): XenForo_FrontController->run()
#5 {main}
Request State
array(3) {
  ["url"] => string(40) "http://sayapple.comindex.php?xfa-robots/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

This is on the forum I am trying out the free blog software on and had to make the edit that we discussed in that resource discussion area.
It is not happening on the other two forums I have that do not have the free blog software installed.
Thanks, I'll take a look
 
Is possible run via cronjob on server side ?

Because, cronjob cant run exactly on large forums. It stops without run fully.
 
I'm getting an Xcache error running the CLI.php My var size is set pretty high and XF uses it.

Code:
An exception occurred: xcache_get(): xcache.var_size is either 0 or too small to enable var data caching in Zend/Cache/Backend/Xcache.php on line 95
#0 [internal function]: XenForo_Application::handlePhpError(2, 'xcache_get(): x...', '/home/mysite...', 95, Array)
#1 Zend/Cache/Backend/Xcache.php(95): xcache_get('xf_cache_da...')
#2 Zend/Cache/Core.php(303): Zend_Cache_Backend_Xcache->load('xf_cache_da...', false)
#3 XenForo/Model/DataRegistry.php(28): Zend_Cache_Core->load('data_options')
#4 XenForo/Application.php(729): XenForo_Model_DataRegistry->get('options')
#5 [internal function]: XenForo_Application->loadOptions()
#6 XenForo/Application.php(921): call_user_func_array(Array, Array)
#7 XenForo/Application.php(952): XenForo_Application->lazyLoad('options', NULL)
#8 XenForo/Application.php(1368): XenForo_Application::get('options')
#9 XfAddOns/Sitemap/Model/Sitemap.php(41): XenForo_Application::getOptions()
#10 XenForo/Model.php(195): XfAddOns_Sitemap_Model_Sitemap->__construct()
#11 XfAddOns/Sitemap/CronEntry/RebuildSitemap.php(24): XenForo_Model::create('XfAddOns_Sitema...')
#12 XfAddOns/Sitemap/Cli.php(32): XfAddOns_Sitemap_CronEntry_RebuildSitemap::run()
#13 {main}
 
I am getting this server error below and look at the screenshot attached too please.

Code:
ErrorException: gzopen(sitemap/sitemap.xml.gz) [<a href='function.gzopen'>function.gzopen</a>]: failed to open stream: Permission denied - library/XfAddOns/Sitemap/Sitemap/Base.php:93
Generated By: Unknown Account, Yesterday at 11:00 PM
Stack Trace

#0 [internal function]: XenForo_Application::handlePhpError(2, 'gzopen(sitemap/...', '/var/www/vhosts...', 93, Array)
#1 /var/www/vhosts/truckmountforums.com/httpdocs/library/XfAddOns/Sitemap/Sitemap/Base.php(93): gzopen('sitemap/sitemap...', 'w')
#2 /var/www/vhosts/truckmountforums.com/httpdocs/library/XfAddOns/Sitemap/Sitemap/Index.php(53): XfAddOns_Sitemap_Sitemap_Base->save('sitemap/sitemap...')
#3 /var/www/vhosts/truckmountforums.com/httpdocs/library/XfAddOns/Sitemap/Model/Sitemap.php(152): XfAddOns_Sitemap_Sitemap_Index->generate()
#4 /var/www/vhosts/truckmountforums.com/httpdocs/library/XfAddOns/Sitemap/CronEntry/RebuildSitemap.php(40): XfAddOns_Sitemap_Model_Sitemap->runAllAvailableSiteMaps()
#5 [internal function]: XfAddOns_Sitemap_CronEntry_RebuildSitemap::run(Array)
#6 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#8 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Model/Deferred.php(208): XenForo_Deferred_Cron->execute(Array, Array, 9.9999928474426, '')
#9 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Model/Deferred.php(331): XenForo_Model_Deferred->runDeferred(Array, 9.9999928474426, '', false)
#10 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Model/Deferred.php(284): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#11 /var/www/vhosts/truckmountforums.com/httpdocs/deferred.php(18): XenForo_Model_Deferred->run(false)
#12 {main}

Request State

array(3) {
  ["url"] => string(44) "http://www.truckmountforums.com/deferred.php"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(3) {
    ["_xfRequestUri"] => string(54) "/search/7388038/?q=prochem+performer+405&t=post&o=date"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}

Delete... Close
 

Attachments

  • Screen Shot 2013-10-09 at 2.21.45 PM.webp
    Screen Shot 2013-10-09 at 2.21.45 PM.webp
    73.8 KB · Views: 14
I am getting this server error below and look at the screenshot attached too please.

Code:
failed to open stream: Permission denied

It says "permission denied" - have you changted the permissions to 777 on the sitemap folder as outlined in the installation instructions
 
Annoying niggle of mine...

Could you change the version name on here on the resource manager to the correct one as defined in the addon XML?

The addon installer things this addon has an update, and it's confusing me :P

If not, no worries - I'll just edit it directly on the addon.

Liam
 
Im using Xcache as backend caching. I cant run sitemap generator via CLI.php

Are there any alternative method Dear Friends ?
 
Error Info
PHP:
ErrorException: DOMDocument::save(sitemap/sitemap.forums.1.xml): failed to open stream: Permission denied - library/XfAddOns/Sitemap/Helper/Base.php:74
Generated By: Unknown Account, Yesterday at 11:01 PM
Stack Trace

PHP:
#0 [internal function]: XenForo_Application::handlePhpError(2, 'DOMDocument::sa...', '/home/sociall1/...', 74, Array)
#1 /home/sociall1/public_html/forums/library/XfAddOns/Sitemap/Helper/Base.php(74): DOMDocument->save('sitemap/sitemap...')
#2 /home/sociall1/public_html/forums/library/XfAddOns/Sitemap/Model/Sitemap.php(180): XfAddOns_Sitemap_Helper_Base->save('sitemap/sitemap...')
#3 /home/sociall1/public_html/forums/library/XfAddOns/Sitemap/Model/Sitemap.php(70): XfAddOns_Sitemap_Model_Sitemap->generateForums()
#4 /home/sociall1/public_html/forums/library/XfAddOns/Sitemap/CronEntry/RebuildSitemap.php(31): XfAddOns_Sitemap_Model_Sitemap->generate()
#5 [internal function]: XfAddOns_Sitemap_CronEntry_RebuildSitemap::run(Array)
#6 /home/sociall1/public_html/forums/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#7 /home/sociall1/public_html/forums/library/XenForo/Cron.php(29): XenForo_Model_Cron->runEntry(Array)
#8 /home/sociall1/public_html/forums/library/XenForo/Cron.php(64): XenForo_Cron->run()
#9 /home/sociall1/public_html/forums/cron.php(12): XenForo_Cron::runAndOutput()
#10 {main}

Request State

PHP:
array(3) {
  ["url"] => string(59) "http://www.sociallyuncensored.eu/forums/cron.php?1364526110"
  ["_GET"] => array(1) {
    [1364526110] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}
How did you fix it ? I am getting this too.
@Mike Edge @Rigel Kentaurus
 
Top Bottom