Can't retrieve data

This is my first attempt to display data. I've created landing.php in the About folder. When I try to run it, I get a 500 server error. I'm basically just adding an example on the API documentation. You can see the result at

The code (I omitted the HTML above the /div). The html by itself works fine--if I delete the php code, it brings up the screen.



$o_search=new ObjectSearch();


// dump preferred labels in all languages

while($qr_results->nextHit()) {

print_r($qr_results->get('', array('returnAllLocales' => true, 'returnAsArray' => true)))";



Sign In or Register to comment.