Fixed  "Preview News Feed" reports back "Uncaught Error"

Only if the feed ends in /feed

I'm successful if it ends in a number or rss.

Take that back, there is no rhyme or reason to what worked or didn't work.
 
Thus far, every feed has worked for me. Can you turn on debug mode and possibly use FireBug to see if there's a better error?
 
library/XenForo/Model/Feed.php, look for:

Code:
			if (!empty($entryData['date_modified']) && is_a($entryData['date_modified'], 'Zend_Date'))

Replace with:

Code:
			if (!empty($entryData['date_modified']) && $entryData['date_modified'] instanceof Zend_Date)
 
Awesome thanks to Trombones for pointing this out and Mike for being a genius :-)
Everything is working now on rc1 for feeds for me. Cool.
 
I applied the fix code and the import worked... 4 different threads were started but all returned this error when I clicked on them...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@dieselevents.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I am at a loss as where to look to fix this problem...
 
Top Bottom