Menu

#8 Install script cannot run

v 1.4
open
nobody
None
5
2016-12-02
2015-01-08
timlegrand
No

Milestone is 2.1, but same problem appears for older versions.

Hi, I am following the installation guidelines provided in the HowTo.txt.
Unfortunately, even though I successfully integration the "extension" directory in the phpLicenseWatcher directory, I can get the "install link" on the index page.
It may be due to the fact that even the 'install.php' file itself cannot run, since I get an error when I try to execute the script (DB.php is missing, see below).

Here is the result of the "php install.php" command:

PHP Warning: require_once(DB.php): failed to open stream: No such file or directory in /var/www/phplicensewatcher/extension/install.php on line 6
PHP Fatal error: require_once(): Failed opening required 'DB.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/phplicensewatcher/extension/install.php on line 6

What is this file, where should it be located and how/where can I get it to make the extension install properly?

Thanks

Related

Bugs: #8

Discussion

  • Stefan Gassner

    Stefan Gassner - 2015-01-08

    You need to install the pear:DB package.
    http://pear.php.net/package/DB

    Best regards,
    Stefan
    On 8 Jan 2015 13:32, "timlegrand" timlegrand@users.sf.net wrote:


    Status: open
    Group: v 1.4
    Created: Thu Jan 08, 2015 12:32 PM UTC by timlegrand
    Last Updated: Thu Jan 08, 2015 12:32 PM UTC
    Owner: nobody

    Milestone is 2.1, but same problem appears for older versions.

    Hi, I am following the installation guidelines provided in the HowTo.txt.
    Unfortunately, even though I successfully integration the "extension"
    directory in the phpLicenseWatcher directory, I can get the "install link"
    on the index page.
    It may be due to the fact that even the 'install.php' file itself cannot
    run, since I get an error when I try to execute the script (DB.php is
    missing, see below).

    Here is the result of the "php install.php" command:

    PHP Warning: require_once(DB.php): failed to open stream: No such file or
    directory in /var/www/phplicensewatcher/extension/install.php on line 6
    PHP Fatal error: require_once(): Failed opening required 'DB.php'
    (include_path='.:/usr/share/php:/usr/share/pear') in
    /var/www/phplicensewatcher/extension/install.php on line 6

    What is this file, where should it be located and how/where can I get it
    to make the extension install properly?

    Thanks

    Sent from sourceforge.net because you indicated interest in
    https://sourceforge.net/p/phplwextension/bugs/8/

    To unsubscribe from further messages, please visit
    https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #8

  • timlegrand

    timlegrand - 2015-01-08

    Thank you!

    Problem solved.

     
  • Alfred Alf

    Alfred Alf - 2016-12-02

    Hello,
    anyone is ok with PHPLicenseWatcher on Windows ? I search the Windows's HOWTO and the missing package (DB. php ....). I can't write database mysql. Thank you. Best regard

     

Log in to post a comment.