Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - editprofile.php isn't working correctly | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Vyper

Bit
Level: 26

Posts: 131/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 07-31-05 09:44 AM Link | Quote
Recently I had a complaint about editprofile.php not working correctly. Upon further investigation, I found that the Rank Set, Minipic, Custom Title, and User Picture are not updated when editing a profile. However, it works fine when using edituser.php.

What's going on here?
Xeolord

- B l u e s -
Power Metal > All
Level: 81

Posts: 2947/3418
EXP: 4884196
For next: 108653

Since: 03-15-04
From: Yeah

Since last post: 15 hours
Last activity: 15 hours
Posted on 07-31-05 09:53 AM Link | Quote
Here's the question, is it just not showing up in the field, or is it truly not updating (even if you checked the db?)

I'm just saying this, because I once had an issue where Yahoo, and MSN Messanger name fields would stay blank even after someone updated their profile putting usernames in those fields, -but- it would be in the actual db, so it was just an issue with showing what was saved in those fields when the user went back to edit them. It turned out I just had $loguser mixed up with $user (or vice versa, can't remember exactly)

Have you modified editprofile.php in any way?


(edited by Xeolord on 07-31-05 12:53 AM)
Vyper

Bit
Level: 26

Posts: 132/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 07-31-05 10:58 PM Link | Quote
No, not that I know of.
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 3918/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 07-31-05 11:06 PM Link | Quote
Anyway, add "or die(mysql_error())" before the semi-colon in the after the UPDATE query (it's on line 214, in version 1.A3). Post the error it gives (if any, but it should give one)


(edited by Argos Bleak on 07-31-05 02:18 PM)
Vyper

Bit
Level: 26

Posts: 134/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 08-01-05 12:07 AM Link | Quote
Unknown column 'oldstylemark' in 'field list'
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 3923/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 08-01-05 12:21 AM Link | Quote
Ah yeah, that error.

Just remove oldstylemark, from the UPDATE query (or create an 'oldstylemark' column in the user table)
Vyper

Bit
Level: 26

Posts: 135/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 08-01-05 12:49 AM Link | Quote
After removing the code, it still doesn't want to work. If you have an IM program, PM me or something. I'll let you in to poke around if you'd like.
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 3924/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 08-01-05 12:57 AM Link | Quote
Go in PMA, and create a new column in the user table, make it have these properties:
Field: oldstylemark
Type: TINYINT
Length/Values: 1
Attributes: UNSIGNED
Default: 0
Null: NOT NULL

Should work, that did it a Xeo's
Vyper

Bit
Level: 26

Posts: 136/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 08-01-05 01:20 AM Link | Quote
Still not working :/
ExKay
Somebody set up us the bomb!
Level: 50

Posts: 849/1114
EXP: 908268
For next: 39049

Since: 03-15-04
From: Hannover, Germany

Since last post: 14 hours
Last activity: 1 hour
Posted on 08-01-05 09:02 PM Link | Quote
Well, what you gave him DarkSlaya, was wrong. It should be:
Field: oldstylemark
Type: SMALLINT
Lenght/Values: 2
Default: 1
Null: NOT NULL

and leave the Attributes field blank, if that don't work, try to re-download 1.A3 or what you are using and upload editprofile.php again.
DarkSlaya
POOOOOOOOOOOORN!
Level: 88

Posts: 3929/4249
EXP: 6409254
For next: 241410

Since: 05-16-04
From: Montreal, Quebec, Canada

Since last post: 8 hours
Last activity: 5 hours
Posted on 08-01-05 09:55 PM Link | Quote
Normally it souldn't make any difference, as you're waiting only to get either NULL or 1.
Vyper

Bit
Level: 26

Posts: 139/256
EXP: 100094
For next: 2181

Since: 03-15-04
From: Final Fantasy Fire

Since last post: 8 days
Last activity: 7 days
Posted on 08-02-05 03:13 AM Link | Quote
Works now, Iceman. Thanks!
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - editprofile.php isn't working correctly | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.028 seconds.