Pilot lookup
-
- Apprentice
- Posts: 62
- Joined: Sat Jan 31, 2009 03:23
Pilot lookup
Whenever I try to look at stats on a particular pilot I get the following error;
Fatal error: Call to a member function format() on boolean in /common/includes/esi/class.helpers.php on line 134
Have tried replacing the file, and I can't search on this forum to see if the problem has been fixed before, I get a 404 error.
Help appreciated as always
Thanks
Underwoodr
Fatal error: Call to a member function format() on boolean in /common/includes/esi/class.helpers.php on line 134
Have tried replacing the file, and I can't search on this forum to see if the problem has been fixed before, I get a 404 error.
Help appreciated as always
Thanks
Underwoodr
Re: Pilot lookup
Hi,
that seems to be the same problem discussed in this thread: http://www.evekb.org/forum/viewtopic.php?f=504&t=22088
You can either use the hotfix package attached to my last post in that thread, or refer to this commit: https://github.com/evekb/evedev-kb/comm ... 7817ddb93d
Interesting that this is popping up now...
Best Regards,
Salvoxia
P.S.: Strange about the search function, working fine for me.. I'll add this problem to the list of known issues.
that seems to be the same problem discussed in this thread: http://www.evekb.org/forum/viewtopic.php?f=504&t=22088
You can either use the hotfix package attached to my last post in that thread, or refer to this commit: https://github.com/evekb/evedev-kb/comm ... 7817ddb93d
Interesting that this is popping up now...
Best Regards,
Salvoxia
P.S.: Strange about the search function, working fine for me.. I'll add this problem to the list of known issues.
-
- Apprentice
- Posts: 62
- Joined: Sat Jan 31, 2009 03:23
Re: Pilot lookup
Unfortunately neither the files you posted, or the github variants worked. Tried both to be sure,
Same error ;
As for the search, no idea. Tried from two systems from different locations now. It is strange indeed.
Same error ;
Code: Select all
Fatal error: Call to a member function format() on boolean in /home/randomse/public_html/goe/common/includes/esi/class.helpers.php on line 134
Re: Pilot lookup
Hi,
okay, I'm back from my business trip, let's try to analyze this.
Could you please do the same as described in this post and get back here with the results?
Best Regards,
Salvoxia
okay, I'm back from my business trip, let's try to analyze this.
Could you please do the same as described in this post and get back here with the results?
Best Regards,
Salvoxia
-
- Apprentice
- Posts: 62
- Joined: Sat Jan 31, 2009 03:23
Re: Pilot lookup
Done, here is the attached error.log from the cache file.
Just to re-cap, I replaced the common/includes/class.pilot.php with the modified one, then got my error.log from the cache folder after going to "Stats" page and then clicking on a pilot.
My error is still this;
All the errors appear to be the same with just different time stamps.
Cheers for the help, you the man
Just to re-cap, I replaced the common/includes/class.pilot.php with the modified one, then got my error.log from the cache folder after going to "Stats" page and then clicking on a pilot.
My error is still this;
Attached is my error.log.Fatal error: Call to a member function format() on boolean in /home/randomse/public_html/goe/common/includes/esi/class.helpers.php on line 134
All the errors appear to be the same with just different time stamps.
Cheers for the help, you the man
- Attachments
-
- error.zip
- (1.21 KiB) Downloaded 377 times
Re: Pilot lookup
Hi,
unfortunately, I don't see what I expect to see in that file. All entries are from January.
Did you use the stats page of an actual player character or maybe landed on an NPC page?
If you used a player character, can you please check and confirm each of the following items:
Best Regards,
Salvoxia
unfortunately, I don't see what I expect to see in that file. All entries are from January.
Did you use the stats page of an actual player character or maybe landed on an NPC page?
If you used a player character, can you please check and confirm each of the following items:
- ACP Troubleshooting section showing all green
- All mods disabled
- All caching disabled
- lines 568 and 569 of your current includes/common/class.pilot.php are
Code: Select all
EDKError::log(print_r($EsiCharacter, TRUE)); EDKError::log(print_r($headers, TRUE));
Best Regards,
Salvoxia
-
- Apprentice
- Posts: 62
- Joined: Sat Jan 31, 2009 03:23
Re: Pilot lookup
I tried to load the stats page from the nav bar, and click on one of the known characters.
If I go here for example;
I can't select the Victim's pilot page, or corp page. But his alliance page loads.
This is not true for all alliances.
I can also confirm that my ACP is all green.
I just disabled the only 2 mods I had enabled, mostexp and known_members
Caching has always been disabled.
Lines 568 and 569 match.
Attached is the new error log
If I go here for example;
Code: Select all
http://www.random-servers.co.uk/goe/?a=kill_detail&kll_id=38793
This is not true for all alliances.
I can also confirm that my ACP is all green.
I just disabled the only 2 mods I had enabled, mostexp and known_members
Caching has always been disabled.
Lines 568 and 569 match.
Attached is the new error log
- Attachments
-
- error (2).zip
- (5.96 KiB) Downloaded 411 times
Re: Pilot lookup
Hi,
now that's exactly what I was expecting.
Which is kind of strange, because the files linked in my first reply should have fixed that.
Could you please do the following:
Confirm that line 202 of your current common/includes/esi/class.esi.php equals.
If so, please clear your cache/esi folder and try again (the ESI client always caches in some way)
Best Regards,
Salvoxia
now that's exactly what I was expecting.
Which is kind of strange, because the files linked in my first reply should have fixed that.
Could you please do the following:
Confirm that line 202 of your current common/includes/esi/class.esi.php equals
Code: Select all
$http_header = array_change_key_case($http_header, CASE_LOWER);
If so, please clear your cache/esi folder and try again (the ESI client always caches in some way)

Best Regards,
Salvoxia
-
- Apprentice
- Posts: 62
- Joined: Sat Jan 31, 2009 03:23
Re: Pilot lookup
Hi there,
Sorry took a day or so to reply, had a bit of a mad rush of work!
Can confirm line 202 is the same, i overwrote it just in case. I cleared the whole cache folder for good measure,
Problem still persists.
Sorry to throw a spanner into the works
I can send you a link if you would like to see for yourself?
Thanks
Sorry took a day or so to reply, had a bit of a mad rush of work!
Can confirm line 202 is the same, i overwrote it just in case. I cleared the whole cache folder for good measure,
Problem still persists.
Sorry to throw a spanner into the works

I can send you a link if you would like to see for yourself?
Thanks
Re: Pilot lookup
Hm, could you please also check that line 568 in file common/includes/class.pilot.php is
What kind of link were you thinking of?
The important part is "last-modified" in lower case letters! That's what the problem was in the other case. And it still looks like the timestamp value in that response header cannot be parsed. However, in your error log I can see the value has a compatible format, so...$Pilot = Pilot::add($this->name, $this->corp, ESI_Helpers::formatRFC7231Timestamp($headers['last-modified']), $this->externalid, false);
What kind of link were you thinking of?