Can you please tell were exactly I have to insert your fix? I could not find it
daddelkopp
Moderator: Foxy
psykotyk wrote:Notice: Use of undefined constant ROSTER_DIED - assumed 'ROSTER_DIED' in /var/www/wow/roster/lib/commonfunctions.lib.php on line 192
Notice: Use of undefined constant ROSTER_DIED - assumed 'ROSTER_DIED' in /var/www/wow/roster/lib/commonfunctions.lib.php on line 202
Database Error
1054: Unknown column 'xPos' in 'field list'
SQL:
SELECT `map`,`xPos`,`yPos`, `nodeType`, `nodeNumber` FROM `roster_addon_gatherer_nodes`;
File: convertdb.php
Line: 29
I've got the same message and I can't see anything on the map.
Should i create this 2 column "xpos"and "ypos" to resolve the problem or is there something i'm doing wrong ?
Sorry for my english, i'm french
yojimbo2k wrote:psykotyk wrote:Notice: Use of undefined constant ROSTER_DIED - assumed 'ROSTER_DIED' in /var/www/wow/roster/lib/commonfunctions.lib.php on line 192
Notice: Use of undefined constant ROSTER_DIED - assumed 'ROSTER_DIED' in /var/www/wow/roster/lib/commonfunctions.lib.php on line 202
Database Error
1054: Unknown column 'xPos' in 'field list'
SQL:
SELECT `map`,`xPos`,`yPos`, `nodeType`, `nodeNumber` FROM `roster_addon_gatherer_nodes`;
File: convertdb.php
Line: 29
These errors means there is no old database...
edit your update.php like thisds001 wrote:I had to edit your supplied update.php to get the input fields to show.
Find in File update.php line: 494
- Code: Select all
if(file_exists(ROSTER_ADDONS.'Gatherer'))
Change to:
- Code: Select all
if(file_exists(ROSTER_ADDONS.'gatherer'))
$wordings['deDE']['zonecont'] = array(
"ASHENVALE" => 1,
"AZSHARA" => 1,
"AZUREMYST_ISLE" => 1,
"BARRENS" => 1,
"BLOODMYST_ISLE" => 1,
"DARKSHORE" => 1,
"DARNASSUS" => 1,
"DESOLACE" => 1,
"DUROTAR" => 1,
"DUSTWALLOW_MARSH" => 1,
"FELWOOD" => 1,
"FERALAS" => 1,
"MOONGLADE" => 1,
"MULGORE" => 1,
"ORGRIMMAR" => 1,
"SILITHUS" => 1,
"STONETALON_MOUNTAINS" => 1,
"TANARIS" => 1,
"TELDRASSIL" => 1,
"EXODAR" => 1,
"THOUSAND_NEEDLES" => 1,
"THUNDER_BLUFF" => 1,
"UNGORO_CRATER" => 1,
"WINTERSPRING" => 1,
"ALTERAC_MOUNTAINS" => 2,
"ARATHI_HIGHLANDS" => 2,
"BADLANDS" => 2,
"BLASTED_LANDS" => 2,
"BURNING_STEPPES" => 2,
"DEADWIND_PASS" => 2,
"DUN_MOROGH" => 2,
"DUSKWOOD" => 2,
"EASTERN_PLAGUELANDS" => 2,
"ELWYNN_FOREST" => 2,
"EVERSONG_WOODS" => 2,
"GHOSTLANDS" => 2,
"HILLSBRAD_FOOTHILLS" => 2,
"HINTERLANDS" => 2,
"IRONFORGE" => 2,
"LOCH_MODAN" => 2,
"REDRIDGE_MOUNTAINS" => 2,
"SEARING_GORGE" => 2,
"SILVERMOON" => 2,
"SILVERPINE_FOREST" => 2,
"STORMWIND" => 2,
"STRANGLETHORN_VALE" => 2,
"SWAMP_OF_SORROWS" => 2,
"TIRISFAL_GLADES" => 2,
"UNDERCITY" => 2,
"WESTERN_PLAGUELANDS" => 2,
"WESTFALL" => 2,
"WETLANDS" => 2,
"BLADES_EDGE_MOUNTAINS" => 3,
"HELLFIRE_PENINSULA" => 3,
"NAGRAND" => 3,
"NETHERSTORM" => 3,
"SHADOWMOON_VALLEY" => 3,
"SHATTRATH" => 3,
"TEROKKAR_FOREST" => 3,
"ZANGARMARSH" => 3
);
$index = $gatherwords['zonecont'][$map];
$index = 0;
if (array_key_exists($map, $gatherwords['zones']['1'])) $index = 1;
if (array_key_exists($map, $gatherwords['zones']['2'])) $index = 2;
if (array_key_exists($map, $gatherwords['zones']['3'])) $index = 3;
if(file_exists(ROSTER_ADDONS.'Gatherer'))
Foxy wrote:Bortsti:
Do you have this array in your language file? Between zones and node_names...
- Code: Select all
$wordings['deDE']['zonecont'] = array(
"ASHENVALE" => 1,
"AZSHARA" => 1,
"AZUREMYST_ISLE" => 1,
);
Foxy wrote:Borsti other than the errors, is the data being inserted correctly? No missing data in any columns?
Users browsing this forum: No registered users and 1 guest