v2.5b: Fatal error when altering Contentfolder setting
Posted: 13 Dec 2010, 03:54
In v2.5 beta, I wanted the contentfolder to be 'site'. So I renamed it and altered the contentfolder value in Settings to match. When I do that, it returns a fatal error:
with
However, the new contentfolder value IS saved and working. I'm still worried though, if something somewhere is not in order anymore.
Code
User Error: The path, entered to contentfolder setting, is not a valid folder (/iv-includes/include/ivXmlNodeDir.class.php:31)Code
Fatal error: Uncaught exception 'Exception' with message 'Argument 1 passed to ivRecursiveFolderIterator::__construct() must be an instance of ivFolder or ivRecordCollection, instance of given' in /custom/censored.domain/censored.domain/httpd.www/iv-includes/include/ivRecursiveFolderIterator.class.php:15 Stack trace: #0 /custom/censored.domain/censored.domain/httpd.www/user/templates/layout.phtml(127): ivRecursiveFolderIterator->__construct(false) #1 /custom/censored.domain/censored.domain/httpd.www/iv-includes/include/ivView.class.php(70): include('/custom/censored...') #2 /custom/censored.domain/censored.domain/httpd.www/iv-includes/include/ivControllerFront.class.php(108): ivView->fetch('layout') #3 /custom/censored.domain/censored.domain/httpd.www/user/index.php(41): ivControllerFront->dispatch('/custom/censored...') #4 {main} thrown in /custom/censored.domain/censored.domain/httpd.www/iv-includes/include/ivRecursiveFolderIterator.class.php on line 15