Menu

#20 ldap auth test doesn't work during installation

v1.0_(example)
open
nobody
None
5
2014-12-15
2014-12-14
No

I tried to install the latest version of VFront from svn (r1112). During installation, I filled up all the LDAP auth parameters, but when I click on the 'test' button, nothing happens. In my apache2 logs, I see the following error appearing:

[Sun Dec 14 11:12:53 2014] [error] [client 192.168.190.117] PHP Fatal error:
Class 'Common' not found in /var/www/crm/_install/rpc.testext.php on line 14,
referer: http://192.168.19.2/crm/_install/index.php?p=2

Discussion

  • Mateusz Viste

    Mateusz Viste - 2014-12-14

    Hello, it seems like some debug code was left. The attached patch looks to be solving the problem.

     
  • Mateusz Viste

    Mateusz Viste - 2014-12-15

    after all, I think the problem must be deeper.. After installation, vfront shows up only a blank page, while outputting following error in logs:

    [Mon Dec 15 11:04:52 2014] [error] [client 192.168.0.114] PHP Fatal error:
    Class 'Common' not found in /var/www/inc/layouts.php on line 213
    

    It's the same problem - ie lack of the 'class.common.php' file being included. But if I try to include it by adding such line...

    require_once(FRONT_REALPATH.'/classes/class.common.php');
    

    ...then it still doesn't work, and outputs such error:

    [Mon Dec 15 11:15:43 2014] [error] [client 192.168.0.114] PHP Notice:
    Undefined index: user in /var/www/classes/class.common.php on line 275
    
     

Log in to post a comment.