QuickAppsCMS/QuickApps-CMS — Issue #24: theme installation/unistallation problem
Author: Gabri
Created: 2012-01-22 14:17:02+00:00
State: open

I encounter (again) problems on installation of a theme (zip made with the shell script).
After the installation I cannot see the default image of the theme and the information contained in the yaml file (the 'settings' field of 'module' table is NULL).
Then if I try to uninstall the theme I have an error message at the top of the page:
"Error uninstalling theme '[Theme name]'"
So I checked the error.log file. I discovered that during these opeations (install/uninstall) I have this stack trace:

2012-01-22 15:03:12 Error: [NotFoundException] The requested file was not found
#0 /home/gabri/workspace/uacepquickapp/app/Cake/Controller/Controller.php(933): MediaView->render(NULL, NULL)
#1 /home/gabri/workspace/uacepquickapp/app/Cake/Routing/Dispatcher.php(111): Controller->render()
#2 /home/gabri/workspace/uacepquickapp/app/Cake/Routing/Dispatcher.php(86): Dispatcher->_invoke(Object(ThemesController), Object(CakeRequest), Object(CakeResponse))
#3 /home/gabri/workspace/uacepquickapp/webroot/index.php(47): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#4 {main}

I have this stack trace twice for every operation (with same text and timestamp too)

Initially I tought that the problem could be the fact that I used (in the first test) a Theme name with a quote character inside; anyway trying to make a TestTheme with no strage chars and I have the same behavior.

I hope it helps