Hey guys, i'm a noob, but I couldn't find anyone to hire to fix my issue, so now i'm just going to try and fix it myself. I have an issue where I upgraded Community builder and the PluginHandler doesn't load, so I cannot upload the new plugins necessary to work with my site.
Warning: SimpleXMLElement::saveXML(<span>/</span>home<span>/</span>reberli/montereyoffices.com/cache/cbpluginsversions.xml): failed to <span>open</span> stream: No such file or directory in <span>/</span>home<span>/</span>reberli/montereyoffices.com/libraries/CBLib/CB/Legacy/cbPluginHandler.php on line 1440
I went into FileZilla and looked up the line of code referenced to see if I could edit something to get results (based off a forum post I found online, no dice, but maybe you can see something?)
{
global $_CB_framework, $ueConfig;
cbimport( 'cb.snoopy' );
static $plgVersions = null;
if ( $plgVersions === null ) {
$cacheFile = $_CB_framework->getCfg( 'absolute_path' ) . '/cache/cbpluginsversions.xml';
$plgVersionsXML = null;
if ( file_exists( $cacheFile ) ) {
if ( ( ! $duration ) || ( intval( ( $_CB_framework->now() - filemtime( $cacheFile ) ) / 3600 ) > $duration ) ) {
$request = true;
} else {
$plgVersionsXML = new SimpleXMLElement( trim( file_get_contents( $cacheFile ) ) );
$request = false;
}
} else {
$request = true;
}
if ( $request ) {
$s = new CBSnoopy();
$s->read_timeout = 30;
$s->referer = $_CB_framework->getCfg( 'live_site' );
@$s->fetch( '
update.joomlapolis.net/cbpluginsversions20.xml
' );
if ( (int) $s->status == 200 ) {
try {
$plgVersionsXML = new SimpleXMLElement( $s->results );
$plgVersionsXML->saveXML( $cacheFile );
} catch ( Exception $e ) {}
}
}
if ( $plgVersionsXML ) {
$plgVersions = $plgVersionsXML->getElementByPath( 'cb_plugins/' . ( checkJversion() >= 2 ? 'j30' : 'j15' ) );
} else {
$plgVersions = false;
}
}
The code above is as found, I didn't alter it. Can you help me out?