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