I need urgent help, please.

Mod that adds a extra field to the users profile, the gender is displayed beside the posts

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

I need urgent help, please.

Postby Clark on Wed 10. Aug, 2005 17:11

Hi

I didn't run gender_db_update.php before uploading the new files... Now it is returning error messages everywhere. I restored the old files to make it work for users. But how can I fix the database? I don't want to restore my weekly db either... Please help me...
The forum is
http://www.studentbbs.co.uk
Version of phpbb: 2.17
version of the mod: gender_1.2.6em
Thanks in advance
Clark
Clark
Poster
Poster
 
Posts: 4
Joined: Wed 10. Aug, 2005 17:07

Postby Beeveer on Thu 11. Aug, 2005 15:06

Execute the following in phpMyAdmin:

Code: Select all
ALTER TABLE phpbb_users ADD user_gender TINYINT not null DEFAULT "0";


Eventually, replace phpbb_ with your own prefix.
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby Clark on Fri 12. Aug, 2005 00:17

Beeveer wrote:Execute the following in phpMyAdmin:

Code: Select all
ALTER TABLE phpbb_users ADD user_gender TINYINT not null DEFAULT "0";


Eventually, replace phpbb_ with your own prefix.

Hi thanks for your help!
But didn't update file already run this line? If I execute this line and then upload all mods file,s will my forum get to work?
Clark
Poster
Poster
 
Posts: 4
Joined: Wed 10. Aug, 2005 17:07

Postby Beeveer on Sat 13. Aug, 2005 10:23

You can try it again, It doesn't matter, the only error you can get is good, not bad.

Ah, I see you forum is working again!
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby Clark on Mon 26. Sep, 2005 18:14

Is there anyway to undo
ALTER TABLE phpbb_users ADD user_gender TINYINT not null DEFAULT "0";

because I decided to not keep this mod any more, and wished to restore my db to normality.
Also at http://www.studentbbs.co.uk/profile.php ... rofile&u=2
there is an extra : on the right hand side. How can I delete it? Thanks guys.
Clark
Poster
Poster
 
Posts: 4
Joined: Wed 10. Aug, 2005 17:07


Return to Gender [2.0.10/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron