Gossamer Forum
Home : Products : DBMan : Installation :

Adding and editing users does not show data

Quote Reply
Adding and editing users does not show data
I've asked this question before and tried to do what people have suggested - to no avail.
Whenever a new user is added, or one tries to edit a user the user's data is not displayed - although it is in the db file for searching.

The files are here:

http://tablefortwo.hypermart.net/cgi-bin/database/db.txt

http://tablefortwo.hypermart.net/cgi-bin/database/html.txt

http://tablefortwo.hypermart.net/cgi-bin/database/default.txt

I'd be most grateful if anyone could help with this!

------------------
Quote Reply
Re: Adding and editing users does not show data In reply to
Hi Samuel,

Sorry about the late reply.. I took a look at your config:

$auth_user_field = ID;

This should be the position in the database, not the name of the field. Try setting:

$auth_user_field = 0;

Hope that helps,

Alex
Quote Reply
Re: Adding and editing users does not show data In reply to
Hi,

Thanks for your reply Alex - I tried what you said, but it didn't seem to have any effect.

I've added another field to test something (a checkbox) and its value seems to appear fine after adition (although it's not shown on the edit details form.)

I wonder whether maybe it is something to do with the html.pl file?

All ther files are in the same place, except for the config file, which has been renamed to default.cfg

If anyone can spot my error - I'd be most grateful.

Once again, my thanks for a brilliant product!

Quote Reply
Re: Adding and editing users does not show data In reply to
Are you using version 2.04? If so, send me a URL with $db_debug turned on and appropriate username/passwords to test things out.

Cheers,

Alex
Quote Reply
Re: Adding and editing users does not show data In reply to
I had the same problem. Solved it by putting my field numbers in order. I had, for example, fields 1,2,3,4,6 which must be 1,2,3,4,5. It worked fine after that.