Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - RSS Feeds error after move to Wiz
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RSS Feeds error after move to Wiz

 Post Reply Post Reply Page  12>
Author
supertramp View Drop Down
Newbie
Newbie


Joined: 01 May 2006
Location: Australia
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote supertramp Quote  Post ReplyReply Direct Link To This Post Topic: RSS Feeds error after move to Wiz
    Posted: 19 November 2008 at 7:22pm
After moving our site to Wiz Hosting platform RSS Feeds has ceases to function.

The following error occurs.

XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.supertramp.com.au/forum/RSS_topic_feed.asp
Line Number 2, Column 1:<?xml version="1.0" encoding="utf-8" ?>
^

Was all okay before the move and there has been no edit of the files.


Back to Top
supertramp View Drop Down
Newbie
Newbie


Joined: 01 May 2006
Location: Australia
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote supertramp Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2008 at 7:33pm
I just looked at the file code and the declaration comes first.

<?xml version="1.0" encoding="<% = strPageEncoding %>" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.net/rss_namespace/">
 <channel>


Looking at the web page code it is reveresed

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.net/rss_namespace/">
<channel>


Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2008 at 8:00pm
You should raise a support ticket for this - it may be something to do with the setup or some simple mistake that can be easily rectified
Back to Top
supertramp View Drop Down
Newbie
Newbie


Joined: 01 May 2006
Location: Australia
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote supertramp Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2008 at 8:23pm
Thanks.

Thought that I would try here first. Been giving Bruce a hard time with the databases. Wink
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2008 at 9:57am
The problem has now been fixed for you.

The issue was that you added the following code into the database_connection.asp file:-

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

This then coursed the RSS Feeds to not work, as XML is very strict on page declaration which this extra code broke.

I have removed this extra code for you and instead change the character encoding from UTF-8 to iso-8859-1 in the includes/setup_options_inc.asp file. This has fixed the issue with your RSS Feeds not displaying whilst still allowing the content in your forum to use the  iso-8859-1 page encoding.
Back to Top
supertramp View Drop Down
Newbie
Newbie


Joined: 01 May 2006
Location: Australia
Status: Offline
Points: 25
Post Options Post Options   Thanks (0) Thanks(0)   Quote supertramp Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2008 at 6:37pm
I recently changed my editor to Ultra Edit. It adds the charset meta in automatically if it's not there. Bugger will have to see how to turn that off.

Funny was never an issue on my old platform, which goes to show that their servers aren't doing the job right.

Thanks Bruce.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 7:44am
I use UltraEditt everyday and have never seen this action. Didn't even know it could do this, but probably best of disabling it as often you don't want extra meta tags placed in as they can course all sorts of issues with browsers incorrectly rendering both XML and HTML pages.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2008 at 6:58pm
I prefer Araneae - best of all its FREE and Ultra Edit I'm sure is GREAT but like evrything else takes getting used to
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.