These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

JackKnife 2.0

First post
Author
Equto
Imperium Technologies
Sigma Grindset
#101 - 2013-01-21 02:28:28 UTC
I forgot to remove that file >.> .... DON'T LOOK AT ME LIKE THAT
enterprisePSI
#102 - 2013-01-22 10:47:13 UTC
when attempting to get contracts from http://whinis.com/JackKnife/ i get this

Quote:
FATAL SQL ERROR
QUERY: 'SELECT * FROM jack_invGroups WHERE groupID IN (107,489,1137,107,420,74,212,85,74,212,85,302,302,302,910,212,377,489,489,490,489,)'

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1

Backtrace:


etc etc etc...


Sad

The tears of the many, outweigh the tears of the few. Or the one. enterprise-psiĀ©

Equto
Imperium Technologies
Sigma Grindset
#103 - 2013-01-22 13:44:31 UTC  |  Edited by: Equto
I need to update that later today, been kinda busy

Its apparently not pulling in nullsec stations anymore, so I will need to research this more.
enterprisePSI
#104 - 2013-01-23 09:18:43 UTC
Ok, now it works, but it doesnt show any completed contracts after 15/01/2013...

The tears of the many, outweigh the tears of the few. Or the one. enterprise-psiĀ©

Equto
Imperium Technologies
Sigma Grindset
#105 - 2013-01-25 13:30:57 UTC
I have fixed the issue with the station list not working after first install, updating the conquerable station list was not in the contract code and an over site. However I can't reproduce the error with the contracts, mine go back to the beginning of January, The api only goes back a max of 30 days.
Stantum Zateki
Center For Kids Who Can't Fly Good
Zoo Landers
#106 - 2013-01-26 16:23:15 UTC  |  Edited by: Stantum Zateki
One suggestion - have a style change on the buttons when you press them (on the installer page).

Edit: Upon loading the api into the system, I get the following errors

Strict Standards: gmmktime(): You should be using the time() function instead in C:\xampp\htdocs\eve\eveApi\eveApiTraining.class.php on line 57

Notice: Array to string conversion in C:\xampp\htdocs\eve\eveApi\eveDb.php on line 558

(Tons of the Array to string - id say about 200+) Image here: http://i.imgur.com/e9uQUpV.png

Then after I scroll down past all the errors the page loads fine. Same thing happens when I try to reload the page.

Edit: Think I fixed the first error:

Quote:
date_default_timezone_set("UTC");
$gmtTime = time();


Still no idea about the second
Racksforus
Blackwater USA Inc.
Pandemic Horde
#107 - 2013-02-20 16:26:40 UTC
Stantum Zateki wrote:
One suggestion - have a style change on the buttons when you press them (on the installer page).

Edit: Upon loading the api into the system, I get the following errors

Strict Standards: gmmktime(): You should be using the time() function instead in C:\xampp\htdocs\eve\eveApi\eveApiTraining.class.php on line 57

Notice: Array to string conversion in C:\xampp\htdocs\eve\eveApi\eveDb.php on line 558

(Tons of the Array to string - id say about 200+) Image here: http://i.imgur.com/e9uQUpV.png

Then after I scroll down past all the errors the page loads fine. Same thing happens when I try to reload the page.

Edit: Think I fixed the first error:

Quote:
date_default_timezone_set("UTC");
$gmtTime = time();


Still no idea about the second


first off a disclaimer, i have no idea how to write php or make it do stuff, i do however know how to google. :)

For the "Notice: Array to string conversion" error, i had a long talk with google, and after a day or so i think i figured out a solotion to it, however, as im kinda fumbling in the blind here not knowing php and all i dont know if this fucks up **** further down the road, but from what ive been able to test it seems to work ok.

On line 558 in the eveDb.php file change the following:
original:
$items = array_diff($items,$this->typesCache);
Fixed:
$items = array_diff_assoc($items,$this->typesCache);


That did it for me. it seems to be related to newer versions of php.
Tonto Auri
Vhero' Multipurpose Corp
#108 - 2013-02-20 18:45:48 UTC
Stantum Zateki wrote:

Edit: Think I fixed the first error:

Quote:
date_default_timezone_set("UTC");
$gmtTime = time();


Still no idea about the second

Why such a weird "fix", that is not fixing anything?
time() is already returning universal UNIX time, which does not differ by timezones.

Two most common elements in the universe are hydrogen and stupidity. -- Harlan Ellison

Equto
Imperium Technologies
Sigma Grindset
#109 - 2013-02-21 15:34:15 UTC
None of these a really "errors", the Strict Standards is more of php saying You should do this every time rather than its wrong. the array to string conversion tends to be an error on an empty array, php then tends to handle it wierdly.
Ali Aras
Nobody in Local
Deepwater Hooligans
#110 - 2013-05-20 02:11:53 UTC
Hey, just tried this tool out. It was mostly great, but it claims Ali can't use an Invuln II (I've had a t2 shield tank for a while now). Is it possible the cutoff for that isn't in right?

http://warp-to-sun.tumblr.com -- my blog

Equto
Imperium Technologies
Sigma Grindset
#111 - 2013-06-05 03:57:27 UTC
Updated to odyssey, Also I will look into that t2 shield extender problem. I didn't write the orignal function for that so its going to take a little time, I have alot on my plate right now.
DrakoWolf
REDLEGION
#112 - 2013-06-07 22:02:37 UTC
Using the save function to account, appears some Account/full API's do not allow to be saved to remain as part of the manage account... does not give error.
and enter it's name and note., click save API. and it does nothing. multiple other accounts will work no problem. Any specific API or masks not allowed to be saved ?
Balder Verdandi
Wormhole Sterilization Crew
#113 - 2013-07-27 15:18:37 UTC
AARC
Hallowed are The ORI
#114 - 2013-08-18 11:33:30 UTC  |  Edited by: AARC
So I went to try this out and after a few clicks I already ran in to this:
Quote:
Notice: Trying to get property of non-object in D:\Inetpub\***\***jackknife\eve.funcs.php on line 222 Notice: Trying to get property of non-object in D:\Inetpub\****\***jackknife\eve.funcs.php on line 227 Fatal error: Call to a member function xpath() on a non-object in D:\Inetpub\****root\****jackknife\eve.funcs.php on line 227


( I removed a part of the directories in this post for security purposes )

This happend while trying to pull mails.
Equto
Imperium Technologies
Sigma Grindset
#115 - 2013-08-21 18:20:31 UTC
AARC wrote:
So I went to try this out and after a few clicks I already ran in to this:
Quote:
Notice: Trying to get property of non-object in D:\Inetpub\***\***jackknife\eve.funcs.php on line 222 Notice: Trying to get property of non-object in D:\Inetpub\****\***jackknife\eve.funcs.php on line 227 Fatal error: Call to a member function xpath() on a non-object in D:\Inetpub\****root\****jackknife\eve.funcs.php on line 227


( I removed a part of the directories in this post for security purposes )

This happend while trying to pull mails.



I am not entirely sure why you are getting that error, however that function deals with retrieving character names so I would assume that the call to ccp for a character name didn't return correctly for some reason.
Equto
Imperium Technologies
Sigma Grindset
#116 - 2013-11-13 13:49:11 UTC
Alright people, I have found the problem, it appears that I forgot to update a file in the rar and college has been killing me. But I have uploaded a new rar
Sona Arnst
Regnum demens Deus
#117 - 2014-01-15 07:15:41 UTC
So true fact, I suck at setting this kind of stuff up. Could someone give me a quick rundown on if this will run on a centos system and some quick steps on install? I've done webhosting before however I've never dealt with php or databases.
Equto
Imperium Technologies
Sigma Grindset
#118 - 2014-01-16 22:08:13 UTC
Sona Arnst wrote:
So true fact, I suck at setting this kind of stuff up. Could someone give me a quick rundown on if this will run on a centos system and some quick steps on install? I've done webhosting before however I've never dealt with php or databases.

It will work well on centos system, I have them running on centos myself.

for php mysql and other things look up lamp and how to install it on centos, then just create you mysql user and run the install script I include with jackknife.