WordPress Business Themes › Forums › Version 7 Themes › DirectoryPress › Youtube/Video
not sure why but when i add youtube video link in the youtube custom field i get a 500 Internal Server Error when trying to view the listing.
any ideas ?
something to do in this function causes it to happen
narrowed it down to this line in the Youtube class
$this->_feed = (Object) simplexml_load_file( $this->_feed_url );
commented it out
the page worked
uncommented the line
doesnt work again
the page randomly sometimes works with the video other times it just gives the 500 Internal Server Error.
if i comment out that line it works all the time but no there will be no video for the page
i would guess your hosting setup doesnt support simplexml_load_file so it causes a 500 error.
contact your hosting to ensure they suport the PHP function simplexml_load_file
you can use a very good plugin of Richard Bonk.
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team