Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

Error Feed of VirtueMartXML generator googlebasxml

  • pratheeshbu
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
6 years 8 months ago #696 by pratheeshbu
This page contains the following errors:

error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error. :(

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago - 6 years 8 months ago #702 by boggler
This is this problem: http://www.spiralscripts.co.uk/FAQ/googlebasexml-my-product-feed-shows-a-parsing-error.html

You can follow the advice given there.

Alternatively you can edit the component file components/com_googelbasexml/views/com_googlebasexml/view.xml.php, add the following code:-
      do	  {
			//clean all output buffers
		  } while(@ob_end_clean());

It should be put right at the beginning of the display function, eg:-
class GooglebasexmlViewGooglebasexml extends JView
{
	function display($tpl = null)
	{

            do {
			//clean all output buffers
		  } while(@ob_end_clean());

If your site uses output buffering it will clear the all the output buffers.
Last edit: 6 years 8 months ago by boggler.

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.192 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.