home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Webinterface plugin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="catch-22" data-source="post: 17992"><p>I am new to Media Portal, but I'd like remote (web) access to the tv schedule. So I was playing around with apache/php/sqlite3 to gain access to the db. </p><p></p><p>But I'm kinda lost right now since apache won't load the pdo modules. Apache gives a warning saying: </p><p></p><p>"PHP Startup: Unable to load dynamic library 'c:\wamp\php5\ext\php_pdo.dll' - The specified procedure could not be found."</p><p></p><p>and</p><p></p><p>"PHP Startup: Unable to load dynamic library 'c:\wamp\php5\ext\php_pdo_sqlite.dll'- The specified procedure could not be found."</p><p></p><p>The required dll's (php_pdo.dll and php_pdo_sqlite.dll) are to be found in the correct directory (c:\wamp\php5\ext). And I have no problem loading non-pdo modules (no extensive testing though). </p><p></p><p>Apache: 2.0.44 (win32)</p><p>PHP: 5.1.0b3 (win32)</p><p></p><p>httpd.conf</p><p>---------</p><p>LoadModule php5_module "c:/wamp/php5/php5apache2.dll"</p><p>AddType application/x-httpd-php .php</p><p>PHPIniDir "c:/wamp/php5"</p><p></p><p>php.ini</p><p>--------</p><p>extension_dir = c:\wamp\php5\ext</p><p>extension=php_pdo.dll</p><p>extension=php_pdo_sqlite.dll</p><p></p><p>Furthermore I've tried removing all access restrictions from relevant directories and changing "\" to "/" in various paths.</p><p></p><p>Used script below to access the db:</p><p></p><p><?php</p><p> //Check pdo drivers</p><p> print_r(pdo_drivers());</p><p></p><p> // Open database</p><p> $db = sqlite_open("TVDatabaseV21.db3");</p><p> </p><p> // simple select</p><p> $result = sqlite_query($db, "select strChannel from channel");</p><p></p><p> // grab each row as an array </p><p> while ($row = sqlite_fetch_array($result)) {</p><p> print_r($row); }</p><p></p><p> // close the database</p><p> sqlite_close($db);</p><p>?></p><p></p><p>print_r(pdo_drivers()); returns "Array ( [0] => sqlite2 ) ". Using TVDatabaseV18.db from MP releae 1.2.0 works ok.</p><p></p><p>Never meant this to be such an extensive post, but anybody out there who can point me in the right direction? Doesn't have to be apache + php, other websolutions are ok with me.</p></blockquote><p></p>
[QUOTE="catch-22, post: 17992"] I am new to Media Portal, but I'd like remote (web) access to the tv schedule. So I was playing around with apache/php/sqlite3 to gain access to the db. But I'm kinda lost right now since apache won't load the pdo modules. Apache gives a warning saying: "PHP Startup: Unable to load dynamic library 'c:\wamp\php5\ext\php_pdo.dll' - The specified procedure could not be found." and "PHP Startup: Unable to load dynamic library 'c:\wamp\php5\ext\php_pdo_sqlite.dll'- The specified procedure could not be found." The required dll's (php_pdo.dll and php_pdo_sqlite.dll) are to be found in the correct directory (c:\wamp\php5\ext). And I have no problem loading non-pdo modules (no extensive testing though). Apache: 2.0.44 (win32) PHP: 5.1.0b3 (win32) httpd.conf --------- LoadModule php5_module "c:/wamp/php5/php5apache2.dll" AddType application/x-httpd-php .php PHPIniDir "c:/wamp/php5" php.ini -------- extension_dir = c:\wamp\php5\ext extension=php_pdo.dll extension=php_pdo_sqlite.dll Furthermore I've tried removing all access restrictions from relevant directories and changing "\" to "/" in various paths. Used script below to access the db: <?php //Check pdo drivers print_r(pdo_drivers()); // Open database $db = sqlite_open("TVDatabaseV21.db3"); // simple select $result = sqlite_query($db, "select strChannel from channel"); // grab each row as an array while ($row = sqlite_fetch_array($result)) { print_r($row); } // close the database sqlite_close($db); ?> print_r(pdo_drivers()); returns "Array ( [0] => sqlite2 ) ". Using TVDatabaseV18.db from MP releae 1.2.0 works ok. Never meant this to be such an extensive post, but anybody out there who can point me in the right direction? Doesn't have to be apache + php, other websolutions are ok with me. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Webinterface plugin
Contact us
RSS
Top
Bottom