[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNAdmin error - Adding Users

From: Frank Gruman <fgatwork_at_verizon.net>
Date: 2005-04-05 16:59:20 CEST

Cool. I had started to do something vaguely similar through java (since
that's about all I know)...

I like it.

But I also found an error when inviting a new user with a MySQL database
and PHP5.

My web root is my Bugzilla repository, and rather than create a separate
directory (for now), I dropped your stuff there.

  InternalError

ADODB_Exception: mysql error: [1048: Column 'id' cannot be null] in EXECUTE("INSERT INTO users (id, name, password, email, admin, repositorygrants) VALUES (null, 'fgruman', 'bb4eebea7ab723bc41ec13e8a310977f', 'fgruman@micros.com', '255', '10')")

#0 /admin/Bugzilla/SVNAdmin/framework/Data/adodb/adodb-exceptions.inc.php(75): adodb_throw()
#1 /admin/Bugzilla/SVNAdmin/framework/Data/adodb/adodb.inc.php(859): adodb_throw('mysql', 'EXECUTE', 1048, 'Column 'id' can...', 'INSERT INTO use...', false, Object(ADODB_mysql))
#2 /admin/Bugzilla/SVNAdmin/framework/Data/adodb/adodb.inc.php(833): ADODB_mysql->_Execute('INSERT INTO use...', false)
#3 /admin/Bugzilla/SVNAdmin/framework/Data/TAdodb.php(110): ADODB_mysql->Execute('INSERT INTO use...')
#4 /admin/Bugzilla/SVNAdmin/framework/Data/TAdodb.php(110): call_user_func_array(Array, Array)
#5 /admin/Bugzilla/SVNAdmin/svnadmin/UserModule/DataModule.php(43): TAdodb->__call('Execute', Array)
#6 /admin/Bugzilla/SVNAdmin/svnadmin/UserModule/DataModule.php(43): TAdodb->Execute('INSERT INTO use...')
#7 /admin/Bugzilla/SVNAdmin/svnadmin/UserModule/AddPage.php(52): DataModule->createAccount('fgruman', 'lesliemike', 'fgruman@micros....', 255, '10')
#8 /admin/Bugzilla/SVNAdmin/framework/TComponent.php(511): AddPage->onConfirmBtn(Object(TButton), Object(TEventParameter))
#9 /admin/Bugzilla/SVNAdmin/framework/Web/UI/WebControls/TButton.php(192): TButton->raiseEvent('OnClick', Object(TButton), Object(TEventParameter))
#10 /admin/Bugzilla/SVNAdmin/framework/Web/UI/WebControls/TButton.php(176): TButton->onClick(Object(TEventParameter))
#11 /admin/Bugzilla/SVNAdmin/framework/Web/UI/TPage.php(865): TButton->raisePostBackEvent('')
#12 /admin/Bugzilla/SVNAdmin/framework/TApplication.php(423): AddPage->execute()
#13 /admin/Bugzilla/SVNAdmin/index.php(10): TApplication->run()
#14 {main}

Regards,
Frank

M. Verkerk wrote:

> Hi all,
>
> Once I have seen a question flying by asking for a tool to administer
> Subversion repositories with a web interface. Our organization needed
> such a tool and I've released the first version of my creation at the
> following site:
>
> http://svnadmin.sourceforge.net
>
> Regards,
> Marijn Verkerk
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>For additional commands, e-mail: users-help@subversion.tigris.org
>
Received on Tue Apr 5 17:03:26 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.