plasticam
Total Posts: 12
Joined: 2008-10-25
I get the following error now when either trying to edit an existing or creat a new rule:
Output format is not specified. Please, specify “format” key in constructor, or set it using setFormat().
help!
Posted: November 20 2008
| top
Anton Makarenko
Total Posts: 184
Joined: 2008-05-13
Los Angeles, CA
I believe your file app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main.php was not updated.
Signature
Magento Tech PM
--
To avoid trouble, don’t tamper with core code. Write customizations!
Community-driven User Guide
Feel free to send me PM with links to really interesting or problematic forum posts.
Posted: November 20 2008
| top
| # 1
yesper
Total Posts: 6
Joined: 2008-07-29
I’ve updated the app/code/core/Mage/Adminhtml/Block/Promo/Quote/Edit/Tab/Main.php manually from the 1.1.8 download package but I get still the error!!
HELP!!!
Posted: November 27 2008
| top
| # 2
kAnAnA
Total Posts: 16
Joined: 2008-09-29
I have the similar problem. In backend when i go to ADD NEW CMS PAGE or else EDIT an existent cms page i got this error:
Output format is not specified . Please , specify "format" key in constructor , or set it using setFormat (). Trace : #0 /home/gaspt/public_html/app/design/adminhtml/default/default/template/widget/form/renderer/fieldset/element.phtml(34): Varien_Data_Form_Element_Date->getElementHtml() #1 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/gaspt/pub...') #2 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #3 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #4 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #5 /home/gaspt/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form/Renderer/Fieldset/Element.php(51): Mage_Core_Block_Abstract->toHtml() #6 /home/gaspt/public_html/lib/Varien/Data/Form/Element/Abstract.php(194): Mage_Adminhtml_Block_Widget_Form_Renderer_Fieldset_Element->render(Object(Varien_Data_Form_Element_Date)) #7 /home/gaspt/public_html/lib/Varien/Data/Form/Element/Abstract.php(204): Varien_Data_Form_Element_Abstract->getHtml() #8 /home/gaspt/public_html/lib/Varien/Data/Form/Element/Fieldset.php(76): Varien_Data_Form_Element_Abstract->toHtml() #9 /home/gaspt/public_html/app/design/adminhtml/default/default/template/widget/form/renderer/fieldset.phtml(40): Varien_Data_Form_Element_Fieldset->getChildrenHtml() #10 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/gaspt/pub...') #11 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #12 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #13 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #14 /home/gaspt/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form/Renderer/Fieldset.php(51): Mage_Core_Block_Abstract->toHtml() #15 /home/gaspt/public_html/lib/Varien/Data/Form/Element/Abstract.php(194): Mage_Adminhtml_Block_Widget_Form_Renderer_Fieldset->render(Object(Varien_Data_Form_Element_Fieldset)) #16 /home/gaspt/public_html/lib/Varien/Data/Form/Element/Abstract.php(204): Varien_Data_Form_Element_Abstract->getHtml() #17 /home/gaspt/public_html/lib/Varien/Data/Form.php(209): Varien_Data_Form_Element_Abstract->toHtml() #18 /home/gaspt/public_html/lib/Varien/Data/Form.php(221): Varien_Data_Form->toHtml() #19 /home/gaspt/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(74): Varien_Data_Form->getHtml() #20 /home/gaspt/public_html/app/design/adminhtml/default/default/template/widget/form.phtml(28): Mage_Adminhtml_Block_Widget_Form->getFormHtml() #21 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/gaspt/pub...') #22 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #23 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #24 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #25 /home/gaspt/public_html/app/code/core/Mage/Adminhtml/Block/Cms/Page/Edit/Tabs.php(57): Mage_Core_Block_Abstract->toHtml() #26 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(642): Mage_Adminhtml_Block_Cms_Page_Edit_Tabs->_beforeToHtml() #27 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() #28 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml() #29 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml() #30 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml('left', true) #31 /home/gaspt/public_html/app/design/adminhtml/default/default/template/page.phtml(57): Mage_Core_Block_Abstract->getChildHtml('left') #32 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(144): include('/home/gaspt/pub...') #33 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView('adminhtml/defau...') #34 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView() #35 /home/gaspt/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml() #36 /home/gaspt/public_html/app/code/core/Mage/Core/Model/Layout.php(525): Mage_Core_Block_Abstract->toHtml() #37 /home/gaspt/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(326): Mage_Core_Model_Layout->getOutput() #38 /home/gaspt/public_html/app/code/core/Mage/Adminhtml/controllers/Cms/PageController.php(106): Mage_Core_Controller_Varien_Action->renderLayout() #39 /home/gaspt/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(349): Mage_Adminhtml_Cms_PageController->editAction() #40 /home/gaspt/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Admin.php(143): Mage_Core_Controller_Varien_Action->dispatch('edit') #41 /home/gaspt/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(174): Mage_Core_Controller_Varien_Router_Admin->match(Object(Mage_Core_Controller_Request_Http)) #42 /home/gaspt/public_html/app/Mage.php(447): Mage_Core_Controller_Varien_Front->dispatch() #43 /home/gaspt/public_html/index.php(52): Mage::run() #44 {main}
I have installed the 1.1.8 release (update from 1.1.6 to 1.1.7 and now from 1.1.7 to 1.1.8 by the MagentoConnect!
Any solutions, tips ?
Thanks in advance
Posted: November 27 2008
| top
| # 3
yesper
Total Posts: 6
Joined: 2008-07-29
Maybe try this:
<?php $_element = $this->getElement() ?>
<?php if (!$_element->getNoDisplay()): ?>
<tr>
<?php if ($_element->getType()=='hidden'): ?>
<td colspan="3" class="hidden"><?php echo trim($_element->getElementHtml()) ?></td>
<?php else: ?><?php Mage::log(trim($_element->getLabelHtml()).' '.$_element->getType()); ?>
<td class="label"><?php echo trim($_element->getLabelHtml()) ?></td>
<td class="value">
<?php if (get_class($_element)=='Varien_Data_Form_Element_Date' && $_element->getFormat()==''): ?>
<?php $_element->setFormat(Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT)) ?>
<?php endif; ?>
<?php echo trim($_element->getElementHtml()) ?>
</td>
<td<?php if ($_element->getNote()): ?> class="note"<?php endif ?>><small><?php echo $_element->getNote()?$_element->getNote():' ' ?></small></td>
<?php endif; ?>
</tr>
<?php endif; ?>
in /app/design/adminhtml/default/default/template/widget/form/renderer/fieldset/element.phtml
Posted: November 27 2008
| top
| # 4
7th SENSE new media GmbH
Total Posts: 25
Joined: 2008-04-03
Reutlingen, Germany
It seems that the connect-updater doesn’t work right.
I updated my test-store (luckily not the production-stores) and now I get many different errors. Some files are missing and the above mentioned error with a not updated file. Tht’s really annoying!
...
a minute later
...
AAAHHHH, I figured it out!
In my testinstallaion the Meta-Package is missing!
Just load
magento - core / Mage_All_Latest
in your package-manager and all works fine :D
Signature
Magento Internetagentur 7thSENSE new media GmbH
http://www.7thsense.de
Posted: December 2 2008
| top
| # 5
jrenschler
Total Posts: 9
Joined: 2008-12-11
yesper’s suggestion worked beautifully. Thanks!
Posted: December 17 2008
| top
| # 6