Search…

X3 Photo Gallery Support Forums

Search…
 
Bitmaster
Topic Author
Posts: 2
Joined: 12 Dec 2010, 16:02

v2.5b: Fatal error when altering Contentfolder setting

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:
Code
User Error: The path, entered to contentfolder setting, is not a valid folder (/iv-includes/include/ivXmlNodeDir.class.php:31)
with
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
However, the new contentfolder value IS saved and working. I'm still worried though, if something somewhere is not in order anymore.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: v2.5b: Fatal error when altering Contentfolder setting

13 Dec 2010, 07:07

Thanks for notifying us. We'll see what we can do about it.
Just delete site/folders.xml which contains the cache of all folders and it should fix it.
firedev.com