Bluehost.com Web Hosting $6.95

IMDB Fetch hangs within PowerMovieList for exact matches

This is a discussion on IMDB Fetch hangs within PowerMovieList for exact matches within the PHP General forums, part of the PHP Programming Forums category; Anyone use PowerMovielist here? I have the 0.14 beta version. Do you have a problem where some shows you ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-06-2008
Rilly
 
Posts: n/a
Default IMDB Fetch hangs within PowerMovieList for exact matches

Anyone use PowerMovielist here? I have the 0.14 beta version.
Do you have a problem where some shows you search for cause the fetch to hang ? I'm pulling my hair out
on this..
For example, I search for Funky, and it comes up with all the hits.. I search for Funky Phantom, and it
hangs for whatever amount of seconds i have the script maximum execution time set to, then i get this
error Fatal error: Maximum execution time of 30 seconds exceeded in fetch.php on line 167
When i try it on my shared webhost, instead it gives me a Page cannot be displayed and i then have to
wait almost a minute before i can access the site again.
If you use PowerMovieList, test with Funky Phantom and if it works.. please share your fetch script with
me!!
If I search for Funky%Phantom it works too. But other shows that are multiple words, i can put spaces in
fine
so.. i think where its hanging is on the redirect when its an exact match.. IMDB does a 302 redirect.
This is the code for exact matches:
//when you use the search-form on imdb.com and you search for a title that was
exactly found
//imdb uses a 302-found-page to redirect to the Title-page of this movie.
//if this happens, we can use this imdb-id too
if(strstr($site, "HTTP/1.0 302") || strstr($site, "HTTP/1.1 302")) { //exact match?
$out .= $GLOBALS['strExactMatch'];
ereg('\/title\/tt([0-9]+)\/', $site, $x);
$this->FetchID = $x[1]; //save the id in $FetchID
return(PML_FETCH_EXACTMATCH); //return to editentry that it can fetch now the data - search is
allready done


but i can't figure out why it hangs. I have PHP5. I've tried it on a shared webhost, a dedicated server
(which uses lighttpd and php5), and i have it installed locally using xampp.. They all do the same
thing... hang on exact matches. Is there some PHP.ini setting that I need? I have magic quotes already
set to OFF.

Rilly



--
--------------------------------- --- -- -
Posted with NewsLeecher v3.9 Beta 15
Web @ http://www.newsleecher.com/?usenet
------------------- ----- ---- -- -

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:25 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0