It looks like curl isn't connecting to stuff right. Can you make a
page that just uses curl to get some other page and display it (or
your status code)?
If it's not working in a general sense... well, try curl from the
command line and see what happens. If there's no love there, you'll
need to talk you your sysadmin and figure out what's going on.
-n
On Wed, Dec 10, 2008 at 10:53 AM, Bin Zhang <[log in to unmask]> wrote:
> Hi,
>
>
>
> We have a local application that searches and plays youtube videos using the Services_YouTube module. It has been working fine, until we upgraded ubuntu to hardy. Here is the error:
>
>
> Fatal error: Uncaught <table border="1" cellspacing="0"> <tr><td colspan="3" bgcolor="#ff9999"> <b>Services_YouTube_Exception</b>: Curl returned non-null errno 26:Failed to open/read local data from file/application in <b>/usr/share/php/Services/YouTube.php</b> on line <b>310</b></td></tr> <tr><td colspan="3" bgcolor="#aaaaaa" align="center"><b>Exception trace</b></td></tr> <tr><td align="center" bgcolor="#cccccc" width="20"><b>#</b></td><td align="center" bgcolor="#cccccc"><b>Function</b></td><td align="center" bgcolor="#cccccc"><b>Location</b></td></tr> <tr><td align="center">0</td><td>Services_YouTube->useRest('youtube.videos.l…', Array)</td><td>/usr/share/php/Services/YouTube.php:310</td></tr> <tr><td align="center">1</td><td>Services_YouTube->sendRequest('youtube.videos.', 'list_by_tag', Array)</td><td>/usr/share/php/Services/YouTube.php:252</td></tr> <tr><td align="center">2</td><td>Services_YouTube->listByTag('obama')</td><td>/data/www/locus/YouTubeAPI.class.php:132</td></tr> <tr><td align="center">3</td><td in /usr/share/php/Services/YouTube.php on line 354
>
>
>
> Has anyone seen this or know what could be done to fix?
>
>
>
> Thanks!
>
>
>
> Bin Zhang
>
> Digital Information Services Librarian
>
> Library Systems & Information Technology Services
>
> California State University, Sacramento
>
> 2000 State University Drive, East, Sacramento, CA 95819-6039
>
> +1 916 278-5664 (office); +1 916 278-3891 (fax)
>
> [log in to unmask]
>
>
>
>
>
>
>
>
|