@ Double-A-Ron: I get this when I put it into dev mode and go to /dev/build/ -
[Warning] fopen(/tmp/silverstripe-cache-home-phonicfm-public_html/manifestClassParse-_home_phonicfm_public_html_cms_code_AssetAdmin.php) [function.fopen]: failed to open stream: Permission denied
GET /dev/build/
Line 398 in /home/phonicfm/public_html/sapphire/core/ManifestBuilder.php
Source
389 $parseCacheFile = TEMP_FOLDER . "/manifestClassParse-" . str_replace(array("/",":", "\\"),"_", realpath($filename));
390 if(!file_exists($parseCacheFile) || filemtime($parseCacheFile) < filemtime($filename)) {
391 $tokens = token_get_all($file);
392 $classes = self::getClassDefParser()->findAll($tokens);
393 $interfaces = self::getInterfaceDefParser()->findAll($tokens);
394
395 $cacheContent = '<?php
396 $classes = ' . var_export($classes,true) . ';
397 $interfaces = ' . var_export($interfaces,true) . ';';
398 if($fh = fopen($parseCacheFile,'w')) {
399 fwrite($fh, $cacheContent);
400 fclose($fh);
401 }
402
403 } else {
404 include($parseCacheFile);
Trace
* fopen(/tmp/silverstripe-cache-home-phonicfm-public_html/manifestClassParse-_home_phonicfm_public_html_cms_code_AssetAdmin.php,w)
Line 398 of ManifestBuilder.php
* ManifestBuilder::parse_file(/home/phonicfm/public_html/cms/code/AssetAdmin.php)
Line 348 of ManifestBuilder.php
* ManifestBuilder::allClasses(Array)
Line 213 of ManifestBuilder.php
* ManifestBuilder::get_manifest_info(/home/phonicfm/public_html,Array)
Line 98 of ManifestBuilder.php
* ManifestBuilder::create_manifest_file()
Line 91 of DatabaseAdmin.php
* DatabaseAdmin->build()
Line 130 of DevelopmentAdmin.php
* DevelopmentAdmin->build(HTTPRequest)
Line 107 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(dev/build/)
Line 115 of main.php