1 (edited by lament 2005-10-04 22:01)

Topic: extern.php not outputting discussions after 1.2.8 update

1.2.7 and previous, this was working fine:

<?php 

$curl_handle = curl_init();
// Where should we get the data?
curl_setopt ($curl_handle, CURLOPT_URL, 'http://www.sadreminders.com/interaction/extern.php?action=active');
// This says not to dump it directly to the output stream, but instead
// have it return as a string.
curl_setopt ($curl_handle, CURLOPT_RETURNTRANSFER, 1);
// the following is optional, but you should consider setting it
// anyway. It prevents your page from hanging if the remote site is
// down.
curl_setopt ($curl_handle, CURLOPT_CONNECTTIMEOUT, 1);
// Now, YOU make the call.
$buffer = curl_exec($curl_handle);
// And tell it to shut down (when your done. You can always make more
// calls if you want.)
curl_close($curl_handle);
// This is where i?d probably do some extra checks on what i just got.
// Paranoia pays dividends.
print $buffer;

?>

it's not outputting the discussions anymore.

any ideas? thanks!

Re: extern.php not outputting discussions after 1.2.8 update

I don't think extern.php was changed in the upgrade, so I don't think that's the issue

3 (edited by lament 2005-10-04 22:56)

Re: extern.php not outputting discussions after 1.2.8 update

it's intermittently showing my guests/users as well.

http://www.sadreminders.com (left side)

the forum is zippy, but the front page stalls when trying to pull the info.

update: must've been timing out, as all is well now!