| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
julian
Joined: 27 Jan 2007 Posts: 3
|
Posted: Sat Jan 27, 2007 10:45 pm Post subject: MX sitemap v0.2.0 Parse url problem |
|
|
I have a small problem installing this mod.
When i go to sitemaps.php, i get the folowwing error:
| Code: |
Warning: parse_url(http://:/profile.php?mode=viewprofile&u=2) [function.parse-url]: Unable to parse URL in /usr/local/apache/htdocs/sforum1/phpbb_seo/phpbb_seo_class.php on line 140
Warning: parse_url(http://:/viewforum.php?f=1) [function.parse-url]: Unable to parse URL in /usr/local/apache/htdocs/sforum1/phpbb_seo/phpbb_seo_class.php on line 140
Warning: parse_url(http://:/viewtopic.php?t=1) [function.parse-url]: Unable to parse URL in /usr/local/apache/htdocs/sforum1/phpbb_seo/phpbb_seo_class.php on line 140
|
I use the advanced seo mod and optimal title mod. |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
Posted: Sun Jan 28, 2007 2:03 am Post subject: Re: MX sitemap v0.2.0 Parse url problem |
|
|
And welcome
So this is coming form malformed links sent to append_sid(), by a mod most likely.
So we can work following two direction, we can either try to find out which mods is sending these links and fix them, or add a filter in the phpbb_seo class.
The first solution is the first one to test, because, if it's only a mod, and simple to fix, it will be faster to save a filter.
So to begin with, please open :
phpbb_seo/phpbb_seo_class.php
Find :
| Code: | | $parsed_url = parse_url($this->url); |
Replace with :
| Code: | | $parsed_url = @parse_url($this->url); |
This should just turn of the warning, and malformed links won't be rewritten, so we'll be able to find out which ones are
++ |
_________________ 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 |
|
 |
julian
Joined: 27 Jan 2007 Posts: 3
|
Posted: Sun Jan 28, 2007 9:49 pm Post subject: Re: MX sitemap v0.2.0 Parse url problem |
|
|
ok i sorted this one thank you, the errors are gone, thats al what's needed.
Now i still have one small problem.
The url to the forum index show well in ie7 but in ie6 and firefox i only see this a href: http://:/
Its only on viewforum and viewtopic.
The link of my forum index is missing here. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14327
|
|
| Back to top |
|
 |
julian
Joined: 27 Jan 2007 Posts: 3
|
Posted: Mon Jan 29, 2007 7:57 pm Post subject: Re: MX sitemap v0.2.0 Parse url problem |
|
|
| I will try it now, let you know asap! Thank you |
|
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |