| :: |
| Author |
Message |
digi
Joined: 08 Feb 2007 Posts: 3
|
Posted: Thu Feb 08, 2007 2:18 am Post subject: gym not creating xml file |
|
|
first off i love this site it is a big help.
but i installed gym on my phpbb and everything went ok but it is not creating the xml files
you can go to http://www.ps3boycott.com/rss.php and it works but rss.xml does not. this is the same with sitemap too.
i have ezportal with mixed mod_rewrite and cybers sid mod installed.
any help or clues would be great |
Last edited by digi on Thu Feb 08, 2007 2:35 am; edited 1 time in total |
|
| Back to top |
|
 |
|
 |
digi
Joined: 08 Feb 2007 Posts: 3
|
Posted: Thu Feb 08, 2007 2:25 am Post subject: Re: gym not creating xml file |
|
|
getting new error now
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Access is denied. Error processing resource 'http://www.ps3boycott.com/ggs_style/mxrss2.xsl'.
found out why ... i didnt have www in my url. ok but the first problem still exists. the xml file is not being created. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
MvsB
Joined: 23 Jan 2007 Posts: 10
|
Posted: Fri Feb 09, 2007 8:43 am Post subject: Re: gym not creating xml file |
|
|
| interesting, thanks |
|
|
| Back to top |
|
 |
digi
Joined: 08 Feb 2007 Posts: 3
|
Posted: Fri Feb 09, 2007 11:33 pm Post subject: Re: gym not creating xml file |
|
|
| thank you ill look into the htaccess file rules and see if i can get it to work |
|
|
| Back to top |
|
 |
Tbone
Joined: 09 Mar 2007 Posts: 4
|
Posted: Fri Mar 09, 2007 3:14 am Post subject: Re: gym not creating xml file |
|
|
I am having the same problem. The following message is showing when going to http://wegcommunity.com/sitemap.php:
| Quote: | The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The stylesheet does not contain a document element. The stylesheet may be empty, or it may not be a well-formed XML documen... |
This is what I have in my .htaccess which is located on the root.
| Code: | RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM PROTECTION RULE
# RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
# CATEGORIES
RewriteRule ^cat([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forum([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forum([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
#########################################################
# GYM SITEMAPS AND RSS REWRITE RULES #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/02/22
########################
# RSS main
RewriteRule ^rss-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /rss.php?$1&$2 [L]
# RSS forums
RewriteRule ^forums-rss-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /rss.php?forum&c&$1&$2 [L]
# RSS all
RewriteRule ^([a-zA-Z0-9]+)-rss([0-9]*)-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /rss.php?$1=$2&$3&$4 [L]
# RSS forum topics
RewriteRule ^.+-rf([0-9]+)-?(l|s)?-?(m)?\.([xml|xml\.gz]+)$ /rss.php?forum=$1&$2&$3 [L]
# SitemapIndex
RewriteRule ^sitemaps\.([xml|xml\.gz]+)$ /sitemap.php [L]
# Sitemap modules
RewriteRule ^([a-zA-Z0-9]+)-sitemap\.([xml|xml\.gz]+)$ /sitemap.php?$1 [L]
# Forum Sitemaps
RewriteRule ^.+-gf([0-9]+)\.([xml|xml\.gz]+)$ /sitemap.php?forum=$1 [L]
# Yahoo! urllist.txt
RewriteRule ^urllist\.([txt|txt\.gz]+)$ /urllist.php [L]
#########################################################
# END GYM SITEMAPS AND RSS REWRITE RULES #
#########################################################
DirectoryIndex index.html index.htm portal.php index.php |
The last line is for redirect to my portal page.
I have tried the .htaccess with each rewrite by its self but I still get the same error message.
Any idea what might be causing this problem? I do have another sitemap at http://wegcommunity.com/sitemaps.php that works fine, but I am looking to get the sitemap to report in .xml for Google. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Fri Mar 09, 2007 2:15 pm Post subject: Re: gym not creating xml file |
|
|
And welcome.
Just looks like you're in the case where the auto detection of the sitemap.php file (and rss.php and urllist.php as well) does not work.
You just need to hard code the full URL to you're sitemap.php file in sitemap.php, so just replace :
| Code: | | // $paths['sitemap_url'] = 'http://www.example.com/eventual_folder/'; |
With :
| Code: | | $paths['sitemap_url'] = 'http://wegcommunity.com/'; |
In your case, and do the same for rss.php, with $paths['rss_url'], and urllist.php with $paths['yahoo_url'].
RC3 is soon to come and should not fail this often for auto detection.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
Tbone
Joined: 09 Mar 2007 Posts: 4
|
Posted: Fri Mar 09, 2007 3:19 pm Post subject: Re: gym not creating xml file |
|
|
| Thanks for the Welcome and the advice. I will give the changes a try and let you know how I make out. |
|
|
| Back to top |
|
 |
Tbone
Joined: 09 Mar 2007 Posts: 4
|
Posted: Fri Mar 09, 2007 3:33 pm Post subject: Re: gym not creating xml file |
|
|
| dcz - I made the changes to all three sitemaps and it seems that rss.php is outputing to xml format but I am still getting the error when accessing sitemap.php. Any other thoughts? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
Tbone
Joined: 09 Mar 2007 Posts: 4
|
Posted: Fri Mar 09, 2007 6:18 pm Post subject: Re: gym not creating xml file |
|
|
| My browser cache got me on that one, thanks for the reminder. And thanks for the help! |
|
|
| Back to top |
|
 |
|
|