<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.video.videodb.devel">
    <title>gmane.comp.video.videodb.devel</title>
    <link>http://blog.gmane.org/gmane.comp.video.videodb.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3578"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3577"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3575"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3574"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3573"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3572"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3571"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3570"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3569"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3568"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3567"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3566"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3565"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3564"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3563"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3562"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3561"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3560"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3559"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.video.videodb.devel/3558"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3578">
    <title>extending capture data sets pt.2</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3578</link>
    <description>&lt;pre&gt;Hello Guys,

Ok, I have made some progress.

If I could get some help on rewriting this one bit of code, I think I
might be good.
I really like the features and this has been a great core for me to
build off of.
Thank you. Any help is greatly appreciated.

Ok, so heres what I could really really use some help with.

If I could get this bit of code here: from imbd.php

// Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A
.+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',$ary[1], $ary,
PREG_PATTERN_ORDER);
    // TODO: Update templates to use multiple directors
    $data['director']  = trim(join(', ', $ary[1]));


to read this source: from http://www.imdb.com/title/tt1403865/combined

&amp;lt;div id="director-info" class="info"&amp;gt;
        &amp;lt;h5&amp;gt;Directors:&amp;lt;/h5&amp;gt;
        &amp;lt;div class="info-content"&amp;gt;

            &amp;lt;a href="/name/nm0001053/" onclick="(new
Image()).src='/rg/directorlist/position-1/images/b.gif?link=name/nm0001053/';"&amp;gt;Ethan
Coen&amp;lt;/a&amp;gt;&amp;lt;br/&amp;gt;

            &amp;lt;a href="/name/nm0001054/" onclick="(new
Image()).src='/rg/directorlist/position-2/images/b.gif?link=name/nm0001054/';"&amp;gt;Joel
Coen&amp;lt;/a&amp;gt;&amp;lt;br/&amp;gt;

and here:

&amp;lt;h5&amp;gt;&amp;lt;a class="glossary" name="cinematographers"
href="/glossary/C#cinematographer"&amp;gt;Cinematography
by&amp;lt;/a&amp;gt;&amp;lt;/h5&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt; &amp;lt;td valign="top"&amp;gt;&amp;lt;a
href="/name/nm0005683/"&amp;gt;Roger Deakins&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td
valign="top"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td valign="top"&amp;gt;(director of photography)
&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan="4"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;&amp;lt;table
border="0" cellpadding="1" cellspacing="1"&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan="3"
align="left"&amp;gt;&amp;lt;h5&amp;gt;&amp;lt;a class="glossary" name="editors"
href="/glossary/E#editor"&amp;gt;Film Editing by&amp;lt;/a&amp;gt;&amp;lt;/h5&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt; &amp;lt;td
valign="top"&amp;gt;&amp;lt;a href="/name/nm0001053/"&amp;gt;Ethan Coen&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td
valign="top"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td valign="top"&amp;gt; (as Roderick
Jaynes)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt; &amp;lt;td valign="top"&amp;gt;&amp;lt;a href="/name/nm0001054/"&amp;gt;Joel
Coen&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td valign="top"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;td valign="top"&amp;gt; (as
Roderick Jaynes)&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td colspan="4"&amp;gt;&amp;amp;nbsp;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;


I am not a programmer by any stretch of the imagination, but I am
pretty good at hacking away at things - I just can't seem to figure
out the proper syntax to make this work...

Thanx!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
&lt;/pre&gt;</description>
    <dc:creator>James LaViola</dc:creator>
    <dc:date>2012-05-17T10:31:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3577">
    <title>(no subject)</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3577</link>
    <description>&lt;pre&gt;http://forexkarma.net/wp-content/plugins/extended-comment-options/site.php?market143.jpg

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
&lt;/pre&gt;</description>
    <dc:creator>Jonah Grant-Scarfe</dc:creator>
    <dc:date>2012-04-23T18:51:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3575">
    <title>Serbian translation</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3575</link>
    <description>&lt;pre&gt;Just updated Serbian translation

&lt;/pre&gt;</description>
    <dc:creator>Petar Benke</dc:creator>
    <dc:date>2012-03-23T07:21:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3574">
    <title>[ videodb-Bugs-3484626 ] Notice: Undefinedvariable: permissions in functions.php</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3574</link>
    <description>&lt;pre&gt;Bugs item #3484626, was opened at 2012-02-05 04:58
Message generated for change (Comment added) made by jpasher
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 1
Private: No
Submitted By: John Guy (johnguy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Notice: Undefined variable: permissions in functions.php

Initial Comment:
Hi

I was making some changes to my local copy of your site (version 3.1.0) and I turned on error reporting, I got an unexpected messages from the functions.php file...

Notice: Undefined variable: permissions in C:\xampp\htdocs\froggit.local\core\functions.php on line 737

I have checked the code and it appears to be the line...

       $permissions |= $_SESSION['vdb']['permissions']['all'];

I understand that this line is checking that the permissions are either correct for the user or set as 'all'. however I can not find any other reference in the sites code to a variable called $permissions so how is this variable being populated? Is it safe to comment out the references to $permissions in the functions.php file to stop the warnings or am I missing something?

Thanks for your help I am new to php coding and want to understand how this works,

:0)




----------------------------------------------------------------------

Comment By: Justin Pasher (jpasher)
Date: 2012-02-19 20:23

Message:
Just to offer up my two cents (it's been quite a few years since I last
messed around with the VideoDB code).

If you look at the surrounding code, the line in question doesn't even make
sense. It's the first assignment of $permissions within the function, and
it's trying to OR it with itself (meaning it will always be 0 ||
$_SESSION['vdb']['permissions']['all']. Changing it to a straight
assignment corrects the notice and keep the same functionality.

My personal opinion on PHP notices is that code should NEVER spit out any
PHP notices. If it does, it's a sign of improper error checking and/or
variable initialization, which is a bad programming habit to get into. It
can also lead to unexpected results in some situations (for example, a
misspelled variable name).

Turning off PHP error reporting in a production environment is another
story, but this situation is different.

----------------------------------------------------------------------

Comment By: roland obermayer (robelix)
Date: 2012-02-18 13:08

Message:
Well, it's just a notice. And I really wonder that this is the only one.

The usal setting for error_reporting is: E_ALL &amp;amp; ~E_NOTICE or you will
often get flooded with notices.
Or turn off display_errors an turn on log_errors - then only the log gets
flooded.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-20T04:23:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3573">
    <title>[ videodb-Bugs-3480584 ] getting open_basedirwarning</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3573</link>
    <description>&lt;pre&gt;Bugs item #3480584, was opened at 2012-01-27 08:17
Message generated for change (Comment added) made by robelix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Priority: 5
Private: No
Submitted By: Jaime Leon (jaimeleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: getting open_basedir warning

Initial Comment:
In trying to install videodb under several free hosting accounts, I get the following warnings for every cover and actor thumbnail that is displayed:

Warning: is_link() [function.is-link]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/videodb/cache/img/0/00d38646b2aef42e28df8e0609bdb621.jpg) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1054

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1065

I have seen in a very old post that the recommended action is to insert the missing directory into the open_basedir path.  However, this is not feasible in a free hosting accounts as they won't give you root access,  I do observe that the offending php script is phpthumb.class.php, and since the covers and actors thumbnails are actually displayed by videodb after the warning, it would seem that access to the unauthorized location is not really needed.

Can someone please fix phpthumb.class.php ???

Thanks, Jaime



----------------------------------------------------------------------

Date: 2012-02-18 13:22

Message:
Add the cache directory to the open_basedir.
Or have the cache in your home.

It has to read and write files there, if this is blocked by open_basedir it
cannot work.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:33

Message:
Hello.  I went ahead and commented out in phpthumb.class.php the sections
of code that generated the warning messages.  The warnings disappeared and
the thumbnails are still being displayed without any apparent problem. 
Videodb is now running well in a free hosting account without any warnings.
 

I would agree that this is not a very elegant solution.  I am also pretty
sure I broke the class file for general use, but at least for videodb
purposes, it appears to have worked for me. YES!

Regards, Jaime


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-18T21:22:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3572">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3572</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Settings changed) made by robelix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: roland obermayer (robelix)
Date: 2012-02-18 12:57

Message:
All these fixes and a few additional ones are in CVS

Thanks guys
sorry, that it took so long

robelix

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 14:00

Message:
This appears to get the genres as well...

    // Genres (as Array)
    preg_match('/Genres:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Genres?\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    foreach($ary[1] as $genre)
    {
        $data['genres'][] = trim($genre);
    }

Regards

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 12:57

Message:
Taking the lead from Jaime I noticed the following will fix the language
issue...

    // Languages
    preg_match_all('/&amp;lt;A .+?HREF="\/Language\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$resp['data'], $ary, PREG_PATTERN_ORDER);
    $data['language'] = trim(strtolower(join(', ', $ary[1])));

Regards

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-18T21:09:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3571">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3571</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Settings changed) made by robelix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: roland obermayer (robelix)
Date: 2012-02-18 12:57

Message:
All these fixes and a few additional ones are in CVS

Thanks guys
sorry, that it took so long

robelix

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 14:00

Message:
This appears to get the genres as well...

    // Genres (as Array)
    preg_match('/Genres:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Genres?\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    foreach($ary[1] as $genre)
    {
        $data['genres'][] = trim($genre);
    }

Regards

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 12:57

Message:
Taking the lead from Jaime I noticed the following will fix the language
issue...

    // Languages
    preg_match_all('/&amp;lt;A .+?HREF="\/Language\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$resp['data'], $ary, PREG_PATTERN_ORDER);
    $data['language'] = trim(strtolower(join(', ', $ary[1])));

Regards

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-18T21:09:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3570">
    <title>[ videodb-Bugs-3484626 ] Notice: Undefinedvariable: permissions in functions.php</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3570</link>
    <description>&lt;pre&gt;Bugs item #3484626, was opened at 2012-02-05 04:58
Message generated for change (Comment added) made by robelix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Private: No
Submitted By: John Guy (johnguy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Notice: Undefined variable: permissions in functions.php

Initial Comment:
Hi

I was making some changes to my local copy of your site (version 3.1.0) and I turned on error reporting, I got an unexpected messages from the functions.php file...

Notice: Undefined variable: permissions in C:\xampp\htdocs\froggit.local\core\functions.php on line 737

I have checked the code and it appears to be the line...

       $permissions |= $_SESSION['vdb']['permissions']['all'];

I understand that this line is checking that the permissions are either correct for the user or set as 'all'. however I can not find any other reference in the sites code to a variable called $permissions so how is this variable being populated? Is it safe to comment out the references to $permissions in the functions.php file to stop the warnings or am I missing something?

Thanks for your help I am new to php coding and want to understand how this works,

:0)




----------------------------------------------------------------------

Date: 2012-02-18 13:08

Message:
Well, it's just a notice. And I really wonder that this is the only one.

The usal setting for error_reporting is: E_ALL &amp;amp; ~E_NOTICE or you will
often get flooded with notices.
Or turn off display_errors an turn on log_errors - then only the log gets
flooded.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-18T21:08:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3569">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3569</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by robelix
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Date: 2012-02-18 12:57

Message:
All these fixes and a few additional ones are in CVS

Thanks guys
sorry, that it took so long

robelix

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 14:00

Message:
This appears to get the genres as well...

    // Genres (as Array)
    preg_match('/Genres:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Genres?\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    foreach($ary[1] as $genre)
    {
        $data['genres'][] = trim($genre);
    }

Regards

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 12:57

Message:
Taking the lead from Jaime I noticed the following will fix the language
issue...

    // Languages
    preg_match_all('/&amp;lt;A .+?HREF="\/Language\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$resp['data'], $ary, PREG_PATTERN_ORDER);
    $data['language'] = trim(strtolower(join(', ', $ary[1])));

Regards

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Virtualization &amp;amp; Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-18T20:57:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3568">
    <title>[ videodb-Bugs-3484626 ] Notice: Undefinedvariable: permissions in functions.php</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3568</link>
    <description>&lt;pre&gt;Bugs item #3484626, was opened at 2012-02-05 04:58
Message generated for change (Tracker Item Submitted) made by johnguy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: John Guy (johnguy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Notice: Undefined variable: permissions in functions.php

Initial Comment:
Hi

I was making some changes to my local copy of your site (version 3.1.0) and I turned on error reporting, I got an unexpected messages from the functions.php file...

Notice: Undefined variable: permissions in C:\xampp\htdocs\froggit.local\core\functions.php on line 737

I have checked the code and it appears to be the line...

       $permissions |= $_SESSION['vdb']['permissions']['all'];

I understand that this line is checking that the permissions are either correct for the user or set as 'all'. however I can not find any other reference in the sites code to a variable called $permissions so how is this variable being populated? Is it safe to comment out the references to $permissions in the functions.php file to stop the warnings or am I missing something?

Thanks for your help I am new to php coding and want to understand how this works,

:0)




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3484626&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-02-05T12:58:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3567">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3567</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by johnguy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 14:00

Message:
This appears to get the genres as well...

    // Genres (as Array)
    preg_match('/Genres:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Genres?\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    foreach($ary[1] as $genre)
    {
        $data['genres'][] = trim($genre);
    }

Regards

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 12:57

Message:
Taking the lead from Jaime I noticed the following will fix the language
issue...

    // Languages
    preg_match_all('/&amp;lt;A .+?HREF="\/Language\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$resp['data'], $ary, PREG_PATTERN_ORDER);
    $data['language'] = trim(strtolower(join(', ', $ary[1])));

Regards

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-31T22:00:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3566">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3566</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by johnguy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: John Guy (johnguy)
Date: 2012-01-31 12:57

Message:
Taking the lead from Jaime I noticed the following will fix the language
issue...

    // Languages
    preg_match_all('/&amp;lt;A .+?HREF="\/Language\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$resp['data'], $ary, PREG_PATTERN_ORDER);
    $data['language'] = trim(strtolower(join(', ', $ary[1])));

Regards

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-31T20:57:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3565">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3565</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by jbjoret
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: J.B. (jbjoret)
Date: 2012-01-30 14:25

Message:
It would be nice to have an official fix for this, this is really bothering
to have to enter the data manually. I made the changes with jaime's fix,
but then I get some strange ???? characters on the top of my screen. Anyway
a fix would be very appreciated.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-30T22:25:43</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3564">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3564</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by jaimeleon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:41

Message:
The changes that worked for me in imdb.php were:

 // Director
    preg_match('/&amp;lt;h4
class="inline"&amp;gt;\s*Directors?:\s*&amp;lt;\/h4&amp;gt;(.*?)&amp;lt;\/div&amp;gt;/si', $resp['data'],
$ary);
    preg_match_all('/&amp;lt;A .+?href="\/Name[?\/].+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);

 // Countries
    preg_match('/Country:&amp;lt;\/h4&amp;gt;(.+?)&amp;lt;\/div&amp;gt;/si', $resp['data'], $ary);
    preg_match_all('/&amp;lt;A .+?HREF="\/Country\/.+?"\s*?&amp;gt;(.+?)&amp;lt;\/A&amp;gt;/si',
$ary[1], $ary, PREG_PATTERN_ORDER);
    $data['country'] = trim(join(', ', $ary[1]));

Regards, Jaime


----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-30T15:41:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3563">
    <title>[ videodb-Bugs-3480584 ] getting open_basedirwarning</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3563</link>
    <description>&lt;pre&gt;Bugs item #3480584, was opened at 2012-01-27 08:17
Message generated for change (Comment added) made by jaimeleon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jaime Leon (jaimeleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: getting open_basedir warning

Initial Comment:
In trying to install videodb under several free hosting accounts, I get the following warnings for every cover and actor thumbnail that is displayed:

Warning: is_link() [function.is-link]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/videodb/cache/img/0/00d38646b2aef42e28df8e0609bdb621.jpg) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1054

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1065

I have seen in a very old post that the recommended action is to insert the missing directory into the open_basedir path.  However, this is not feasible in a free hosting accounts as they won't give you root access,  I do observe that the offending php script is phpthumb.class.php, and since the covers and actors thumbnails are actually displayed by videodb after the warning, it would seem that access to the unauthorized location is not really needed.

Can someone please fix phpthumb.class.php ???

Thanks, Jaime



----------------------------------------------------------------------

Date: 2012-01-30 07:33

Message:
Hello.  I went ahead and commented out in phpthumb.class.php the sections
of code that generated the warning messages.  The warnings disappeared and
the thumbnails are still being displayed without any apparent problem. 
Videodb is now running well in a free hosting account without any warnings.
 

I would agree that this is not a very elegant solution.  I am also pretty
sure I broke the class file for general use, but at least for videodb
purposes, it appears to have worked for me. YES!

Regards, Jaime


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-30T15:33:39</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3562">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3562</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by jaimeleon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: Jaime Leon (jaimeleon)
Date: 2012-01-30 07:22

Message:
Hello.  I am not a php programmer nor a videodb developer, but I can kinda
follow the code.  Looking at the imdb.com html output, I was able to figure
out the small change needed for imdb.php to again pickup the director's
name and the countries.

If interested, here you can get the modified files:
http://dl.dropbox.com/u/40885167/imdb.php

Regards, Jaime


----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-30T15:22:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3561">
    <title>[ videodb-Bugs-3480584 ] getting open_basedirwarning</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3561</link>
    <description>&lt;pre&gt;Bugs item #3480584, was opened at 2012-01-27 08:17
Message generated for change (Tracker Item Submitted) made by jaimeleon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jaime Leon (jaimeleon)
Assigned to: Nobody/Anonymous (nobody)
Summary: getting open_basedir warning

Initial Comment:
In trying to install videodb under several free hosting accounts, I get the following warnings for every cover and actor thumbnail that is displayed:

Warning: is_link() [function.is-link]: open_basedir restriction in effect. File(/usr/local/apache/htdocs/videodb/cache/img/0/00d38646b2aef42e28df8e0609bdb621.jpg) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1054

Warning: realpath() [function.realpath]: open_basedir restriction in effect. File(/usr/local/apache/htdocs) is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/u259573988/public_html/videodb/lib/phpthumb/phpthumb.class.php on line 1065

I have seen in a very old post that the recommended action is to insert the missing directory into the open_basedir path.  However, this is not feasible in a free hosting accounts as they won't give you root access,  I do observe that the offending php script is phpthumb.class.php, and since the covers and actors thumbnails are actually displayed by videodb after the warning, it would seem that access to the unauthorized location is not really needed.

Can someone please fix phpthumb.class.php ???

Thanks, Jaime



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3480584&amp;amp;group_id=88349

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-27T16:17:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3560">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3560</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Comment added) made by danskillz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

Comment By: dan (danskillz)
Date: 2012-01-10 11:53

Message:
the genre of the movie as well as the language are also not fetched
anymore...

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-10T19:53:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3559">
    <title>[ videodb-Bugs-3471821 ] IMDB doesn't fetchdirector and country</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3559</link>
    <description>&lt;pre&gt;Bugs item #3471821, was opened at 2012-01-10 03:17
Message generated for change (Tracker Item Submitted) made by legrostdg
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: engines
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Felix Sipma (legrostdg)
Assigned to: Nobody/Anonymous (nobody)
Summary: IMDB doesn't fetch director and country

Initial Comment:
Using latest version from CVS, the Imdb engine does not save director and country.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3471821&amp;amp;group_id=88349

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2012-01-10T11:17:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3558">
    <title>[ videodb-Bugs-3445289 ] Amazon search returns noresults</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3558</link>
    <description>&lt;pre&gt;Bugs item #3445289, was opened at 2011-11-29 08:03
Message generated for change (Tracker Item Submitted) made by mdayah
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3445289&amp;amp;group_id=88349

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lucent (mdayah)
Assigned to: Nobody/Anonymous (nobody)
Summary: Amazon search returns no results

Initial Comment:
The Amazon search engine (amazoncom) no longer returns results for any search query. Using latest CVS.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&amp;amp;atid=586362&amp;amp;aid=3445289&amp;amp;group_id=88349

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
&lt;/pre&gt;</description>
    <dc:creator>SourceForge.net</dc:creator>
    <dc:date>2011-11-29T16:03:10</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.video.videodb.devel/3557">
    <title>Searching new dvds with Amazon AWS doesn't work</title>
    <link>http://comments.gmane.org/gmane.comp.video.videodb.devel/3557</link>
    <description>&lt;pre&gt;Hi !


Searching new dvds with Amazon AWS doesn't work.

I get only the message "nothing found".


Dirk


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
&lt;/pre&gt;</description>
    <dc:creator>Dirk Vornheder</dc:creator>
    <dc:date>2011-11-25T18:41:19</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.video.videodb.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.video.videodb.devel</link>
  </textinput>
</rdf:RDF>

