Jump to content

Error message when uploading schedules


Jas

Recommended Posts

Hi I'm getting this error message when I go to upload flight routes. Any idea on what's happening?

Warning: simplexml_load_file(http://ws.geonames.org/search?maxRows=1&featureCode=AIRP&q=OBII) [function.simplexml-load-file]: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/explorev/public_html/php/core/common/OperationsData.class.php on line 348

Link to comment
Share on other sites

Looks like it's related to creating new airport entries while it imports the routes. In the meantime, enter the problem airports manually and see if that helps.

EDIT: Well, the easiest way is above. What PHP version are you running? It sounds like a configuration issue to me, and sometimes that is best resolved by trying another configuration or version of PHP. Gotta love PHP bugs. You can check this post out to see what you can do: http://bytes.com/groups/php/550445-warning-fsockopen-php_network_getaddresses-getaddrinfo-failed-name-service-not-known

Link to comment
Share on other sites

It was working before on hostmonster.com which I understand uses PHP 5. I'll try your suggestion of entering them manually but it was a great help to do it automatically

Edit: Now working: In hindsight, I think it was because I was downloading some other stuff, it must have been timing out. Have to remember not to try and two things at once next time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...