<div dir="ltr">2008/3/31 Steve Cliffe <span dir="ltr"><<a href="mailto:scliffe@gmail.com">scliffe@gmail.com</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 19/03/2008, <b class="gmail_sendername">Michael Costa</b> <<a href="mailto:mcosta1973@gmail.com" target="_blank">mcosta1973@gmail.com</a>> wrote:</div><div><div class="Ih2E3d"><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It didn't work for me either originally. <br>The problem was in the <span name="st">imdb</span>.php file. The $<span name="st">imdb</span> and $imdbwebtype variables were not being set for some reason. The hostname was set correctly, but <span><br>
setting</span><span>(</span><span>'web_video_imdb_path'</span><span>,</span><span> </span><span>hostname</span><span>);<br>
and </span><br> <span></span><span>setting</span><span>(</span><span>'web_video_imdb_type'</span><span>,</span><span> </span><span>hostname</span><span>);<br>
<br>both returned nothing. I manually checked those settings in the db and on video settings page and they are entered correctly. Not sure why the script can't read those variables, so I just hard-coded the values that should be there and the script worked fine after that.</span></blockquote>
</div><div><br><br>Thanks Michael - I had the same problem and resorted to your solution.<br><br>Steve. <br></div><br></div><br>
</blockquote></div><br>I recently did an update to the latest atrpm packages and it looks as though this is still broken. Rather than just make the same change I dug a bit deeper and discovered that while these two settings show up in the MythWeb settings they weren't actually in the MySQL settings table. <br>
<br>I simply clicked on "Save" in MythWeb's settings and viola, they now appear in the database and the IMDB button works.<br><br>Steve.<br></div>