Generating forums...
-- Excluded: http://www.sectorgamer.com/comunidad/forums/team-oficial-sg-en-la-twl.145/
-- Excluded: http://www.sectorgamer.com/comunidad/forums/estrategias.146/
-- Excluded: http://www.sectorgamer.com/comunidad/forums/resultados-de-los-scrims.147/
-- Excluded: http://www.sectorgamer.com/comunidad/forums/usuarios-con-doble-cuenta-baneados.161/
Generating threads...
-- Starting at -1 and generating 10000 urls...
Generating index file...
All doneOcurrió un error, por favor inténte nuevamente más tarde.
I do not know why you get that error, but it is for other reasons.how to fix this error?
All done = todo hechoCode:Generating forums... -- Excluded: http://www.sectorgamer.com/comunidad/forums/team-oficial-sg-en-la-twl.145/ -- Excluded: http://www.sectorgamer.com/comunidad/forums/estrategias.146/ -- Excluded: http://www.sectorgamer.com/comunidad/forums/resultados-de-los-scrims.147/ -- Excluded: http://www.sectorgamer.com/comunidad/forums/usuarios-con-doble-cuenta-baneados.161/ Generating threads... -- Starting at -1 and generating 10000 urls... Generating index file...
Ocurrió un error, por favor intente nuevamente más tarde.
but in the meantime in google webmaster tools:
Secondly - could it be changed to not have soft deleted threads in the site map? I noticed these types of threads were in my site map, and of course they were soft deleted, and I did not want them in the site map:i reinstalled it and now it seems working.
What i noticed, is that the deleted threads are still inside the sitemap. Isn't there a way to fix it?
Thanks!
/**
* Append the information about the threads to the sitemap
*/
public function generate($totalThreads)
{
$this->initialize();
$db = XenForo_Application::get('db');
$sql = "
SELECT * FROM xf_thread thread
WHERE thread_id > ?
ORDER BY thread.thread_id
";
$st = new Zend_Db_Statement_Mysqli($db, $sql);
$st->execute( array( $this->lastThreadId ) );
while ($data = $st->fetch())
{
$this->lastThreadId = $data['thread_id'];
if ($this->canView($data))
{
$url = XenForo_Link::buildPublicLink('canonical:threads', $data);
$this->addUrl($url, $data['post_date']);
// We may have to break if we reached the limit of threads to include in a single file
$totalThreads--;
if ($totalThreads <= 0)
{
break;
}
}
}
// if we still have data, that means that we did not finish fetching the information
$this->isFinished = !$st->fetch();
$st->closeCursor();
}
/**
* Check if the default (not registered) user can view the forum. We only expose through the sitemap the
* information about the forums that are visible to all the public
*
* @param array $data array with information for the forum
* @return boolean
*/
private function canView($data)
{
$nodeId = $data['node_id'];
$errorPhrase = '';
$nodePermissions = $this->defaultVisitor->getNodePermissions($nodeId);
return $this->forumModel->canViewForum($data, $errorPhrase, $nodePermissions, $this->defaultVisitor->toArray());
}
I haven't tried yet with 1.1, I am upgrading my forums this weekend so I'll give it a testNot sure if anyone else is having a similar issue, so thought I'd ask here.
I just upgraded to 1.1.0 beta 1. Prior to the upgrade, this is what this tool was doing on my site.
/sitemap/sitemap.forums.1.xml.gz: URLs submitted = 28
/sitemap/sitemap.threads.1.xml.gz: URLs submitted = 10000 (a)
/sitemap/sitemap.threads.2.xml.gz: URLs submitted = 10000 (b)
/sitemap/sitemap.threads.3.xml.gz: URLs submitted = 9919 (c)
/sitemap/sitemap.xml.gz: URLs submitted = 29919 (a + b + c)
As you can see, the last one was an index of the whole site and was hence a sum of a, b and c.
However, now sitemap.xml.gz is showing 9919 URLs submitted as well, instead of 10000 + 10000 + 9919.
I've re-run the tool and resubmitted to Google as well, but with the same results. Is anyone else facing a similar issue?
noWill it index the add-on pages as well?
I see something similar with mine in Google Webmaster tools, however, when I click on sitemap.xml.gz I can see the complete detail (the threads and forums sitemap), and there the numbers are correctNot sure if anyone else is having a similar issue, so thought I'd ask here.
I just upgraded to 1.1.0 beta 1. Prior to the upgrade, this is what this tool was doing on my site.
/sitemap/sitemap.forums.1.xml.gz: URLs submitted = 28
/sitemap/sitemap.threads.1.xml.gz: URLs submitted = 10000 (a)
/sitemap/sitemap.threads.2.xml.gz: URLs submitted = 10000 (b)
/sitemap/sitemap.threads.3.xml.gz: URLs submitted = 9919 (c)
/sitemap/sitemap.xml.gz: URLs submitted = 29919 (a + b + c)
As you can see, the last one was an index of the whole site and was hence a sum of a, b and c.
However, now sitemap.xml.gz is showing 9919 URLs submitted as well, instead of 10000 + 10000 + 9919.
I've re-run the tool and resubmitted to Google as well, but with the same results. Is anyone else facing a similar issue?
Yeah, I'm seeing exactly the same behaviour here since yesterday. Sometimes it's adding up (in my post above) a + c, sometimes a + b. It seems the issue is at Google's end but not really sure what's happening though.I see something similar with mine in Google Webmaster tools, however, when I click on sitemap.xml.gz I can see the complete detail (the threads and forums sitemap), and there the numbers are correct
Got this error when doing the Run cron after install -
v. 1.0.4
Server Error
curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
- XenForo_Application::handlePhpError() in CemZoo/Sitemap/Ping.php at line 29
- CemZoo_Sitemap_Ping:ingUrl() in CemZoo/Sitemap/Ping.php at line 47
- CemZoo_Sitemap_Ping:ingGoogle() in CemZoo/Sitemap/Index.php at line 113
- CemZoo_Sitemap_Index->pingServices() in CemZoo/Sitemap/Index.php at line 78
- CemZoo_Sitemap_Index->generate() in CemZoo/Sitemap/CronEntry/RebuildSitemap.php at line 26
- CemZoo_Sitemap_CronEntry_RebuildSitemap::run() in XenForo/Model/Cron.php at line 353
- XenForo_Model_Cron->runEntry() in XenForo/ControllerAdmin/Cron.php at line 204
- XenForo_ControllerAdmin_Cron->actionRun() in XenForo/FrontController.php at line 310
- XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
- XenForo_FrontController->run() in /home/xengame1/public_html/admin.php at line 13
That error is ok.XenForo 1.1.0 Beta 1
================
Generating forums...
Generating threads...
-- Starting at -1 and generating 10000 urls...
Generating index file...
All done
An exception occurred: Cannot send headers; headers already sent in , line 0 in /srv/www/htdocs/dwteam/onga/www/forum/library/Zend/Controller/Response/Abstract.php on line 321
Zend_Controller_Response_Abstract->canSendHeaders() in Zend/Controller/Response/Abstract.php at line 115
Zend_Controller_Response_Abstract->setHeader() in XenForo/ViewRenderer/HtmlAdmin.php at line 17
XenForo_ViewRenderer_HtmlAdmin->__construct() in XenForo/Dependencies/Admin.php at line 120
XenForo_Dependencies_Admin->getViewRenderer() in XenForo/FrontController.php at line 499
XenForo_FrontController->_getViewRenderer() in XenForo/FrontController.php at line 139
XenForo_FrontController->run() in /srv/www/forum/admin.php at line 13
It excludes the threads not viewable by guests, anything that an unregistered user cannot view, is not included in the sitemap.Rigel,
Thanks for a great sitemap. I was wondering if I could ask for certain features. If you look at sitemaps for IP.SEO and vBSEO, you will see that they have options to give certain things a priority. Things like hot threads, forum index, threads view, posts, members pages, etc. And even have the ability to go into the section options to set a higher or lower priority for that. This works well for my site and I would think many others as there are certain sections on our sites that we know is our higher performing section or sections.
Also, I just want to make sure, anything not viewable by guests, you have it so those threads are not included in the sitemap, correct?
Azzid
We use essential cookies to make this site work, and optional cookies to enhance your experience.