|
|
What steps will reproduce the problem?
1. I Add
<modules>
<module id="cache" class="System.Caching.TSqliteCache" />
</modules>
in application.xml
2. i delete the runtime
What is the expected output? What do you see instead?
TConfigurationException
Description
TContent 'LOGO' does not have a matching TContentPlaceHolder.
Source File
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php
(5646)
5635: }
5636: public function injectContent($id,$content)
5637: {
5638: if(isset($this->_placeholders[$id]))
5639: {
5640: $placeholder=$this->_placeholders[$id];
5641: $controls=$placeholder->getParent()->getControls();
5642: $loc=$controls->remove($placeholder);
5643: $controls->insertAt($loc,$content);
5644: }
5645: else
5646: throw new
TConfigurationException('templatecontrol_placeholder_inexistent',$id);
5647: }
5648: protected function initRecursive($namingContainer=null)
5649: {
5650: $this->ensureChildControls();
5651: if($this->_masterClass!=='')
5652: {
5653: $master=Prado::createComponent($this->_masterClass);
5654: if(!($master instanceof TTemplateControl))
5655: throw new
TInvalidDataValueException('templatecontrol_mastercontrol_invalid');
5656: $this->_master=$master;
5657: $this->getControls()->clear();
5658: $this->getControls()->add($master);
Stack Trace
#0
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(5661):
TTemplateControl->injectContent('LOGO', Object(TContent))
#1
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(6199):
TTemplateControl->initRecursive()
#2
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(6194):
TPage->processNormalRequest(Object(THtmlWriter))
#3
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(8333):
TPage->run(Object(THtmlWriter))
#4
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(8299):
TPageService->runPage(Object(m_ProductType), Array)
#5
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(9285):
TPageService->run()
#6
C:\MyFolder\XAMPP\htdocs\aa\protected\AppCode\lib\framework\pradolite.php(8887):
TApplication->runService()
#7 C:\MyFolder\XAMPP\htdocs\aa\index.php(23): TApplication->run()
#8 {main}
What version of the product are you using? On what operating system?
3.16
Please provide any additional information below.
My Name is Ricky I still nubie in prado , i want to make my project
application performance more smooth. Please help me
setiawan.ricky@gmail.com
|