vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBSEO Google/Yahoo Sitemap Generator for vBulletin 3.6.x, 3.5.x & 3.0.x (https://vborg.vbsupport.ru/showthread.php?t=100435)

KrisP 03-11-2007 08:47 AM

Quote:

Originally Posted by iojam (Post 1200327)
KrisP,

you could try to add "RewriteBase /" in .htaccess.

It helps with ErrorDocument 404 /index.php - that works now.

But the sitemap rewrite still dosent work - same error:
Quote:

Forbidden
You don't have permission to access /index.php on this server.

KrisP 03-11-2007 10:36 AM

The sitemap seemes to be created ok, but I get errors:

Quote:

Scheduled Task Manager
vBSEO - Create Google/Yahoo Sitemap

[homepage] [3,825.2Kb mem used] [0s (+0)]
[SECTION START] forumdisplay [3,825.2Kb mem used] [0s (+0)]
[forumdisplay] forum_id: 5, total threads: 0, pages: 1 [3,825.2Kb mem used] [0s (+0)]
.
.
.
.
[SECTION START] showthread [3,853.6Kb mem used] [0s (+0)]

Warning: gzopen(/var/www/usr244/html/vbseo_sitemap/data/sitemap_1.xml.gz) [function.gzopen]: failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 413

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 424

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 435

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 435
.
.
.
.
Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 435

Warning: gzwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 454

Warning: gzclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 455
[create sitemap file] filename: sitemap_1.xml.gz, number of urls: 2367 [3,857.1Kb mem used] [1s (+1)]

Warning: fopen(/var/www/usr244/html/vbseo_sitemap/data/sitemap_index.xml.gz) [function.fopen]: failed to open stream: Permission denied in /vbseo_sitemap/vbseo_sitemap_functions.php on line 685

Warning: fwrite(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 686

Warning: fclose(): supplied argument is not a valid stream resource in /vbseo_sitemap/vbseo_sitemap_functions.php on line 687
[create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 1 [3,856.7Kb mem used] [1s (+0)]

Done

cashpath 03-12-2007 02:25 PM

This seems to be timing out at 300s on my server when I run the Cron. I tried setting the timelimit in the file to 1500 but I am thinking this is an apache timeout.

Is that probably what the problem is? And if so how do I remedy it?

Thanks

iojam 03-12-2007 03:12 PM

KrisP,

you should set permissions for vbseo_sitemap/data/ folder to 0777.

cashpath,

perhaps it is required to increase max_execution_time setting in php configuration (php.ini) in your case.

KrisP 03-12-2007 03:45 PM

Quote:

Originally Posted by iojam (Post 1201634)
KrisP,

you should set permissions for vbseo_sitemap/data/ folder to 0777.

It is already set to 777.

iojam 03-12-2007 04:02 PM

Also set the permissions for all files inside data/ folder to 0666.

KrisP 03-12-2007 06:07 PM

Quote:

Originally Posted by iojam (Post 1201676)
Also set the permissions for all files inside data/ folder to 0666.

ok - there is now no errors when I run scheduled tasks.

With regards to:

RewriteBase /
RewriteEngine On
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

I still get

Quote:

Forbidden
You don't have permission to access /index.php on this server.

cashpath 03-12-2007 06:30 PM

perhaps it is required to increase max_execution_time setting in php configuration (php.ini) in your case.

It is set to 30 seconds... considering the script is running for over 30 secs I don't think that it is.. Oh well I just removed the SHOW POST portion and it ran.

iojam 03-13-2007 10:12 PM

KrisP,

what is your sitemap URL?

KrisP 03-14-2007 09:41 AM

<a href="http://www.thegame-online.dk/vbseo_sitemap/data/sitemap_index.xml.gz" target="_blank">http://www.thegame-online.dk/vbseo_s...p_index.xml.gz</a>

sitemap_index.xml.gz = 666
/data = 777


All times are GMT. The time now is 01:12 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02567 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete