Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-12-2016, 10:33 AM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 05-13-2016, 01:55 PM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump. I've had absolutely no luck with this.
Reply With Quote
  #3  
Old 05-13-2016, 02:54 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #4  
Old 05-13-2016, 10:28 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I get a database error on that link (every time).
Reply With Quote
  #5  
Old 05-14-2016, 02:11 AM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
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 View Post
I get a database error on that link (every time).
Which is odd, because the other RSS feed links just come up blank.
Reply With Quote
  #6  
Old 05-14-2016, 12:48 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database errors should be sent to the email defined in your /includes/config.php file.
Reply With Quote
  #7  
Old 05-15-2016, 01:34 AM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
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 View Post
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 :
Reply With Quote
  #8  
Old 05-17-2016, 11:42 AM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump.
Reply With Quote
  #9  
Old 05-17-2016, 02:32 PM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #10  
Old 05-20-2016, 03:16 AM
Inked_Mono Inked_Mono is offline
 
Join Date: Jan 2015
Location: Canada
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by squidsk View Post
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?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:07 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05033 seconds
  • Memory Usage 2,257KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete