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) |
P Stuyvesant
Persnickety Pilots
|
Posted - 2008.03.25 12:48:00 -
[301]
I am having trouble setting up small gallente towers in Postracker. When i look for the 'Optimum' fuel quantity, using the fuel calculator, it shows the optimum fuel quantity as 0 in all fields. is this a bug or am I doing something wrong? I am able to find the optimum fuel quantity on other towers, just not small gallente towers.
|
XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.25 16:39:00 -
[302]
Originally by: XFranc Hi there,
Im having some strange errors at the moment and I cant tell if its down to the API or not .
When I run the Sov update - I get this :
Not a valid xml string
When I run the Alliance update - I get this :
atal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /path/pos/updateallianceinfo.php:25 Stack trace: #0 /path/pos/updateallianceinfo.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /path/pos/updateallianceinfo.php on line 25
Any advice would be appreciated.
Thanks,
With the help of a friend we managed to resolve this by doing the following :
Removed this line from :
curl_setopt($ch, CURLOPT_POST, 1);
//Begins connecting to eve api
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); // curl_setopt($ch, CURLOPT_POST, 1); $counttotal = 0; $updatestotal = 0; $time = time();
TBH, I dont know why this fixed it, but thought I should share.
|
Johnathan Roark
Quantum Industries Interstellar Alcohol Conglomerate
|
Posted - 2008.03.26 16:55:00 -
[303]
Originally by: XFranc
TBH, I dont know why this fixed it, but thought I should share.
That really shouldn't have caused a problem, but Im guessing ccp changed something, as my install has started doing the same thing.
The POS api is now working again!
POS-Tracker 2.1.0 Hosting |
XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.27 17:50:00 -
[304]
Phew, so it wasnt just me :D
|
La Vittoria
The Littlest Hobos Insurgency
|
Posted - 2008.03.28 09:38:00 -
[305]
When users are registering, seem to be getting the following error. I have not modified mail.php in anyway way so /me shrugs
Warning: mail() [function.mail]: SMTP server response: 501 <"POS TRACKER"<[email protected]>>: "@" or "." expected after ""POS TRACKER"" in C:\%pathhere%\functions.php on line 737
|
XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.04.07 15:39:00 -
[306]
Heres a strange one, whenever I do a cron update - I get this error at the start of the mail :
could not get pos_info; Table '.pos_info' doesn't exist
|
Slayton Ford
|
Posted - 2008.04.09 07:39:00 -
[307]
Setting the tracker up from scratch. when I try to update POS from API, i get "Could not insert values into tower_info; Incorrect integer value: 'NULL' for column 'pos_id' at row 1" --------------- This sig has been censored in fear of recieving the ban hammer... |
Slayton Ford
STK Scientific Black-Out
|
Posted - 2008.04.10 03:54:00 -
[308]
Originally by: Slayton Ford Setting the tracker up from scratch. when I try to update POS from API, i get "Could not insert values into tower_info; Incorrect integer value: 'NULL' for column 'pos_id' at row 1"
Turns out this is caused by a MySQL setting. --------------- This sig has been censored in fear of recieving the ban hammer... |
Zeoliter
Reikoku Band of Brothers
|
Posted - 2008.04.10 11:40:00 -
[309]
This has to be the most worthless piece of w@nk app coded for eve that I ever saw.
|
Johnathan Roark
Caldari Quantum Industries RAZOR Alliance
|
Posted - 2008.04.10 16:41:00 -
[310]
Originally by: La Vittoria When users are registering, seem to be getting the following error. I have not modified mail.php in anyway way so /me shrugs
Warning: mail() [function.mail]: SMTP server response: 501 <"POS TRACKER"<[email protected]>>: "@" or "." expected after ""POS TRACKER"" in C:\%pathhere%\functions.php on line 737
try changing line 731 to $headers = "From: ".SITE_EMAIL.">\r\n" . see if that works. Also check the actual email setting in your config. It should be just the email address.
Originally by: XFranc Edited by: XFranc on 07/04/2008 15:51:10 Heres a strange one, whenever I do a cron update of the Alliance info - I get this error at the start of the mail :
could not get pos_info; Table '.pos_info' doesn't exist
I can not find any refrences to pos_info in cron_updateallianceinfo.php, that was the old name of the the database table tower_info. What version are you running?
Originally by: Slayton Ford
Originally by: Slayton Ford Setting the tracker up from scratch. when I try to update POS from API, i get "Could not insert values into tower_info; Incorrect integer value: 'NULL' for column 'pos_id' at row 1"
Turns out this is caused by a MySQL setting.
Yes, you have strict mode on which is default for windows installations. I am still new when it comes to proper SQL. If anyone wants to volunteer to go through and fix all of the mistakes in the sql statements I would be happy, especially if you explained why it needed changing.
Originally by: Zeoliter This has to be the most worthless piece of w@nk app coded for eve that I ever saw.
Lets see yours?
POS-Tracker 2.1.0 Hosting |
|
Gorespawn
Caldari Galactic Fighter Syndicate
|
Posted - 2008.04.12 02:23:00 -
[311]
Hey, i am having a big issues here, i installed teh latest packagesa from your sourceforge mirror and was unable to install it. I tried it twice, steps doen were as follows:
1. unpacked 2. changed files from readme 3. uploaded 4 went to phpmyadmin, created database 5. added database info on the dist.php thingy 6. uploaded changed files 7. went to server/directory/install/install.php --> did see a normal header and a menue linking back to server/directory/install/login.php etc not server/directory/login.php ... did not see any installsteps went to install2.php - same thing.
Whats wrong or what am i doing wrong ? |
Johnathan Roark
Caldari Quantum Industries RAZOR Alliance
|
Posted - 2008.04.12 04:40:00 -
[312]
Originally by: Gorespawn Hey, i am having a big issues here, i installed teh latest packagesa from your sourceforge mirror and was unable to install it. I tried it twice, steps doen were as follows:
1. unpacked 2. changed files from readme 3. uploaded 4 went to phpmyadmin, created database 5. added database info on the dist.php thingy 6. uploaded changed files 7. went to server/directory/install/install.php --> did see a normal header and a menue linking back to server/directory/install/login.php etc not server/directory/login.php ... did not see any installsteps went to install2.php - same thing.
Whats wrong or what am i doing wrong ?
view source, see if there are any errors that aren't showing up. There isn't really anything in install.php that should cause any problems. Also, make sure config.dist.php is renamed to config.php. Another thing to check is if your host is set to display errors in php.ini.
POS-Tracker 2.1.0 Hosting |
Gorespawn
Caldari Galactic Fighter Syndicate
|
Posted - 2008.04.13 02:09:00 -
[313]
Originally by: Johnathan Roark
Originally by: Gorespawn [...]
view source, see if there are any errors that aren't showing up. There isn't really anything in install.php that should cause any problems. Also, make sure config.dist.php is renamed to config.php. Another thing to check is if your host is set to display errors in php.ini.
renaming the config file helped. |
S'if
|
Posted - 2008.04.13 20:04:00 -
[314]
Can someone give me the novice guide to setting up the cron process.
I have set up the scheduled task to run postrackercron.sh and poscron.sh. Is that correct? Do I need to edit those two files and if so what do I need to put in them? Whatever I've tried doesn't seem to be working so if someone can take the time to explain in detail what needs to be done it would be much appreciated.
|
XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.14 15:42:00 -
[315]
Originally by: XFranc Edited by: XFranc on 07/04/2008 15:51:10 Heres a strange one, whenever I do a cron update of the Alliance info - I get this error at the start of the mail :
could not get pos_info; Table '.pos_info' doesn't exist
Quote:
I can not find any refrences to pos_info in cron_updateallianceinfo.php, that was the old name of the the database table tower_info. What version are you running?
Version that is linked in your starting post : 2.1.0
Could not get pos_info; Table 'dbname.pos_info' doesn't exist2008-04-14 17:00:02<br> Success<br> Systems Updated: 5382SELECT * FROM `pos2_alliance_info` WHERE `allianceID` = 824518128 LIMIT 1<br> SELECT * FROM `pos2
|
XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.14 15:49:00 -
[316]
Originally by: S'if Can someone give me the novice guide to setting up the cron process.
I have set up the scheduled task to run postrackercron.sh and poscron.sh. Is that correct? Do I need to edit those two files and if so what do I need to put in them? Whatever I've tried doesn't seem to be working so if someone can take the time to explain in detail what needs to be done it would be much appreciated.
Ensure that the lines in postrackercron.sh
cd ~/<path to>/pos /usr/local/bin/php mail.php
and poscron.sh
cd ~/<path to>/pos /usr/local/bin/php cron_updatepos.php
all point correctly to your directories, and you will need to update the relevant lines in cron_updatesov.php,cron_updatepos.php and cron_updateallianceinfo.php as well
|
Revanom
Gallente Mentis Fidelis R-I-P
|
Posted - 2008.04.15 04:14:00 -
[317]
Hmm it says my sov data is out of date, when i click the button i get:
Not a valid xml string
When I try to update the alliance list I get:
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home/nxtlevel/public_html/igb/postracker/updateallianceinfo.php:25 Stack trace: #0 /home/nxtlevel/public_html/igb/postracker/updateallianceinfo.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /home/nxtlevel/public_html/igb/postracker/updateallianceinfo.php on line 25
any thoughts? CEO - Mentis Fidelis We are always recruiting! Check our recruiting post. |
XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.15 19:32:00 -
[318]
Heres the fix mate :
Originally by: XFranc Hi there,
Im having some strange errors at the moment and I cant tell if its down to the API or not .
When I run the Sov update - I get this :
Not a valid xml string
When I run the Alliance update - I get this :
atal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /path/pos/updateallianceinfo.php:25 Stack trace: #0 /path/pos/updateallianceinfo.php(25): SimpleXMLElement->__construct('') #1 {main} thrown in /path/pos/updateallianceinfo.php on line 25
Any advice would be appreciated.
Thanks,
With the help of a friend we managed to resolve this by doing the following :
Removed this line from :
curl_setopt($ch, CURLOPT_POST, 1);
//Begins connecting to eve api
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HEADER, false); // curl_setopt($ch, CURLOPT_POST, 1); $counttotal = 0; $updatestotal = 0; $time = time();
TBH, I dont know why this fixed it, but thought I should share.
Hope this helps
|
Revanom
Gallente Mentis Fidelis R-I-P
|
Posted - 2008.04.15 22:05:00 -
[319]
The first problem of "not a valid xml string" still happens when I try to update sov... but alliance update now works CEO - Mentis Fidelis We are always recruiting! Check our recruiting post. |
XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.16 15:09:00 -
[320]
Remove the same line in the updatesov.php
|
|
Lillis85
Task Force Zener Atlas Alliance
|
Posted - 2008.04.20 07:42:00 -
[321]
This might allready have been pointed out, but I couldn't find Complex Simple reactor arrays in the modules list and had to add these myself. Just a heads up for future release.
|
Lillis85
Task Force Zener Atlas Alliance
|
Posted - 2008.04.20 17:14:00 -
[322]
Nvm what I said, I saw that they just have other names.
|
Slayton Ford
STK Scientific Black-Out
|
Posted - 2008.04.21 04:39:00 -
[323]
Originally by: XFranc
Originally by: S'if Can someone give me the novice guide to setting up the cron process.
I have set up the scheduled task to run postrackercron.sh and poscron.sh. Is that correct? Do I need to edit those two files and if so what do I need to put in them? Whatever I've tried doesn't seem to be working so if someone can take the time to explain in detail what needs to be done it would be much appreciated.
Ensure that the lines in postrackercron.sh
cd ~/<path to>/pos /usr/local/bin/php mail.php
and poscron.sh
cd ~/<path to>/pos /usr/local/bin/php cron_updatepos.php
all point correctly to your directories, and you will need to update the relevant lines in cron_updatesov.php,cron_updatepos.php and cron_updateallianceinfo.php as well
Any suggestions for those of us running Windows boxes? --------------- This sig has been censored in fear of recieving the ban hammer... |
Lillis85
Task Force Zener Atlas Alliance
|
Posted - 2008.04.21 07:10:00 -
[324]
I'm getting this error messages sometimes when I run the cron job
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: Entity: line 21: parser error : Extra content at the end of the document in cron_updatepos.php on line 192
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: </eveapi><html> in cron_updatepos.php on line 192
Warning: SimpleXMLElement::__construct() [function.SimpleXMLElement---construct]: ^ in cron_updatepos.php on line 192 Not a valid xml stringCould not get tower_info; Lost connection to MySQL server during query
Sometimes it gets through without errors though. Any idea what the cause could be? I'm running PHP 5.2.5 with CURL, simpleXML and hash installed.
|
Tusseh
|
Posted - 2008.04.21 08:52:00 -
[325]
I was getting error 521 when trying to add an api key, so used the suggested edit to addapi.php from earlier in the thread which was as follows:
Quote:
# $ch = curl_init();
# curl_setopt($ch, CURLOPT_URL, $url); # 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)); $url = "http://api.eve-online.com/account/Characters.xml.aspx?userid=".$userid."&apikey=".$apikey; if (!($contents = file_get_contents($url))){ exit; } $xml = new SimpleXMLElement($contents); # $xml = new SimpleXMLElement(curl_exec($ch)); # curl_close($ch);
That worked out fine, However when I try and do the update using the api key, I get error 521. Is there a fix or workaround for updatepos.php along the lines of what had to be done for addapi.php?
|
Jake Hunington
|
Posted - 2008.04.23 06:14:00 -
[326]
I've just setup a new hosted instance of the tracker and I keep getting "You do not have access, ask your CEO for access! If your access has been set, please relog back in to the website!", when I try to login after registering. Is there something else, after going into the database and manually setting the access value to 3, that's needed to get this first user to login?
Thanks, Jake
|
Lillis85
Task Force Zener Atlas Alliance
|
Posted - 2008.04.23 07:30:00 -
[327]
Originally by: Jake Hunington I've just setup a new hosted instance of the tracker and I keep getting "You do not have access, ask your CEO for access! If your access has been set, please relog back in to the website!", when I try to login after registering. Is there something else, after going into the database and manually setting the access value to 3, that's needed to get this first user to login?
Thanks, Jake
Login as user admin with the password you set when you installed the tracker, then go to the admin page and set the user roles there. |
XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.23 08:07:00 -
[328]
Also - check that the user has the pos tracker in the IGB trusted sites.
I've seen this before when the trust hadnt applied properly. |
Jake Hunington
|
Posted - 2008.04.23 12:54:00 -
[329]
Originally by: XFranc Also - check that the user has the pos tracker in the IGB trusted sites.
I've seen this before when the trust hadnt applied properly.
You need to login via OGB with admin prior to using the IGB and setting up trusted sites, correct?
I've not registered any characters into the app yet, just still trying to get the "admin" user to login.
A post I found a long while back showed modifing the database for the user changing the access field value to 3 (the install set this value to 4). Is that not required anymore? I've reload three times since my orginal post and I'm getting stopped at this point each time.
The database appears correct, it has all the tables in it. Is there a permission issue somewhere possibly? I've set the whole web directory to read/write/execute for all users.
|
Apocalytica Insomnia
DarkSide Defenders
|
Posted - 2008.04.23 22:51:00 -
[330]
I today (after more then enough struggle, cause my Server runs an too old version of PHP) installed the SVN-Version of the POS tracker (i believe its 2.1). It works great and so far i found no real bugs yet.
However i have a question about the following feature i found in the Admin-pannel: "Install/Uninstall Regional Moons"
What does it do ? It links back to ./install/install3.php --------------------------- Apocalytica Insomnia DarkSide Defenders Accounting and More
|
|
|
|
|
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 |