Author |
Thread Statistics | Show CCP posts - 1 post(s) |

XFranc
Caldari Lucian Alliance
|
Posted - 2008.02.04 22:37:00 -
[1]
Edited by: XFranc on 04/02/2008 22:37:55 Hi there,
Great application this!
Came across a couple of errors that i havent seen posted yet :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /pos/viewpos.php on line 170
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /pos/viewpos.php on line 175
Warning: Division by zero in /pos/viewpos.php on line 246
This is on the http://www.eve-arcane.com/pos/viewpos.php?i=3 page, after adding a Corp Hangar array and a few other things.
|

XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.19 14:43:00 -
[2]
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,
|

XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.19 18:13:00 -
[3]
Thanks for getting back to me, however its been like this for a couple of weeks.
I recently moved host, but i have amended all of the necessary paths that I could find.
Today I reran the entire install, but still getting the error. All of the pre-install checks checked out ok as well.
Thanks,
|

XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.25 16:39:00 -
[4]
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.
|

XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.03.27 17:50:00 -
[5]
Phew, so it wasnt just me :D
|

XFranc
Lucian Alliance Arcane Alliance
|
Posted - 2008.04.07 15:39:00 -
[6]
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
|

XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.14 15:42:00 -
[7]
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 -
[8]
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
|

XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.15 19:32:00 -
[9]
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
|

XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.16 15:09:00 -
[10]
Remove the same line in the updatesov.php
|

XFranc
Caldari Lucian Alliance Arcane Alliance
|
Posted - 2008.04.23 08:07:00 -
[11]
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. |
|
|