Jump to content

Recommended Posts

Posted

Hello!

I've just installed the SimBrief PHPvms Module, to fine that I'm getting a lot of errors. I go to my website http://www.flysimple.co.uk/pilotarea/index.php then I go to http://www.flysimple.co.uk/pilotarea/index.php/SimBrief and I get this:

http://pastebin.com/9ZdVGyAP

This is the SimBrief.php file:

<?php

class SimBrief extends CodonModule

{

public function index()

{

$url = 'http://www.simbrief.com/ofp/flightplans/xml/'.$this->get->ofp_id.'.xml';

$xml = simplexml_load_file($url);

$this->set('info', $xml);

$this->render('SimBrief/SimBrief.tpl');

//print_r($xml);

}

}

Line 12 is:

$xml = simplexml_load_file($url);

Please could you help me resolve my problem?

Harry

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...