[EDK4] allicorpstats_page update

Discuss/Upload mods to the EVE-Dev Killboard.
Eek
Someday Author
Posts: 73
Joined: Fri Dec 17, 2010 00:20

Re: [EDK4] allicorpstats_page update

Post by Eek »

The mod worked fine for an hour on my killboard, then i went fixing some other stuff (carrier item locations)

Now i see the following error when i click on "Corp Stats" in the top navigation:

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 543 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: asort
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 318 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 318, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 543 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: arsort
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include
Does anybody have an idea what could cause this?
Eek
Someday Author
Posts: 73
Joined: Fri Dec 17, 2010 00:20

Re: [EDK4] allicorpstats_page update

Post by Eek »

Hey people, reading through this thread, i have found somebody with a similar problem and it turns out this was the same issue causing my problems.

I had my "corp member limit" at 8 at first, but for some reason i changed it to 0. I've made it non-zero now (8) and it works fine again. For some reason this mod doesn't like the corp member limit at 0.
User avatar
Dism0
Active Author
Posts: 158
Joined: Fri Jul 06, 2012 01:42

Re: [EDK4] allicorpstats_page update

Post by Dism0 »

same error even after using a non-zero number as posted before.
Eek wrote:The mod worked fine for an hour on my killboard, then i went fixing some other stuff (carrier item locations)

Now i see the following error when i click on "Corp Stats" in the top navigation:

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 543 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: asort
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 310, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 318 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 318, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 540 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 543 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 543, function: arsort
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 545 in file /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.26 (Linux), EDK 4.0.4 (Crucible)
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 545, class: EDKError, function: handler
File: /kbroot/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 393, class: AlliCorpStats, function: subvalSort
File: /kbroot/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /kbroot/kb/common/index.php, line: 289, function: include
File: /kbroot/kb/index.php, line: 27, function: include
Does anybody have an idea what could cause this?
kanoubi
Noob
Posts: 1
Joined: Sun Aug 01, 2010 20:34

Re: [EDK4] allicorpstats_page update

Post by kanoubi »

When i click on Corp Stats, i get a white screen.
Its a new install, is there a solution for this bug ?
http://kboard.darknessalliance.com/?a=corp_stats
Subsparx
Noob
Posts: 9
Joined: Sat Aug 17, 2013 00:10

Re: [EDK4] allicorpstats_page update

Post by Subsparx »

The new 4.2.0 version of EDK appears to have broken this mod. This is what I get now when I try to load the corp stats page.

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 64 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\includes\api\class.alliance.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\includes\api\class.alliance.php, line: 64, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 33, class: API_Alliance, function: LocateAllianceID
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 544 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 544, function: asort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 319 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 319, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 544 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 544, function: arsort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php
PHP 5.4.14 (WINNT), EDK 4.2.0.0 (Rubicon 1.3)
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\class.allicorpstats.php, line: 406, class: AlliCorpStats, function: subvalSort
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\mods\allicorpstats_page\corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\common\index.php, line: 299, function: include
File: C:\inetpub\wwwroot\kb.heiian.com\htdocs\index.php, line: 27, function: include
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

Hi,

that error does not look like the update to 4.2 has something to do with it, but I will take a closer look.
Never have used this mod before..

Regards,
Salvoxia
Subsparx
Noob
Posts: 9
Joined: Sat Aug 17, 2013 00:10

Re: [EDK4] allicorpstats_page update

Post by Subsparx »

It might not be but it worked perfectly prior to the update. I can't seem to get it to work without it dumping out a huge amount of errors now. It's a pretty nice mod as it allows us to track the individual corporation activity easily.
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

Hi,

I took a closer look at that thing.
Works fine on my test killboard if you set the setting "(only shows corp with minimum set number or 0 to disable)" in the mods settings to some number > 0.
But throws errors, if you set it to 0 or haven't touched settings at all.

Regards,
Salvoxia
Subsparx
Noob
Posts: 9
Joined: Sat Aug 17, 2013 00:10

Re: [EDK4] allicorpstats_page update

Post by Subsparx »

The issue now that I've looked more in to it appears to be something else. While this mod is broken after the 4.2 update, I believe it's not working due to another page that's broken. I can't for some reason load up my alliance stats page anymore, whether from clicking on stats, or clicking on our alliance name within a killmail. http://kb.heiian.com/?a=alliance_detail ... d=99004125

I'll make a new thread in support if I can't find somebody else with a similar issue.
anchorhead
Someday Author
Posts: 95
Joined: Thu May 16, 2013 12:48

Re: [EDK4] allicorpstats_page update

Post by anchorhead »

(I speak french sorry for my bad english)

I found fix when we are alliance details page :

http://192.168.1.15/?a=alliance_detail&all_id=3
http://192.168.1.15/?a=alliance_detail&all_ext_id=1354830081

As you see, there are 2 ID for an alliance (corp also)

Problem with all alliance page detail (with all_id), link in menu ("Alliance Corp Stats") go to owner alliance and for pilot owner killboard : error ^^ with all_id

Just replace this line (15) in init.php with that :

Code: Select all

		$page->addMenuItem( "link","Alliance Corp Stats", "?a=corp_stats&all_id=" . $_GET['all_ext_id'] . $_GET['all_id']);
Code added :

Code: Select all

$_GET['all_id']


Now mod can search all_id :).
Post Reply