bizzlesnaff / mwenhanced

Automatically exported from code.google.com/p/mwenhanced
0 stars 1 forks source link

I can't post #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.I try to make a post or reply a News, but always recieve the 
message : "You must select a character before you can post" 
2.I choose the character, but don´t get mark, like Language">English"

What is the expected output? What do you see instead?

What revision of the product are you using? In what browser?
I  upgrade to revision 74 and I using IE 8.0

What version are you using? MangosWeb or TrinityWeb?
I'm using MangosWeb

Please provide any additional information below.

I really aprecciate some help..

Original issue reported on code.google.com by adm.wowe...@gmail.com on 21 Feb 2010 at 2:29

Attachments:

GoogleCodeExporter commented 9 years ago
Might be an issue setting cookies with IE8. i iwll lookinto it

Original comment by wilson.steven10@gmail.com on 21 Feb 2010 at 3:49

GoogleCodeExporter commented 9 years ago
It seem the MangosWeb/Trinityweb Enhanced have alot of issues with IE8. As of 
right
now this is a low priority issue. Works fine in firefox 3.5.7 and Opera 10

Original comment by wilson.steven10@gmail.com on 21 Feb 2010 at 6:22

GoogleCodeExporter commented 9 years ago
I try with Firefox 3.5.7, but I get the same problem..

thanks a lot..

Original comment by adm.wowe...@gmail.com on 21 Feb 2010 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by wilson.steven10@gmail.com on 21 Feb 2010 at 9:11

GoogleCodeExporter commented 9 years ago
Try this and let me know if it works:

Goto index.php and at line 211 you will see the following...

//Load characters list
if (isset($user['id']) && $user['id']>0) {
$characters = $CHDB->select('SELECT guid,name FROM `characters` WHERE 
account=?d',
$user['id']);
if (isset($_REQUEST['cur_selected_character'])) {
foreach($characters as $character) {
if ($character['guid']==$_REQUEST['cur_selected_character']) {
$DB->query('UPDATE account_extend SET character_id=?d,character_name=? WHERE
account_id=?d', $character['guid'], $character['name'], $user['id']);
}

Change it to this...

//Load characters list
if (isset($user['id']) && $user['id']>0) {
$characters = $CHDB->select('SELECT guid,name FROM `characters` WHERE 
account=?d',
$user['id']);
if (isset($_COOKIE['cur_selected_character'])) {
foreach($characters as $character) {
if ($character['guid']==$_COOKIE['cur_selected_character']) {
$DB->query('UPDATE account_extend SET character_id=?d,character_name=? WHERE
account_id=?d', $character['guid'], $character['name'], $user['id']);
} 

Original comment by wilson.steven10@gmail.com on 22 Feb 2010 at 12:30

GoogleCodeExporter commented 9 years ago
Fixed revision 75 and 76

Original comment by wilson.steven10@gmail.com on 22 Feb 2010 at 2:18