vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   RSS Feed - XML Error: Undeclared entity warning at line 53 (https://vborg.vbsupport.ru/showthread.php?t=322615)

Inked_Mono 05-12-2016 10:33 AM

RSS Feed - XML Error: Undeclared entity warning at line 53
 
I've been trying to figure this RSS feed out for quite awhile now, and I seem to be getting absolutely nowhere. I've tried everything and I can think of, and I've made absolutely no progress. Here's hoping someone can help.

When using an RSS feed URL (http://vb-dev.os-scape.com/external....SS2&forumids=5), which by the way, for whatever reason seems to show absolutely nothing in both Firefox and Chrome [outside of the occasional database error]), I get this error on the feeder:

http://i.imgur.com/sJ8qHia.png

These are my current RSS settings:

http://i.imgur.com/HSd3IGm.png


What am I doing wrong here?

Inked_Mono 05-13-2016 01:55 PM

Bump. I've had absolutely no luck with this.

Dave 05-13-2016 02:54 PM

The undeclared entity warning is caused by bad syntax in the XML file.
Database error shouldn't happen in the first place, can you paste the database error here?

Paul M 05-13-2016 10:28 PM

I get a database error on that link (every time).

Inked_Mono 05-14-2016 02:11 AM

Quote:

Originally Posted by Dave (Post 2570690)
The undeclared entity warning is caused by bad syntax in the XML file.
Database error shouldn't happen in the first place, can you paste the database error here?

Do you know where I would go about finding the database error? I'd be happy to post it.

The pictures shown are all of the information I have at the moment.

Quote:

Originally Posted by Paul M (Post 2570733)
I get a database error on that link (every time).

Which is odd, because the other RSS feed links just come up blank.

Dave 05-14-2016 12:48 PM

Database errors should be sent to the email defined in your /includes/config.php file.

Inked_Mono 05-15-2016 01:34 AM

Quote:

Originally Posted by Dave (Post 2570690)
The undeclared entity warning is caused by bad syntax in the XML file.
Database error shouldn't happen in the first place, can you paste the database error here?

Quote:

Originally Posted by Dave (Post 2570768)
Database errors should be sent to the email defined in your /includes/config.php file.

Thank you! The error reads as the following:

Code:

Database error in vBulletin 4.2.2:

Invalid SQL:

    SELECT COUNT(*) AS thread_count
    FROM thread AS thread
    where postuserid =;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
Error Number  : 1064
Request Date  : Saturday, May 14th 2016 @ 08:33:38 PM
Error Date    : Saturday, May 14th 2016 @ 08:33:38 PM
Script        : http://vb-dev.os-scape.com/external.php?type=RSS2&forumids=5
Referrer      :
IP Address    : 24.64.44.202
Username      : Unregistered
Classname    : vB_Database_MySQLi
MySQL Version :


Inked_Mono 05-17-2016 11:42 AM

Bump.

squidsk 05-17-2016 02:32 PM

I took a look at the code in external.php and that query is not in stock vbulletin. Check your plugins for any that are on hooks in external.php:
  • external_start
  • external_type
  • external_query
  • external_complete

If there are none on those hook locations, start looking through plugins on global locations to see if there are plugins that should not be running on rss feeds.

Inked_Mono 05-20-2016 03:16 AM

Quote:

Originally Posted by squidsk (Post 2570961)
I took a look at the code in external.php and that query is not in stock vbulletin. Check your plugins for any that are on hooks in external.php:
  • external_start
  • external_type
  • external_query
  • external_complete

If there are none on those hook locations, start looking through plugins on global locations to see if there are plugins that should not be running on rss feeds.

Would a quick way to circumvent the necessary checks be to disable all current plugins and see if it makes a difference?


All times are GMT. The time now is 01:14 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.01030 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete