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

S'if
Minmatar
|
Posted - 2008.12.28 00:39:00 -
[1]
ERROR Failed to Add tower info ; Unknown column 'outpost_name' in 'field list'
Getting this error when trying to update from API - any ideas?
|

S'if
Minmatar
|
Posted - 2008.12.28 00:47:00 -
[2]
Originally by: S'if ERROR Failed to Add tower info ; Unknown column 'outpost_name' in 'field list'
Getting this error when trying to update from API - any ideas?
OK, "fixed" this myself by chaning outpos_id to outpost_name in the tower_info table. I'm sure this will probably break something else but at least I've now managed to import the tower info.
|

S'if
Minmatar
|
Posted - 2009.01.07 14:22:00 -
[3]
Trying to set up a Cron job to get automatic API updates. I am getting the following error message mailed to me each time the task runs:
Fatal error: Call to undefined function ADONewConnection() in /usr/local/psa/home/vhosts/freelancerunion.co.uk/httpdocs/postracker/includes/dbfunctions.php on line 71
Any idea what is going on here? |

S'if
Minmatar
|
Posted - 2009.01.07 22:33:00 -
[4]
Originally by: Johnathan Roark
Originally by: S'if Trying to set up a Cron job to get automatic API updates. I am getting the following error message mailed to me each time the task runs:
Fatal error: Call to undefined function ADONewConnection() in /usr/local/psa/home/vhosts/freelancerunion.co.uk/httpdocs/postracker/includes/dbfunctions.php on line 71
Any idea what is going on here?
Are other parts of the tracker working fine? can you run the cron_updatepos.php page with your browser?
It's working fine and when I go to the admin page and hit update POS from API button it all updates perfectly. If I go direct to the cron_updatepos.php page I just get a white screen - is this what I should be seeing? |

S'if
Minmatar
|
Posted - 2009.01.08 10:41:00 -
[5]
Quote:
Yep. What I suspect your issue is, some bad host use php 5 for webpages but are still using php 4 for command line. If you have shell access, try php -r 'phpinfo();' >phpinfo.txt and post the output or evemail it to me
I don't have shell access I believe (host uses Plesk) but if I understand correctly you just want a copy of phpinfo.php file? If so, I'll send that via evemail later tonight.
Cheers
|

S'if
Minmatar
|
Posted - 2009.01.09 07:35:00 -
[6]
Originally by: Johnathan Roark
Originally by: S'if
Quote:
Yep. What I suspect your issue is, some bad host use php 5 for webpages but are still using php 4 for command line. If you have shell access, try php -r 'phpinfo();' >phpinfo.txt and post the output or evemail it to me
I don't have shell access I believe (host uses Plesk) but if I understand correctly you just want a copy of phpinfo.php file? If so, I'll send that via evemail later tonight.
Cheers
No, the PHP CLI and the version for display on the web are not always the same which is what I suspect you problem is. I would ask your host about this.
Well according to my host they are using php5 for the CLI too.
|
|
|