Warning in sitemap stops Google (Virtuemart/ps_session.php)
10 posts
• Page 1 of 1
Warning in sitemap stops Google (Virtuemart/ps_session.php)
Hi,
my sitemap has the following warning:
Although this warning might be harmless it prevents Google to handle this sitemap properly: Google shows warnings and stops to analyze the sitemap up from this point!!!
As a workaround I commented this line 68 in ps_session.php out:
(I don't use cookies anyway...).
Any ideas what's going wrong?
Matt
Joomla: 1.5.9
VM: 1.1.3
XMAP: 1.2
VM Ext.: 1.1.1
my sitemap has the following warning:
- Code: Select all
<br/>
<b>Warning</b>
: Cannot modify header information - headers already sent by (output started at /is/htdocs/wp1134456_LVGJPRIY7Z/WWW/Aalenaa/components/com_xmap/xmap.xml.php:97) in
−
<b>
/is/htdocs/wp1134456_LVGJPRIY7Z/WWW/Aalenaa/administrator/components/com_virtuemart/classes/ps_session.php
</b>
on line
<b>68</b>
<br/>
Although this warning might be harmless it prevents Google to handle this sitemap properly: Google shows warnings and stops to analyze the sitemap up from this point!!!
As a workaround I commented this line 68 in ps_session.php out:
- Code: Select all
//setcookie('virtuemart', $this->getSessionId() );
(I don't use cookies anyway...).
Any ideas what's going wrong?
Matt
Joomla: 1.5.9
VM: 1.1.3
XMAP: 1.2
VM Ext.: 1.1.1
- matten
- Fresh Boarder

- Posts: 2
- Joined: Tue Feb 10, 2009 12:48 pm
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
I have a similar issue as above with all the same versions of software. Google shows 7 or so warnings at lines 16 and 17. I see no errors if i open the xml in the browser.
I included a screenshot of the output via hxxp://www.validome.org/google/validate
I am also using sh404SEF ver. 1.0.16_Beta - build_222
I included a screenshot of the output via hxxp://www.validome.org/google/validate
I am also using sh404SEF ver. 1.0.16_Beta - build_222
- azcards09
- Fresh Boarder

- Posts: 5
- Joined: Mon Jan 26, 2009 7:23 am
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
I have a similar issue as above with all the same versions of software. Google shows 7 or so warnings at lines 16 and 17. I see no errors if i open the xml in the browser.
I included a screenshot of the output via hxxp://www.validome.org/google/validate
...try to change the XMAP settings: use the classic sitemap view (without CSS). Then you should see the errors in your sitemap (similar to the validator ouput).
Seems that you have the same problem with the ps_session.php (line 68)...
Matt
- matten
- Fresh Boarder

- Posts: 2
- Joined: Tue Feb 10, 2009 12:48 pm
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
Yeah, you're right i followed your CSS suggestion and could see the error. If I unpublish Xmap's Virtuemart plugin it goes away, but I would rather keep it published of course.
SOLVED, for me anyway:
I set the "Compress the XML sitemap to save bandwidth" option to ON. Thats it.
I don't think this is necessary, but I had already created a new sitemap and set it to default. I also deleted the original.
One other small thing, on the original sitemaps preferences the arrow button to transfer the menu # to be excluded, didn't work. On the new one it does.
SOLVED, for me anyway:
I set the "Compress the XML sitemap to save bandwidth" option to ON. Thats it.
I don't think this is necessary, but I had already created a new sitemap and set it to default. I also deleted the original.
One other small thing, on the original sitemaps preferences the arrow button to transfer the menu # to be excluded, didn't work. On the new one it does.
- azcards09
- Fresh Boarder

- Posts: 5
- Joined: Mon Jan 26, 2009 7:23 am
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
but urlset error not solved still.

http://netstore.ir/index.php?option=com_xmap&sitemap=1&view=xml&no_html=1
this problem is with virtuemart plugin 1.1.1 because when i off it my map is correct.
i use joomla 1.5.9 , virtuemart 1.1.3 , xmap 1.2 , virtuemart plugin 1.1.1

http://netstore.ir/index.php?option=com_xmap&sitemap=1&view=xml&no_html=1
this problem is with virtuemart plugin 1.1.1 because when i off it my map is correct.
i use joomla 1.5.9 , virtuemart 1.1.3 , xmap 1.2 , virtuemart plugin 1.1.1
Last edited by reza_mrs on Wed Mar 25, 2009 3:17 pm, edited 1 time in total.
- reza_mrs
- Fresh Boarder

- Posts: 6
- Joined: Sat Feb 07, 2009 3:18 pm
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
set the "Compress the XML sitemap to save bandwidth" option to ON. Thats it.
Worked like a charm. Thank you for the tip.
- Elaztic
- Fresh Boarder

- Posts: 1
- Joined: Mon Mar 16, 2009 12:28 pm
- Location: Vanløse, Denmark
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
reza_mrs wrote:but urlset error not solved still.
http://netstore.ir/index.php?option=com_xmap&sitemap=1&view=xml&no_html=1
my problem not solved still.
anybody know my problem's cause?
- reza_mrs
- Fresh Boarder

- Posts: 6
- Joined: Sat Feb 07, 2009 3:18 pm
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
Same error as the thread starter
Using Joomla 1.5.10
Vm 1.1.3
Artio Google Analytics plugin of January 30 ,2009
any suggestions?
Using Joomla 1.5.10
Vm 1.1.3
Artio Google Analytics plugin of January 30 ,2009
any suggestions?
- d3vlabs
- Fresh Boarder

- Posts: 1
- Joined: Thu Jul 02, 2009 7:21 am
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
I found that I was having the same problem and I also found that with compression enabled, the error went away. To fix the problem without using compression, I made the following changes to components/com_xmap/xmap.xml.php (v1.2.8)
Change lines 154 to 160 from
to
This enables output buffering whether compression is used or not
Change lines 182 to 186 from
to
Regards
Phil
Change lines 154 to 160 from
- Code: Select all
if ($this->doCompression) {
$encoding = JResponse::_clientEncoding();
header('Content-Encoding: ' . $encoding);
header('X-Content-Encoded-By: Joomla! 1.5');
ob_start();
}
header('Content-type: application/xml; charset=utf-8');
to
- Code: Select all
if ($this->doCompression) {
$encoding = JResponse::_clientEncoding();
header('Content-Encoding: ' . $encoding);
header('X-Content-Encoded-By: Joomla! 1.5');
}
header('Content-type: application/xml; charset=utf-8');
ob_start();
This enables output buffering whether compression is used or not
Change lines 182 to 186 from
- Code: Select all
if ($this->doCompression) {
$data = ob_get_contents();
@ob_end_clean();
echo JResponse::_compress($data);
}
to
- Code: Select all
$data = ob_get_contents();
@ob_end_clean();
if ($this->doCompression) {
echo JResponse::_compress($data);
} else {
echo $data;
}
Regards
Phil
- doorknob
- Junior Boarder

- Posts: 27
- Joined: Thu Aug 07, 2008 9:30 pm
Re: Warning in sitemap stops Google (Virtuemart/ps_session.php)
This now seems to be fixed in v1.2.9
- doorknob
- Junior Boarder

- Posts: 27
- Joined: Thu Aug 07, 2008 9:30 pm
10 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests