Jump to content

Recommended Posts

  • Replies 617
  • Created
  • Last Reply

Top Posters In This Topic

Posted
Shadez, your armory great, thanks.

Line Number 1, Column 21:Fatal Error: armory must be instance of Armory class!

--------------------------------------------------------------

POSSIBLE - FIX (armory_loader.php), Rev. 394

--------------------------------------------------------------

[color="darkred"]-  $utils = new Utils;[/color]
[color="green"]+  $utils = new Utils($armory);[/color]

...
[color="darkred"]
-  $characters = new Characters;[/color]
[color="green"]+  $characters = new Characters($armory);[/color]

...

[color="darkred"]-  $guilds = new Guilds;[/color]
[color="green"]+  $guilds = new Guilds($armory);[/color]

...
[color="darkred"]
-  $items = new Items;[/color]
[color="green"]+  $items = new Items($armory);[/color]

...

[color="darkred"]-  $mangos = new Mangos;[/color]
[color="green"]+  $mangos = new Mangos($armory);[/color]

...

[color="darkred"]-  $arenateams = new Arenateams;[/color]
[color="green"]+  $arenateams = new Arenateams($armory);[/color]

...

[color="darkred"]-  $search = new SearchMgr;[/color]
[color="green"]+  $search = new SearchMgr($armory);[/color]

--------------------------------------------------------------

POSSIBLE - FIX (arena-team-game-chart.php), Rev. 394

--------------------------------------------------------------

[color="darkred"]-  $arenateams->_initTeam();[/color]
[color="green"]+  $arenateams->InitTeam();[/color]

Posted

Ok, i feel like a epic noob for asking this, but how do i apply this to mangos? so i can compile it with it.. also i got a q if i got the source downloaded and compiled once, can i use the same source "mangos", patch it and re-compile it so i dont got to update everything? im using Ubuntu 10.04.

Posted
--------------------------------------------------------------

POSSIBLE - FIX (armory_loader.php), Rev. 394

--------------------------------------------------------------

[color="darkred"]-  $utils = new Utils;[/color]
[color="green"]+  $utils = new Utils($armory);[/color]

...
[color="darkred"]
-  $characters = new Characters;[/color]
[color="green"]+  $characters = new Characters($armory);[/color]

...

[color="darkred"]-  $guilds = new Guilds;[/color]
[color="green"]+  $guilds = new Guilds($armory);[/color]

...
[color="darkred"]
-  $items = new Items;[/color]
[color="green"]+  $items = new Items($armory);[/color]

...

[color="darkred"]-  $mangos = new Mangos;[/color]
[color="green"]+  $mangos = new Mangos($armory);[/color]

...

[color="darkred"]-  $arenateams = new Arenateams;[/color]
[color="green"]+  $arenateams = new Arenateams($armory);[/color]

...

[color="darkred"]-  $search = new SearchMgr;[/color]
[color="green"]+  $search = new SearchMgr($armory);[/color]

--------------------------------------------------------------

POSSIBLE - FIX (arena-team-game-chart.php), Rev. 394

--------------------------------------------------------------

[color="darkred"]-  $arenateams->_initTeam();[/color]
[color="green"]+  $arenateams->InitTeam();[/color]

done the 2nd part because the first part is already there but still doesnt work.

Posted
done the 2nd part because the first part is already there but still doesnt work.

It's true! into rev. 394 the "armory_loader.php" is already fixed.

Damned program (TortoiseGit)!! xD

Posted

I always got that Error-Message by viewing a character-sheet:


[b]Warning[/b]:  Missing argument 1 for Achievements::Achievements(), called in C:\\xampp\\htdocs\\armory\\includes\\classes\\class.characters.php on line 696 and defined in [b]C:\\xampp\\htdocs\\armory\\includes\\classes\\class.achievements.php[/b] on line [b]64[/b]



[b]Notice[/b]:  Undefined variable: armory in [b]C:\\xampp\\htdocs\\armory\\includes\\classes\\class.achievements.php[/b] on line [b]65[/b]

[b]Fatal Error:[/b] armory must be instance of Armory class!

I tried to fix it:

Open includes/classes/class.characters.php

Line 696: Replace:

[color="red"]$this->m_achievementMgr = new Achievements;[/color]

[color="green"]$this->m_achievementMgr = new Achievements($this->armory);[/color]

It nearly works, but i get error 404:

4c9cf35b3eb148_404.png

I tried to view the character-sheet of an existing character, but it didn't work...

Can anybody tell me how to solve this problem?

Thanks,

Filipper

P.S: Excuse my bad English

Posted

I noticed the guild pages don't work anymore but I am not sure if this is caused by 395 or if it already existed before this revision.

The weird thing, the debug log doesn't show anything about this thing. Anyway this is what the page shows:

This page contains the following errors:

error on line 1 at column 20: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Fatal Error:

Posted
I noticed the guild pages don't work anymore but I am not sure if this is caused by 395 or if it already existed before this revision.

The weird thing, the debug log doesn't show anything about this thing. Anyway this is what the page shows:

This page contains the following errors:

error on line 1 at column 20: Extra content at the end of the document
Below is a rendering of the page up to the first error.

Fatal Error:

Fixed in [396] rev., thank you for report!

Posted

Error loading stylesheet: A network error occured loading an XSLT stylesheet [url]http://***/_layout/items/search.xsl[/url]

That happens when i click "advenced item search".

Any idea how to fix it?

*Also i don't see filter in items pages,and paging isn't working.

Posted

hy i have a problem all working fine until i tryed to log in and selected a charbut it says

File Not Found

This character profile could not be displayed, possibly for one of the following reasons:

•The character has been inactive for an extended period of time.

•The character name was spelled incorrectly.

•The profile is temporarily unavailable while the character is in the midst of a process such as a realm transfer or faction change.

•Characters that have been deleted are no longer available on the Armory.

Posted
hy i have a problem all working fine until i tryed to log in and selected a charbut it says

File Not Found

This character profile could not be displayed, possibly for one of the following reasons:

•The character has been inactive for an extended period of time.

•The character name was spelled incorrectly.

•The profile is temporarily unavailable while the character is in the midst of a process such as a realm transfer or faction change.

•Characters that have been deleted are no longer available on the Armory.

You need to apply the core patch, it won't get displayed until the data of the character is stored in the database by the patch.

Posted

applyed the core patch ofcand all sql without any errors but still char cant be chosen

applyed patch from tools/mangos wowarmory_arena_chart and wowarmory_patch

there is one in tools to wowarmory_patches_10116 but its same as in mangos foler i think or isint it?

and on mangos i get werid stuff

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:23:54 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('27', '1', '605', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:23:54 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('27', '1', '606', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:23:54 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('27', '1', '607', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '891', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '889', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '131', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '132', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '133', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '4785', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '696', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:28:43 SQL ERROR: Field 'difficulty' doesn't have a default value

mabye i missed something?

Posted

DEBUG [01-10-2010 08:17:17]: ArmoryDatabaseHandler::_query : unable to execute SQL query ( SELECT `armory_source`.`item`, `armory_source`.`source`, `armory_source`.`areaKey`, `armory_source`.`areaUrl`, `armory_source`.`isHeroic`, `armory_instance_template`.`name_en_gb` AS `areaName`, `armory_instance_template`.`id` AS `areaId` FROM `armory_source` AS `armory_source` LEFT JOIN `armory_instance_template` AS `armory_instance_template` ON `armory_instance_template`.`key`=`armory_source`.`areaKey` WHERE `armory_source`.`item` IN ('44133', '49177', '44701', '44152', '44159', '44150', '44149', '44136', '44135', '44134', '50369', '50337', '50336', '50338', '50367', '50368', '50335', '50370', '50373', '50372', '44099', '50255', '42950', '48685', '48691', '48677', '48687', '48683', '48716', '48718', '48689', '44115', '42992', '42991', '42985', '42984', '42952', '42951', '42949', '42948', '42947', '42946', '42945', '42944', '44091', '44092', '44107', '44105', '44103', '44102', '44101', '44100', '44098', '44097', '44096', '44095', '44094', '44093', '42943')). MySQL error: none

ERROR [01-10-2010 08:17:17]: SearchMgr::GetItemSourceArray : unable to get item sources from DB!

Posted

I, too, keep getting the error in my console:

2010-09-28 19:28:43 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('67', '1', '696', UNIX_TIMESTAMP(NOW()), 1)

Unforutnately, this seems to cause my server to crash.

Posted
2010-09-28 19:23:54 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('27', '1', '605', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

Try to update your characters DB with provided sql update in [400] revision (sql/updates folder).

Posted
2010-09-28 19:23:54 SQL: REPLACE INTO character_feed_log (guid, type, data, date, counter) VALUES('27', '1', '605', UNIX_TIMESTAMP(NOW()), 1)

2010-09-28 19:23:54 SQL ERROR: Field 'difficulty' doesn't have a default value

Try to update your characters DB with provided sql update in [400] revision (sql/updates folder).

This fix only takes care of the 'difficulty' default issue, but doesn't seem to address the issue with the UNIX_TIMESTAMP

Posted
This fix only takes care of the 'difficulty' default issue, but doesn't seem to address the issue with the UNIX_TIMESTAMP
What's wrong with UNIX_TIMESTAMP() function?
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use