From: Richard G. <R....@hu...> - 2006-08-03 09:53:45
|
***************************************************************************************** To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html ***************************************************************************************** |
From: Matthew S. <yo....@gm...> - 2006-08-14 06:38:45
|
Richard, It turns out that this was fixed awhile ago in our development version for 1.3: include/class.controlled_vocab.php, near line 151 change: Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); to if (is_numeric($HTTP_POST_VARS["parent_id"])) { Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); } Matt On 8/7/06, Matthew Smith <yo....@gm...> wrote: > Thanks for that, I've added it to our bug tracking application here. > > Matt > > On 8/3/06, Richard Green <R....@hu...> wrote: > > > > > > If I try to create a new controlled vocabulary with a description but no > > image, I get: > > > > ERROR: Array ( [0] => DB Error: syntax error [1] => INSERT INTO > > fez.fez_controlled_vocab_relationship ( cvr_parent_cvo_id, > > cvr_child_cvo_id ) VALUES ( , 450008 ) [nativecode=1064 ** You have an error > > in your SQL syntax; check the manual that corresponds to your MySQL server > > version for the right syntax to use near ' 450008 )' at line 7] ) C:\Program > > Files\Apache > > Group\Apache2\htdocs\fez\include\class.controlled_vocab.php > > 185 > > > > The new vocabulary is created but there is no description in the table > > entry. > > > > > > > > ___________________________ > > Richard Green > > Manager, RepoMMan Project > > e-SIG, Academic Services > > University of Hull > > > > r....@hu... > > www.hull.ac.uk/esig/repomman > > ***************************************************************************************** > > To view the terms under which this email is distributed, please go to > > http://www.hull.ac.uk/legal/email_disclaimer.html > > ***************************************************************************************** > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys -- and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > > _______________________________________________ > > Fez-users mailing list > > Fez...@li... > > https://lists.sourceforge.net/lists/listinfo/fez-users > > > > > > > |
From: Richard G. <R....@hu...> - 2006-08-14 09:01:10
|
Matthew Thanks. The fix deals with the error message, but the description of the new controlled vocabulary still doesn't show up in the 'description' box once the vocabulary is created. I'll get Simon to look and see if it is in the database entry. Richard=20 -----Original Message----- From: fez...@li... [mailto:fez...@li...] On Behalf Of Matthew Smith Sent: 14 August 2006 07:39 To: fez...@li... Subject: Re: [Fez-users] Bug in Fez 1.2? Richard, It turns out that this was fixed awhile ago in our development version for 1.3: include/class.controlled_vocab.php, near line 151 change: Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); to if (is_numeric($HTTP_POST_VARS["parent_id"])) { =09 Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); } Matt On 8/7/06, Matthew Smith <yo....@gm...> wrote: > Thanks for that, I've added it to our bug tracking application here. > > Matt > > On 8/3/06, Richard Green <R....@hu...> wrote: > > > > > > If I try to create a new controlled vocabulary with a description=20 > > but no image, I get: > > > > ERROR: Array ( [0] =3D> DB Error: syntax error [1] =3D> INSERT INTO=20 > > fez.fez_controlled_vocab_relationship ( cvr_parent_cvo_id,=20 > > cvr_child_cvo_id ) VALUES ( , 450008 ) [nativecode=3D1064 ** You = have=20 > > an error in your SQL syntax; check the manual that corresponds to=20 > > your MySQL server version for the right syntax to use near ' 450008=20 > > )' at line 7] ) C:\Program Files\Apache=20 > > Group\Apache2\htdocs\fez\include\class.controlled_vocab.php > > 185 > > > > The new vocabulary is created but there is no description in the=20 > > table entry. > > > > > > > > ___________________________ > > Richard Green > > Manager, RepoMMan Project > > e-SIG, Academic Services > > University of Hull > > > > r....@hu... > > www.hull.ac.uk/esig/repomman > > ******************************************************************** > > ********************* To view the terms under which this email is=20 > > distributed, please go to=20 > > http://www.hull.ac.uk/legal/email_disclaimer.html > > ******************************************************************** > > ********************* > > > > -------------------------------------------------------------------- > > ----- Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > SourceForge.net's Techsay panel and you'll get the chance to share=20 > > your opinions on IT & business topics through brief surveys -- and=20 > > earn cash=20 > > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= D > > EVDEV > > > > _______________________________________________ > > Fez-users mailing list > > Fez...@li... > > https://lists.sourceforge.net/lists/listinfo/fez-users > > > > > > > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Fez-users mailing list Fez...@li... https://lists.sourceforge.net/lists/listinfo/fez-users |
From: Richard G. <R....@hu...> - 2006-08-14 09:25:03
|
Matthew Further to my recent e-mail. Simon says that the 'description' fields in the database are 'null' - so it seems the description isn't being written. ___________________________ Richard Green=20 Manager, RepoMMan Project=20 e-SIG, Academic Services=20 University of Hull=20 r....@hu...=20 www.hull.ac.uk/esig/repomman=20 =20 -----Original Message----- From: fez...@li... [mailto:fez...@li...] On Behalf Of Matthew Smith Sent: 14 August 2006 07:39 To: fez...@li... Subject: Re: [Fez-users] Bug in Fez 1.2? Richard, It turns out that this was fixed awhile ago in our development version for 1.3: include/class.controlled_vocab.php, near line 151 change: Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); to if (is_numeric($HTTP_POST_VARS["parent_id"])) { =09 Controlled_Vocab::associateParent($HTTP_POST_VARS["parent_id"], $new_id); } Matt On 8/7/06, Matthew Smith <yo....@gm...> wrote: > Thanks for that, I've added it to our bug tracking application here. > > Matt > > On 8/3/06, Richard Green <R....@hu...> wrote: > > > > > > If I try to create a new controlled vocabulary with a description=20 > > but no image, I get: > > > > ERROR: Array ( [0] =3D> DB Error: syntax error [1] =3D> INSERT INTO=20 > > fez.fez_controlled_vocab_relationship ( cvr_parent_cvo_id,=20 > > cvr_child_cvo_id ) VALUES ( , 450008 ) [nativecode=3D1064 ** You = have=20 > > an error in your SQL syntax; check the manual that corresponds to=20 > > your MySQL server version for the right syntax to use near ' 450008=20 > > )' at line 7] ) C:\Program Files\Apache=20 > > Group\Apache2\htdocs\fez\include\class.controlled_vocab.php > > 185 > > > > The new vocabulary is created but there is no description in the=20 > > table entry. > > > > > > > > ___________________________ > > Richard Green > > Manager, RepoMMan Project > > e-SIG, Academic Services > > University of Hull > > > > r....@hu... > > www.hull.ac.uk/esig/repomman > > ******************************************************************** > > ********************* To view the terms under which this email is=20 > > distributed, please go to=20 > > http://www.hull.ac.uk/legal/email_disclaimer.html > > ******************************************************************** > > ********************* > > > > -------------------------------------------------------------------- > > ----- Take Surveys. Earn Cash. Influence the Future of IT Join=20 > > SourceForge.net's Techsay panel and you'll get the chance to share=20 > > your opinions on IT & business topics through brief surveys -- and=20 > > earn cash=20 > > = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= D > > EVDEV > > > > _______________________________________________ > > Fez-users mailing list > > Fez...@li... > > https://lists.sourceforge.net/lists/listinfo/fez-users > > > > > > > ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Fez-users mailing list Fez...@li... https://lists.sourceforge.net/lists/listinfo/fez-users |