• My clients new blog (Camp to Campus Blog)was setup and fuctioning properly about two weeks ago. We added a live feed to the first page of her website with a RSS feed coming from her blog. Every thing worked perfectly.

    Today, I check the website and instead of displaying current blogs it is showing this error:

    XML error: junk after document element at line 233

    I checked the feed (located here) and the page displays the following error:

    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

    ——————————————————————————–

    Only one top level element is allowed in an XML document. Error processing resource ‘https://www.camptocampus.com/Teen_Overn…

    <u style=display:none>
    -^

    I am new to blogs and rss, I have not changed any code since it was functioning correctly. Any ideas or suggestions will be very helpful. I do not know what changed since it was working perfectly. Thank you in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter networksbydesign

    (@networksbydesign)

    Bump, anyone have any ideas?

    This is the only desc I found about the error:
    ——-
    8.2. ‘junk after document element’
    A well formed XML document can contain only one root element. So, for example, this would be well formed:

    <para>Paragraph 1</para>

    while this would not:

    <para>Paragraph 1</para>
    <para>Paragraph 2</para>

    ——

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    You’ve been hacked/spammed!

    At the end of your feed is something like this:

    <u style=display:none>
    <a href="https://www.elinfonet.com/banners/mc/new/t/index.php">cialis</a><a href="https://www.elinfonet.com/banners/mc/new/t/?page=1">buy cialis online</a><a href="https://www.elinfonet.com/banners/mc/new/t/?page=2">buy cialis</a>
    ...

    Look through all your files and see where this crap is getting added. Could be anywhere, but I’d check your wp-config.php file and all the other php files in the root directory first. Also check your plugin files.

    If you have shell access, run grep -r cialis * and see what it finds.

    Thread Starter networksbydesign

    (@networksbydesign)

    Thank you for your quick reply.

    After contacting our hosting company (Hostrocket) we learned that they were attacked by a spam attack that was replacing website source code with back links to “cialis” and other blogs. It started in the shared hosting boxes and have spread to some of there dedicated boxes. They are currently working to repair the problem. We have uploaded our backups and every thing seems to be working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘RSS feed not working correctly; XML error.’ is closed to new replies.