From: Demian K. <dem...@vi...> - 2011-05-25 15:39:50
|
It doesn't make sense that there should be an error reported on line 185 if line 185 is commented out. Perhaps the problem is actually somewhere above the [LDAP] section (a missing close quote, for example) and is simply causing the parser to complain about that particular line. It might be worth deleting all of the [LDAP] lines to see if that changes the error message. If nothing obvious shows up, you may just have to delete lines until you find the one that is causing the problem -- hopefully once you narrow down the cause in this way, you can fix the problem and replace all the lines you deleted. If you need help with this, feel free to send me a copy of your config file (off list of course) with any passwords or other sensitive information removed. - Demian > -----Original Message----- > From: Zeno Tajoli [mailto:ta...@ci...] > Sent: Wednesday, May 25, 2011 11:35 AM > To: vuf...@li... > Subject: Re: [VuFind-General] A new install, better ver 1.1 or trunk > version ? > > Hi to all, > > I'm installing the trunk verision (r3942). > I have a problem with web/conf/confing.ini > [System][debug] = true > > On the home page I see: > > Warning: Error parsing conf/config.ini on line 185 in > /var/biella-vf/web/sys/ConfigArray.php on line 103 > > Notice: Undefined index: Index in > /var/biella-vf/web/sys/ConnectionManager.php on line 138 > > Notice: Undefined index: Index in > /var/biella-vf/web/sys/ConnectionManager.php on line 143 > > Warning: ConnectionManager::include_once(sys/.php) > [connectionmanager.include-once]: failed to open stream: No such file > or > directory in /var/biella-vf/web/sys/ConnectionManager.php on line 147 > > Warning: ConnectionManager::include_once() [function.include]: Failed > opening 'sys/.php' for inclusion > (include_path='.:/usr/share/php:/usr/share/pear') in > /var/biella-vf/web/sys/ConnectionManager.php on line 147 > > Fatal error: Class name must be a valid object or a string in > /var/biella-vf/web/sys/ConnectionManager.php on line 151 > > > > As I understand the problem is in config.ini but the line 185 is about > LDAP and I don't setup LDAP, I use DB for authentication > > line 108-111 > [Authentication] > ;method = LDAP > ;method = ILS > method = DB > > ... > > > lines 182 -193 > ;[LDAP] > ;host = ldap.myuniversity.edu > ;port = 389 > ;basedn = "o=myuniversity.edu" > ;username = uid > ;firstname = givenname > ;lastname = sn > ;email = mail > ;cat_username = > ;cat_password = > ;college = studentcollege > ;major = studentmajor > > How can I find the error in config.ini ? > > Bye > Zeno Tajoli > -- > Dott. Zeno Tajoli > tajoliAT_SPAM_no_prendiATcilea.it > fax +39 02 2135520 > CILEA - Consorzio Interuniversitario > http://www.cilea.it/disclaimer > > ----------------------------------------------------------------------- > ------- > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1 > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general |