[EDK4] allicorpstats_page update

Discuss/Upload mods to the EVE-Dev Killboard.
nefrit
Apprentice
Posts: 56
Joined: Sun Mar 10, 2013 21:10

Re: [EDK4] allicorpstats_page update

Post by nefrit »

Strucker wrote:Fix for this:
Fatal error: Call to a member function getID() on a non-object in /home/galaxyq1/public_html/TF/mods/allicorpstats_page/class.allicorpstats.php on line 59

Add this after line 58 in class.allicorpstats.php

Code: Select all

if (!$this->corpid) {continue;}
Seems to be working for mee..

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 544 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: asort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 311, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 319 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 319, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 541 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 541, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 384, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 544 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 544, function: asort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 384, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 546 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.1.0 (Kronos 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 546, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 384, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 299, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include
boris_t
Noob
Posts: 2
Joined: Tue Jul 22, 2014 13:15

Re: [EDK4] allicorpstats_page update

Post by boris_t »

nefrit wrote:

Code: Select all

WARNING [2] Invalid argument supplied for foreach() ...
I'm fix it. Please get code https://github.com/6RUN0/allicorpstats_page .
nefrit
Apprentice
Posts: 56
Joined: Sun Mar 10, 2013 21:10

Re: [EDK4] allicorpstats_page update

Post by nefrit »

http://killboard.flame-bridge.ru/?a=corp_stats :(

Code: Select all

WARNING [2] Invalid argument supplied for foreach()
Error on line 547 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 547, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 317, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 550 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 550, function: asort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 317, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 552 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 552, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 317, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 325 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 325, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 547 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 547, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 410, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 550 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 550, function: asort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 410, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include

WARNING [2] Invalid argument supplied for foreach()
Error on line 552 in file /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.3.3-7+squeeze15 (Linux), EDK 4.2.2.0 (Crius 1.0)
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 552, class: EDKError, function: handler
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/class.allicorpstats.php, line: 410, class: AlliCorpStats, function: subvalSort
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/common/index.php, line: 311, function: include
File: /var/www/mouse/data/www/flame-bridge.ru/killboard/index.php, line: 27, function: include
Vaitage
Greenhorn
Posts: 15
Joined: Wed Jan 07, 2015 22:18

Re: [EDK4] allicorpstats_page update

Post by Vaitage »

Hey there

i get a white window

http://eon-alliance.com/killboard/?a=corp_stats

need help :)
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

Hi,

since I doubt this mod as still maintained by the original author, I did a quick look and fixed the main problem.
I also fixed a bunch of small other bugs.
Make sure to visit the mod's settings before activating it.
If this works for you (it does for me), I'll upload the opener post.

Regards,
Salvoxia
Attachments
allicorpstats_page_11.rar
Version 1.1 for EDK 4.2
(17.89 KiB) Downloaded 590 times
anchorhead
Someday Author
Posts: 95
Joined: Thu May 16, 2013 12:48

Re: [EDK4] allicorpstats_page update

Post by anchorhead »

anchorhead wrote:(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 :).
I set your update and i have lot of bug :
I needed to modify as quote.
When alliance is closed i have that :

Code: Select all

Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] Invalid argument supplied for foreach()
Error on line 537 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 537, class: EDKError, function: handler
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 307, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] asort() expects parameter 1 to be array, null given
Error on line 540 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, function: asort
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 307, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] Invalid argument supplied for foreach()
Error on line 542 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 542, class: EDKError, function: handler
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 307, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] Invalid argument supplied for foreach()
Error on line 315 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 315, class: EDKError, function: handler
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] Invalid argument supplied for foreach()
Error on line 537 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 537, class: EDKError, function: handler
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] arsort() expects parameter 1 to be array, null given
Error on line 540 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 540, function: arsort
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include


Warning: error_log(cache/error.log): failed to open stream: Permission denied in /var/www/kb/common/includes/class.edkerror.php on line 63
WARNING [2] Invalid argument supplied for foreach()
Error on line 542 in file /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php
PHP 5.4.36-0+deb7u3 (Linux), EDK 4.2.8.0 (Tiamat 1.0)
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 542, class: EDKError, function: handler
File: /var/www/kb/mods/allicorpstats_page/class.allicorpstats.php, line: 386, class: AlliCorpStats, function: subvalSort
File: /var/www/kb/mods/allicorpstats_page/corp_stats.php, line: 123, class: AlliCorpStats, function: generate
File: /var/www/kb/common/index.php, line: 311, function: include
File: /var/www/kb/index.php, line: 27, function: include

Other bug Example : for shadow of death when we click to Alliance corp stats page : Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /var/www/kb/common/pheal/PhealElement.php on line 130
User avatar
Salvoxia
Developer
Posts: 1598
Joined: Wed Feb 22, 2012 12:11

Re: [EDK4] allicorpstats_page update

Post by Salvoxia »

Hi,

did a bit more fixing. Included the fix in your quote, fixed links in the context menu on the corp stats page (which did not include the alliance ID) and added some sanity checks and pre-initializations.
Does not throw errors when viewing for a dead alliance anymore.
The memory problem you reported is not a bug but simply Pheal not having enough memory. You need to increase the memory limit, as some tasks consume vast amounts of it (in that case more than 128M; I set it to 512-1024M for zKB fetching, for instance).

Regards,
Salvoxia
Attachments
allicorpstats_page_12.rar
Version 1.2 for EDK 4.2
(17.93 KiB) Downloaded 686 times
anchorhead
Someday Author
Posts: 95
Joined: Thu May 16, 2013 12:48

Re: [EDK4] allicorpstats_page update

Post by anchorhead »

oh thanks you :) where i can increase limit of pheal and zkb fetching ?

Hum Salvoxia my Kbs are very strange, in about page, corporation number change without change anything in database or add killmail !!!?? Have you an idea ?
anchorhead
Someday Author
Posts: 95
Joined: Thu May 16, 2013 12:48

Re: [EDK4] allicorpstats_page update

Post by anchorhead »

I have modify my php.ini but i have always this error :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /var/www/xxx/common/pheal/PhealElement.php on line 130
User avatar
prometh
Advanced
Posts: 170
Joined: Thu Aug 09, 2012 19:25
Contact:

Re: [EDK4] allicorpstats_page update

Post by prometh »

anchorhead wrote:I have modify my php.ini but i have always this error :

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /var/www/xxx/common/pheal/PhealElement.php on line 130
This means it's still limited to 128mb. Depending on what type of server you run there might be different php.ini files. E.g. On debian its usually
/etc/php5/cli/php.ini for command line usage (and cron jobs)
/etc/php5/cgi/php.ini and /etc/php5/apache2/php.ini depending on whether you use a php plugin or cgi for your webserver.

If you run on shared webhosting its also possible that you're not allowed to change the servers default value

Cheers,
prometh
Post Reply