vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   XML Error: Empty document at Line 1 (https://vborg.vbsupport.ru/showthread.php?t=247651)

pigpog 07-31-2010 10:20 AM

XML Error: Empty document at Line 1
 
Hello Lynne and friends. :)

I did a search for help but I couldn't find an answer, so I'm writing my problem down here.

I've written a document using Lynne's information here: https://vborg.vbsupport.ru/showthrea...ghlight=filter to filter out text speak on my forum.

I've saved the file as an .xml document.

When I go to Plugins & Products -> Manage Products -> Add/Import Product and try to upload the .xml document I created from my computer, I get the following error:

XML Error: Empty document at Line 1

Can someone please tell me where I'm going wrong? :confused:

Many thanks!

Speysider 07-31-2010 01:09 PM

You're probably importing the xml to the wrong place. If you are using the product import page, go to the plugin import page instead and vice versa.

pigpog 07-31-2010 01:18 PM

Thanks Speysider, I'm using the product import page. The plugin import page seems to only be of use once I've uploaded the product - it's uploading the product that I can't seem to do.

Speysider 07-31-2010 01:37 PM

Are you uploading the right xml to the right place?

pigpog 07-31-2010 01:54 PM

I click on the browse button to get the .xml file from my computer, and then click import. Then the error pops up.

I don't know if I should have done something else before I try to import it? I literally opened notepad, added the code Lynne produced, added in the words that I want corrected in posts, then saved it as a .xml file.

Speysider 07-31-2010 05:11 PM

You're not being asked to create an xml file...
You're asked to create a plugin, but you need to go to:
AdminCP -> Plugins and Products -> Plugin Manager -> Create Plugin

Then do as Lynne says.

pigpog 08-01-2010 09:46 AM

Thanks Speysider, I've created a plugin. :up:

However, when I then go to create a post to test it, when I click on the submit button to publish the post, I get the following error:

Content Encoding Error
The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

Speysider 08-01-2010 06:48 PM

A content encoding error can happen if you are compressing the page too much. Try disabling Gzip compression in the vBulletin Options -> Server Optimisation Settings


All times are GMT. The time now is 01:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01498 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete