Menu

Embed link in email - 2.1.0

Support
2014-02-19
2014-03-24
  • Christoff van Zyl

    When I create a Timed Embed link that I want to e-mail to a customer it works, But if the customer click on the link it only gets the following on the screen.

    #0 POSTGRESQL->single(SELECT * FROM auth.accounts WHERE id='') called at [/opt/docmgr/lib/account/plugins/db.php:41] #1 ACCOUNT_DB->get() called at [/opt/docmgr/lib/account/account.php:209] #2 ACCOUNT->get() called at [/opt/docmgr/lib/account/account.php:174] #3 ACCOUNT->getInfo() called at [/opt/docmgr/app/common-docmgr.php:263] #4 directViewObject(ef50d5bff4890089d86e8758b371220b) called at [/opt/docmgr/apilib/preauth.php:9] #5 require_once(/opt/docmgr/apilib/preauth.php) called at [/opt/docmgr/api.php:10]

    Any ideas on how to fix this?

    Thanks
    Christoff

     

    Last edit: Christoff van Zyl 2014-02-19
  • Christoff van Zyl

    Did a fresh install of docmgr-2.0.2 and still see the same problem, this is the httpd logs,

    [Mon Mar 24 12:58:50 2014] [error] [client 10.202.12.41] PHP Warning:  Missing argument 2 for directViewObject(), called in /var/www/html/docmgr/apilib/preauth.php on line 9 and defined in /var/www/html/docmgr/app/common-docmgr.php on line 256
    [Mon Mar 24 12:58:50 2014] [error] [client 10.202.12.41] PHP Warning:  pg_query(): Query failed: ERROR:  invalid input syntax for integer: ""\nLINE 1: SELECT * FROM auth.accounts WHERE id=''\n                                             ^ in /var/www/html/docmgr/lib/pgsql.php on line 121
    [Mon Mar 24 12:58:50 2014] [error] [client 10.202.12.41] PHP Fatal error:  Class 'DOCMGR_' not found in /var/www/html/docmgr/apilib/lib/docmgr/object.php on line 19
    [Mon Mar 24 12:59:05 2014] [error] [client 10.202.12.41] PHP Warning:  Missing argument 2 for directViewObject(), called in /var/www/html/docmgr/apilib/preauth.php on line 9 and defined in /var/www/html/docmgr/app/common-docmgr.php on line 256
    [Mon Mar 24 12:59:05 2014] [error] [client 10.202.12.41] PHP Warning:  pg_query(): Query failed: ERROR:  invalid input syntax for integer: ""\nLINE 1: SELECT * FROM auth.accounts WHERE id=''\n                                             ^ in /var/www/html/docmgr/lib/pgsql.php on line 121
    [Mon Mar 24 12:59:06 2014] [error] [client 10.202.12.41] PHP Fatal error:  Class 'DOCMGR_' not found in /var/www/html/docmgr/apilib/lib/docmgr/object.php on line 19 

    Any ideas please

     
  • Eric Lawman

    Eric Lawman - 2014-03-24

    Hi. Email me at elawman@gmail.com and I'll send you a fix.

    Eric

     

Log in to post a comment.