| :: |
| Author |
Message |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Thu Oct 02, 2008 1:18 pm Post subject: Error loading stylesheet : |
|
|
Helloo Every body....
i install the GYM is seccussfully but when i click on sitemap or Rss so it will give us error.....
in IE is not work, 404 error & in firfox is give this error :::
Error loading stylesheet: An XSLT stylesheet does not have an XML mimetype:http://www.newsoftworld.com/gym_sitemaps/gym_style.php?action-google,type-xsl,lang-en,theme_id-6
1. http://www.newsoftworld.com/sitemap.php
2. http://www.newsoftworld.com/gymrss.php
how to fix this error, plz any body help me....
my web url ::: http://www.newsoftworld.com
and also....NOTE : RSS 2.0 Parser
how to put & where it put
| Code: | _____________________
NOTE : RSS 2.0 Parser
_____________________
GYM Sitemaps & RSS comes with a simple yet efficient RSS 2.0 parser.
It will cache the processed feed for a configured period of time (1 hour by default).
It's very handy to display url rewriting links anywhere in phpBB without more efforts than if un-rewritten.
You can easily display list of links or posts on any page within phpBB.
To display a RSS 2.0 feed's content, just add :
// GYM Sitemaps & RSS agregator
if (!empty($config['gym_installed'])) {
if (!function_exists('display_feed')) {
require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx);
}
$params = array(
// Full URL to the RSS feed
'url' => 'http://www.newsoftworld.com/feed_url',
// true | false - Scroll the link list or not ?
// Default is false
'slide' => true,
// Speed of scroller higher number = slower scroller
// Default is 30
'speed' => 30,
// How long should we cache the result in seconds
// Default is 3600 (1 hour)
'ttl' => 3600,
// number of item to parse
// Default is 5
'limit' => 5,
// true | false - Display the items description if available as well ?
// Turning this on will change the link list layout
// Default is false
'desc' => false,
// true | false - Allow html in the descriptions ?
// Default is false
'html' => true,
// true | false - if html is off, you can additionnaly strip all html tags
// Default is true
'striptags' => true,
);
/**
* display_feed($params, $tpl_prefix = '')
* $params : array of params or string feed URL for defaults
* tpl_prefix is for using different link blocks on one page
* Use display_feed('http://www.newsoftworld.com/feed_url') to use default settings.
* */
display_feed($params, '');
}
// GYM Sitemaps & RSS agregator
before page_header() is called in any phpBB script.
Then you'll just have to add :
<!-- INCLUDE gym_link_body.html -->
in the template corresponding to the phpBB script, just put it where you want the output to display in the page.
Only the url parameter is mandatory, others should be set only to use different values than defaults.
The order of the parameters is not important.
See this feature in action :
http://phpbb3.phpbb-seo.net/demo/rss-links.php
http://phpbb3.phpbb-seo.net/demo/rss-messages.php |
plz any body help
thanks in ADVNS
take care & bye
New Soft World |
Last edited by newsoftworld on Fri Oct 03, 2008 5:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Fri Oct 03, 2008 5:14 am Post subject: Re: Error loading stylesheet : |
|
|
no any body help me ?? & who known about this error ???.............. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Sat Oct 04, 2008 2:02 pm Post subject: Re: Error loading stylesheet : |
|
|
where we put it ????
| Quote: | This short open tag thing is really interesting.
I would not have though that it could affect .xml files, since usually allowed php file extensions are filtered.
So it seems that all your problem came from the update and the zero duplicate functions to keep in phpbb_seo_class.php file.
Or maybe it is that you just did not update the used extension to ".php" :
| Code: | $this->seo_ext = array('cat' => '.php',
'forum' => '.php',
'topic' => '.php',
'user' => '.php',
'gz_ext' => '',
); |
You should as well check again the headers sent by the zero duplicate, since you've upgraded php version, it's wise to check again, just in case |
yes dear some error in my one mod but my GYM style sheet error is solved...
now my site map & Rss & rsss channel is not open
error is :::
| Code: | | The webpage cannot be found |
and
how to site this command & i confuse about this
| Code: | | 2) CHMOD gym_sitemaps/cache/ to 0777 |
and
how to put & where it put
_____________________
NOTE : RSS 2.0 Parser
_____________________
| Code: | // GYM Sitemaps & RSS agregator
if (!empty($config['gym_installed'])) {
if (!function_exists('display_feed')) {
require_once($phpbb_root_path . 'gym_sitemaps/includes/gym_common.' . $phpEx);
}
$params = array(
// Full URL to the RSS feed
'url' => 'http://www.example.com/feed_url',
// true | false - Scroll the link list or not ?
// Default is false
'slide' => true,
// Speed of scroller higher number = slower scroller
// Default is 30
'speed' => 30,
// How long should we cache the result in seconds
// Default is 3600 (1 hour)
'ttl' => 3600,
// number of item to parse
// Default is 5
'limit' => 5,
// true | false - Display the items description if available as well ?
// Turning this on will change the link list layout
// Default is false
'desc' => false,
// true | false - Allow html in the descriptions ?
// Default is false
'html' => true,
// true | false - if html is off, you can additionnaly strip all html tags
// Default is true
'striptags' => true,
);
/**
* display_feed($params, $tpl_prefix = '')
* $params : array of params or string feed URL for defaults
* tpl_prefix is for using different link blocks on one page
* Use display_feed('http://www.example.com/feed_url') to use default settings.
* */
display_feed($params, '');
}
// GYM Sitemaps & RSS agregator
before page_header() is called in any phpBB script.
Then you'll just have to add :
<!-- INCLUDE gym_link_body.html --> |
plz help about all becoz i newbie and plz don't mind
thanks in ADVNS
new soft world |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
Posted: Sun Oct 05, 2008 7:34 am Post subject: Re: Error loading stylesheet : |
|
|
One thins at a time please, we'll talk about the parser once you'll have working sitemaps.
So far, you still have the same issue with style : -http://www.newsoftworld.com/sitemap.php
Have you investigated on the short open tag matter ?
The fact that the .xml files are 404 is due to the fact you probably did not or badly implement the required rewriterules, since you are not using any mod rewrite on the forum, you could keep the regular urls for GYM too.
I answered you about the chmod in some other thread you posted
++ |
_________________ 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 |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Sun Oct 05, 2008 8:10 am Post subject: Re: Error loading stylesheet : |
|
|
i don't understand about all & i newbie. plz i request tell me step by step how to set and put parser Feed 2.0 or short open tag matter
also i deosn't not any SEO mod install on my forum
my english is not good & sooorrryyy 4 that
plz don't mind
thanks in ADVNS
new soft world |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Sun Oct 05, 2008 5:28 pm Post subject: Re: Error loading stylesheet : |
|
|
thanksssssssss admin and my forum sitemap & channel list working start but RSS Feed is give error.... HTTP/1.1 404 Not Found
and also how to add url to sitemap becoz in my forum sitemap are two only avalaible
http://www.newsoftworld.com/sitemap.php ok
http://www.newsoftworld.com/gymrss.php HTTP/1.1 404 Not Found
http://www.newsoftworld.com/gymrss.php?channels ok
| Code: | [phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_rss.php on line 321: Undefined variable: sql
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_sitemaps.php on line 556: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
[phpBB Debug] PHP Notice: in file /gym_sitemaps/includes/gym_sitemaps.php on line 558: Cannot modify header information - headers already sent by (output started at /includes/functions.php:2975)
|
| Code: | HTTP/1.1 404 Not Found
File : /home/newsoftw/public_html/gym_sitemaps/includes/gym_rss.php
Line : 321
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 321
CALL: gym_sitemaps->gym_error()
FILE: gym_sitemaps/includes/gym_rss.php
LINE: 128
CALL: gym_rss->rss_output()
FILE: gymrss.php
LINE: 21
CALL: gym_rss->gym_rss() |
plz now fix these error's
thanks in ADVNS
new soft world[/code] |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Mon Oct 06, 2008 10:44 am Post subject: Re: Error loading stylesheet : |
|
|
| dcz wrote: | All right, so this is normal if you do not have any public forums, sitemaps are only listing public content, same for rss feeds, unless you are logged in and you activate the rss authorisation.
++ |
thanks dear admin & how to set it for all, i mean's if we are not loged in web than the rss is working & in my sitemap only two url add. how to add all my forum url to sitemap
thanks in ADVNS
new soft world |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
newsoftworld
Joined: 02 Oct 2008 Posts: 9
|
Posted: Sat Oct 18, 2008 7:15 am Post subject: Re: Error loading stylesheet : |
|
|
| dcz wrote: | Well isn't it what's supposed to happen ?
The styling seems to be pretty well handled to me, the problem is that all you forums seems only accessible by logged in users, so none actually shows up in sitemaps or rss feeds.
++ |
the whole forum is ok but this problem is only show up in Site Map & Rss & Rss Channel... |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15135
|
|
| Back to top |
|
 |
|
|