I'm using PLA 1.2.0 on Gentoo. I'm using Gentoo packages so I think that PLA 1.2.0.3 will not be available very soon but I'll test with the tar.gz
I replace the comma with the semi-colon in this template but it does the same error... <value>=php.GetNextNumber(/;uidNumber)</value> Thanks Deon George-2 wrote: > > Bagghera wrote: >> I recently update my phpldapadmin to 1.2 and all of my templates were ko. >> I rewrite my templates with good syntax but the automatic way to generate >> uidnumber doesn't work. >> > You havent specified the version of PLA you are using (1.2 is not a > release version - ie: are you using 1.2.0 or a 1.2.0.x version?). > > Anyway look out for 1.2.0.3, it'll be available very soon, which has > some fixes that were broken in 1.2.0.2 > >> In my template >> <value><![CDATA[=php.GetNextNumber(/;uidNumber;false;(&(objectClass=posixAccount));*2,+1000)]]></value> >> > I've tried this in my templates (with the devel version of PLA, and I > dont get any errors...) > >> I also try in my template >> <value>=php.GetNextNumber(/,uidNumber)</value> >> > This syntax is wrong, you need to use a semi-colon ";" as your > delimiter, not a comma. (This is as of 1.2.x...) > > ...deon > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > phpldapadmin-users mailing list > phpldapadmin-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users > > -- View this message in context: http://www.nabble.com/Problem-with-php.GetNextNumber-in-templates-tp25135703p25186287.html Sent from the phpldapadmin-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ phpldapadmin-users mailing list phpldapadmin-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users