| Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 .. 14 :: one page |
| Author |
Thread Statistics | Show CCP posts - 1 post(s) |

Riu Stuka
Caldari GeoCorp. Paxton Federation
|
Posted - 2008.01.22 13:23:00 -
[181]
Nvm my question got it fixed by using this:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "http://api.eve-online.com/corp/StarbaseList.xml.aspx?userid=".$userid."&apikey=".$apikey."&characterID=".$characterID); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_POST, 1); #curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data)); $curl_error=curl_errno($ch); if($curl_error!=0) { -----------------------------------------------
|

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.22 17:21:00 -
[182]
Originally by: perry2 In the fuel calculator dont display isotopes that tower needs. It's due at line 175 of fuel_calculator.php.
This line needs an "s" $required_isotope = $row['isotope'];
This works $required_isotope = $row['isotopes'];
Are you using code from the SVN? Most of the bugs your finding have already been fixed.
Corporation Management Improvement |

Myrdyr
|
Posted - 2008.01.22 22:40:00 -
[183]
Originally by: Johnathan Roark Edited by: Johnathan Roark on 22/01/2008 17:31:21
Originally by: Viktor Rasmussen I don't know if you're aware of this, but my Gallente large POS is counted as an amarr large one
CPU: 6575 / 5500 PG: 3140000 / 5000000
which are the values for the amarr tower. I don't know where there values comes from - I definitely choosen Gallente CT. The tower itself is located in Amarr space - maybe this is related?
There was some old code doing this, it has been fixed in the SVN.
I just did a `svn update` and the references to $pos_race1 are still there: $ grep -n \$pos_race1 *.php fuel_calculator.php:185: $pos_race1 = 1; fuel_calculator.php:187: $pos_race1 = $pos_race; fuel_calculator.php:199: $sql = "SELECT * FROM " . $db . " WHERE pos_race ='" . $pos_race1 ."' && pos_size = '" . $pos_size . "'"; functions.php:28: $pos_race1 = 1; functions.php:30: $pos_race1 = $pos_race; functions.php:38: $sql = "SELECT * FROM " . $database . " WHERE pos_race = '" . $pos_race1 . "' AND pos_size = '" . $pos_size . "'"; functions.php:196: $pos_race1 = 1; functions.php:198: $pos_race1 = $pos_race; functions.php:209: $sql = "SELECT * FROM " . $database . " WHERE pos_race ='" . $pos_race1 ."' && pos_size = '" . $pos_size . "'"; viewoutpost.php:208: $pos_race1 = 1; viewoutpost.php:210: $pos_race1 = $pos_race;
|

Kartock Maar
Harbingers of Sarrow
|
Posted - 2008.01.23 00:05:00 -
[184]
Originally by: perry2
Originally by: Kartock Maar Edited by: Kartock Maar on 22/01/2008 01:50:03 arse error: syntax error, unexpected ':' in /****/*****/public_html/postrac/install/config.php on line 10
What is the syntax that should be used on this line ..I assume it is the redirect line. Not a PHP expert by any stretch of the imagination. Thanks. for you help
Figured it out.
Can u post your config.php?
<?php /* --- Database connection inforamations ---*/
define('SQL_HOST','localhost'); define('SQL_USER','harbi3_postrac'); define('SQL_PASS','postrac'); define('SQL_DB','harbi3_postrac'); define('TBL_PREFIX', 'harbi3_');
define('REDIRECT_PATH', 'http://'.$_SERVER['HTTP_HOST'].'/postrac/');
$conn = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS) or die('Could not connect to the database; ' . mysql_error()); mysql_select_db(SQL_DB, $conn) or die('Could not select database; ' . mysql_error()); /* --- Pos tracker variables ---*/
$absolocation = 1; #Turns absolute tower location on/off
$minimal_fuel = 48; # Minimal fuel that should be kept in the towers at any time $critical_fuel = 24; # Critical fuel level
$minimal_fuel_font_color = "#E5F212" ; # $critical_fuel_text_color = "#E5F212" ; # $owner_text_color = "#FFFFFF" ; # $edited_text_color = "#FFFFFF" ; #
$minimal_fuel_background_color = "#770000" ; # $critical_fuel_background_color = "#FF0000" ; # $owner_background_color = "#001642" ; # $edited_background_color = "#F13600" ; #
?> I will change all the database information. Your signature exceeds the maximum allowed dimensions of 400x120 pixels -Sahwoolo |

perry2
|
Posted - 2008.01.23 00:40:00 -
[185]
Originally by: Kartock Maar
Originally by: perry2
Originally by: Kartock Maar Edited by: Kartock Maar on 22/01/2008 01:50:03 arse error: syntax error, unexpected ':' in /****/*****/public_html/postrac/install/config.php on line 10
What is the syntax that should be used on this line ..I assume it is the redirect line. Not a PHP expert by any stretch of the imagination. Thanks. for you help
Figured it out.
Can u post your config.php?
<?php /* --- Database connection inforamations ---*/
define('SQL_HOST','localhost'); define('SQL_USER','harbi3_postrac'); define('SQL_PASS','postrac'); define('SQL_DB','harbi3_postrac'); define('TBL_PREFIX', 'harbi3_');
define('REDIRECT_PATH', 'http://'.$_SERVER['HTTP_HOST'].'/postrac/');
$conn = mysql_connect(SQL_HOST, SQL_USER, SQL_PASS) or die('Could not connect to the database; ' . mysql_error()); mysql_select_db(SQL_DB, $conn) or die('Could not select database; ' . mysql_error()); /* --- Pos tracker variables ---*/
$absolocation = 1; #Turns absolute tower location on/off
$minimal_fuel = 48; # Minimal fuel that should be kept in the towers at any time $critical_fuel = 24; # Critical fuel level
$minimal_fuel_font_color = "#E5F212" ; # $critical_fuel_text_color = "#E5F212" ; # $owner_text_color = "#FFFFFF" ; # $edited_text_color = "#FFFFFF" ; #
$minimal_fuel_background_color = "#770000" ; # $critical_fuel_background_color = "#FF0000" ; # $owner_background_color = "#001642" ; # $edited_background_color = "#F13600" ; #
?> I will change all the database information.
Sorry, but i dont find where error is. 
|

Kartock Maar
Harbingers of Sarrow
|
Posted - 2008.01.23 01:12:00 -
[186]
I am sorry for the confusion. I figured out the syntax error but now I am getting this error.
Could not create user;Table 'harbi3_postrac.INTOpos2_user' doesn't exist
This is happening on step 3 Your signature exceeds the maximum allowed dimensions of 400x120 pixels -Sahwoolo |

Garek Selwonk
Gallente UK Corp Rare Faction
|
Posted - 2008.01.23 23:54:00 -
[187]
Originally by: Kartock Maar I am sorry for the confusion. I figured out the syntax error but now I am getting this error.
Could not create user;Table 'harbi3_postrac.INTOpos2_user' doesn't exist
This is happening on step 3
I'm getting the same problem, on install3 its going:
Could not create user;Table 'gskspursc3.INTOpos2_user' doesn't exist
'gskspursc3' is my 'SQL_DB' - so it seems to be having trouble with the database connection when making the admin user... :S
Proud Member of UKCORP - Currently Recruiting |

Kusai
|
Posted - 2008.01.24 02:56:00 -
[188]
Originally by: Garek Selwonk
Originally by: Kartock Maar I am sorry for the confusion. I figured out the syntax error but now I am getting this error.
Could not create user;Table 'harbi3_postrac.INTOpos2_user' doesn't exist
This is happening on step 3
I'm getting the same problem, on install3 its going:
Could not create user;Table 'gskspursc3.INTOpos2_user' doesn't exist
'gskspursc3' is my 'SQL_DB' - so it seems to be having trouble with the database connection when making the admin user... :S
This was answered on page 5 of this thread.
yes there is a little error in install3.php At this line : $sql = "INSERT INTO".TBL_PREFIX."user SET eve_id='1 ....
Just add a space enter "INSERT INTO and "
Good line is : $sql = "INSERT INTO ".TBL_PREFIX."user SET eve_id='1'...
|

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.24 07:29:00 -
[189]
I have regenerated the moon install files. This should fix the ones with duplicate moons. I removed the old code to treat all 4 of the main races as the same race in functions.php, fuel_calculator.php, and viewoutpost.php. The hangar sizes where also missing from Caldari, Gallente, and Minmatar towers in the database. These changes can be found in the SVN. I think this is all the bugs that I know about and I'll try to package it up this weekend.
Corporation Management Improvement |

Cristiana
|
Posted - 2008.01.25 18:29:00 -
[190]
hi
very nice tool, but is there any solution if there is the "error 521" ? I¦ve used a Full-Access-APIkey of an director of our corp... if i query the poslist on my own it works, but with the tool i¦m only getting the error as soon as i try to add the api-key at the admin-panel
thank you very much
|

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.25 19:10:00 -
[191]
Originally by: Cristiana hi
very nice tool, but is there any solution if there is the "error 521" ? I¦ve used a Full-Access-APIkey of an director of our corp... if i query the poslist on my own it works, but with the tool i¦m only getting the error as soon as i try to add the api-key at the admin-panel
thank you very much
There is a work arround at the top of this page. To actually fix it, I would need more details such as webserver software, OS, php and curl version.
Corporation Management Improvement |

Cristiana
|
Posted - 2008.01.25 21:58:00 -
[192]
well, i¦ve tried it... but i dont know what he want¦s with the last open "{" ... without any close ;)
nothing is working... maybe someone can post the working lines of the addapi.php here ? would be great
greetings
btw. currently using a XAMPP on Windows for testing with apache2 and php5
|

Mia Yuuki
|
Posted - 2008.01.25 23:23:00 -
[193]
Heyya,
Just updated to the latest svn and I have to say that I love it. I am stuck on one thing tho, when I logged out, I can no longer log in. Even my admin account will not let me log in. Went to the sql database, reencoded the password in md5 just to be sure, and it matched what was in the database. Deleted a character account and recreated it, then seconds later, it was unable to logon, always failed. the passwords are correct, so not sure where the problem is.
Good luck.
Mia
|

Xies
|
Posted - 2008.01.26 04:09:00 -
[194]
I am having similar issues with passwords. For some reason, the password hash stored in the database is different to the password the 'comparepassword' function is getting passed to it from 'getPasswordHash'.
I modified the 'comparePassword' function to the following:
// compare a password to a hash function comparePassword( $password, $hash ) { $salt = substr( $hash, 0, 8 );
echo getPasswordHash($salt, $password); echo '<br />'; echo $hash; break; return $hash == getPasswordHash($salt, $password);
}
and this is what I got on the output for one of the passwords:
cb50121ff02a8af4ce92dd962e23aaf9 31a1cd3b158e673fe71d5b6fb6da3e58
This function will of course then compare these 2 hashes, and return negative at which point user-transaction.php will redirect to failure.php.
Using PHP Version 5.1.4 with hash enabled on CentOS server with Apache2.
Anyone have any ideas?
|

Yarkan
M'8'S
|
Posted - 2008.01.27 11:19:00 -
[195]
I have downloaded this Progrqamm from sourceforge.net. Just wanted to know which version you keep updating. Is that the link you posted here or is that the sourceforge.net . I am testing atm the sourceforge Version it looks quite nice
|

Yarkan
M'8'S
|
Posted - 2008.01.27 12:57:00 -
[196]
Reaction Things. i have setted up a POS for a Reaction. So i seetted up 4 input Silos and 2 Output Silos. And assigned those silos to the Reaction. The Problem is when i am using 2 output Silos it will fill also 2 output Silos at once. Is there anything planned in the future that you can work with 2 output silos?
|

Akyrah
|
Posted - 2008.01.28 21:24:00 -
[197]
Edited by: Akyrah on 28/01/2008 21:25:35 from the SVN lines 65 and 69 in track.php need to be changed from
$where_statement = "WHERE tower_info.corp = '" . $_SESSION['corp'] ... to
$where_statement = "WHERE ".TBL_PREFIX."tower_info.corp = '" . $_SESSION['corp'] ...
in viewpos.php $hourstofill and $hourstogo should have a check to make sure > 0 to prevent a divide by zero error.
if($rate_vol > 0) { $hourstofill=floor($avalible_silo_vol/$rate_vol); }
if($rate > 0) { $hourstogo=floor($avalible_material/$rate); }
in viewoutpost.php, editoutpost.php added:
// determine if charters are needed $sql = "SELECT count(charters_needed) FROM pos2_tower_info p, pos2_outpost_info o WHERE p.outpost_name = o.outpost_name AND p.charters_needed = 1 AND o.outpost_id = ".$outpost_id; $result3 = mysql_query($sql) or die('Could not select from outpost_update_log; ' . mysql_error()); if (mysql_num_rows($result3) > 0) { $charters_needed = mysql_result($result3,0); }
for empire pos's that use charters.
|

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.29 08:05:00 -
[198]
Originally by: Xies Edited by: Xies on 26/01/2008 04:27:14 I am having similar issues with passwords. For some reason, the password hash stored in the database is different to the password the 'comparepassword' function is getting passed to it from 'getPasswordHash'. Anyone have any ideas?
I've fixed the password.php file to properly salt the passwords. If you have a working install, do not overwrite your current password.php unless you want to delete all of your user accounts.
Originally by: Yarkan I have downloaded this Progrqamm from sourceforge.net. Just wanted to know which version you keep updating. Is that the link you posted here or is that the sourceforge.net . I am testing atm the sourceforge Version it looks quite nice
The link goes to sourceforge.net
Originally by: Yarkan Reaction Things. i have setted up a POS for a Reaction. So i seetted up 4 input Silos and 2 Output Silos. And assigned those silos to the Reaction. The Problem is when i am using 2 output Silos it will fill also 2 output Silos at once. Is there anything planned in the future that you can work with 2 output silos?
I am planning on redoing the silo tracking code, but don't expect it any time soon.
Originally by: Akyrah
from the SVN lines 65 and 69 in track.php need to be changed from
$where_statement = "WHERE tower_info.corp = '" . $_SESSION['corp'] ... to
$where_statement = "WHERE ".TBL_PREFIX."tower_info.corp = '" . $_SESSION['corp'] ...
Yea, missing table prefixes keep on popping up. Adding that is worth it, but if you find a bug, that would be the first thing that needs to be checked.
Originally by: Akyrah
in viewpos.php $hourstofill and $hourstogo should have a check to make sure > 0 to prevent a divide by zero error.
if($rate_vol > 0) { $hourstofill=floor($avalible_silo_vol/$rate_vol); }
if($rate > 0) { $hourstogo=floor($avalible_material/$rate); }
I've been meaning to do that.
Originally by: Akyrah
in viewoutpost.php, editoutpost.php added:
// determine if charters are needed $sql = "SELECT count(charters_needed) FROM pos2_tower_info p, pos2_outpost_info o WHERE p.outpost_name = o.outpost_name AND p.charters_needed = 1 AND o.outpost_id = ".$outpost_id; $result3 = mysql_query($sql) or die('Could not select from outpost_update_log; ' . mysql_error()); if (mysql_num_rows($result3) > 0) { $charters_needed = mysql_result($result3,0); }
for empire pos's that use charters.
I've added a simpler fix in the SVN for this. the outpost() function just needed to return if any POS requires charaters.
Corporation Management Improvement |

Cristiana
|
Posted - 2008.01.29 08:46:00 -
[199]
Edited by: Cristiana on 29/01/2008 08:50:30 hi
well i¦ve added the api-key now by inserting it manually in the database as soon as i hit "update pos from api" i¦m getting the "Error 521" ... whats up with that ? any workarounds ?
greetings and thanks for your help
PS: fixed by editing the updatepos.php with the same lines like addapi.php
|

Pronas
Scoopex The Threshold
|
Posted - 2008.01.29 14:12:00 -
[200]
is there a svn version ?
How contribute to this project ? i have fix the update api code how can only work with 1 api key and fix some setup install code too.
Planning to redo the mail stuff for fuel warning as well
-- The Threshold Diplomat Scoopex CEO
Scoopex is Recruting |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.29 16:59:00 -
[201]
Originally by: Cristiana Edited by: Cristiana on 29/01/2008 08:50:30 PS: fixed by editing the updatepos.php with the same lines like addapi.php
What exactly did you change?
Originally by: Pronas is there a svn version ?
Yes, it is at sourceforge.net, POS-Tracker 2 Project
Originally by: Pronas
How contribute to this project ? i have fix the update api code how can only work with 1 api key and fix some setup install code too.
Planning to redo the mail stuff for fuel warning as well
You can contribute by posting changes or email me changes. I was not aware the was a problem with multiple keys, there is just no point in adding multiple keys from the same corp. Only thing I had planned for the install code was adding support for changing the table prefix.
Corporation Management Improvement |

Pronas
Scoopex The Threshold
|
Posted - 2008.01.30 11:10:00 -
[202]
Originally by: Johnathan Roark
What exactly did you change?
A second MySQL connexion for list api. The same connexion is use for list api and select and update pos, when the code reach second result it's bug.
Originally by: Johnathan Roark
You can contribute by posting changes or email me changes. I was not aware the was a problem with multiple keys, there is just no point in adding multiple keys from the same corp. Only thing I had planned for the install code was adding support for changing the table prefix.
I use it for several corporation of our alliance. sure don't see any interrested for 1 corp.
-- The Threshold Diplomat Scoopex CEO
Scoopex is Recruting |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.30 20:21:00 -
[203]
2.1.0 Beta 2 Released
This is everything in the SVN as of Reversion 117 bundled up.
Corporation Management Improvement |

Ktor
Caldari Clan Shadow Wolf Sylph Alliance
|
Posted - 2008.01.31 18:15:00 -
[204]
Installed Beta2 over Beta1
All registered corp members could not log in till I deleted and had them recreate there accounts. |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.01.31 19:12:00 -
[205]
Originally by: Ktor Installed Beta2 over Beta1
All registered corp members could not log in till I deleted and had them recreate there accounts.
I changed the password.php file to fix the password salting. Its in the readme file and it was also in the release notes not to overwrite this file if you have a working installation unless you want to delete and re-add all of your users. I also mentioned that I changed it a few post back in this thread.
Corporation Management Improvement |

Ktor
Caldari Clan Shadow Wolf Sylph Alliance
|
Posted - 2008.02.01 02:59:00 -
[206]
So the bug in the software was me then.
Easy fix for ya I bet  Sylph Alliance |

Beseiged
Minmatar Rim Collection RC Zenith Affinity
|
Posted - 2008.02.01 18:28:00 -
[207]
I'm getting an error:
Fatal error: Call to undefined function curl_init() in /var/www/www.rimcrc.com/htdocs/pos/addapi.php on line 64
When i try to add an api key. Your signature exceeds the maximum allowed dimensions of 400x120 pixels and filesize of 24000 bytes -Rauth Kivaro ([email protected])
|

Myrdyr
|
Posted - 2008.02.01 18:34:00 -
[208]
Is anyone having any problems with the Optimum fuel calculator not working in editpos.php ? Please post constructively. ~Saint |

Johnathan Roark
Caldari Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.02.01 19:06:00 -
[209]
Originally by: Beseiged I'm getting an error:
Fatal error: Call to undefined function curl_init() in /var/www/www.rimcrc.com/htdocs/pos/addapi.php on line 64
When i try to add an api key.
On the first page of the install script, did it say Yes by the 3 php extentions listed, specifically CURL? If you do not remember, you can safely open the first page again, just do NOT click next.
Originally by: Myrdyr Is anyone having any problems with the Optimum fuel calculator not working in editpos.php ?
Not working in what way? Wrong quantities? No quantities?
Corporation Management Improvement |

Aria Minasa
|
Posted - 2008.02.01 19:32:00 -
[210]
Originally by: Johnathan Roark
Originally by: Beseiged I'm getting an error:
Fatal error: Call to undefined function curl_init() in /var/www/www.rimcrc.com/htdocs/pos/addapi.php on line 64
When i try to add an api key.
On the first page of the install script, did it say Yes by the 3 php extentions listed, specifically CURL? If you do not remember, you can safely open the first page again, just do NOT click next.
Originally by: Myrdyr Is anyone having any problems with the Optimum fuel calculator not working in editpos.php ?
Not working in what way? Wrong quantities? No quantities?
oohhhh it didn't say curl ok. Hmm... maybe should have the next button disabled with a prompt saying, curl needs to work.
|
| |
|
| Pages: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 .. 14 :: one page |
| First page | Previous page | Next page | Last page |