Demo for webext-openfileeditor
...
Supported syntax / If you have a robots.txt file in your /var/www/ directory, click on the following a,span,button:
<a href="[...://]{filepath}" class="openfileeditor" data-line="{linenumb}">...</a>
/
link
<a href="..." class="openfileeditor" data-file="{filepath}" data-line="{linenumb}">...</a>
/
link
<span class="openfileeditor" data-file="{filepath}" data-line="{linenumb}">...</span>
/
...
<span class="openfileeditor" data-line="{linenumb}">{filepath}</span>
/
/var/www/robots.txt
<button class="openfileeditor" data-file="{filepath}" data-line="{linenumb}">....</button>
/
Bellow an OpenMage error page in dev mode:
TypeError: strlen(): Argument #1 ($string) must be of type string, float given #0 /var/www/openmage/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php(301): Mage_Catalog_Model_Layer_Filter_Price->getPriceRange() #1 /var/www/openmage/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(141): Mage_Catalog_Model_Layer_Filter_Price->_getItemsData() #2 /var/www/openmage/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(110): Mage_Catalog_Model_Layer_Filter_Abstract->_initItems() #3 /var/www/openmage/app/code/core/Mage/Catalog/Model/Layer/Filter/Abstract.php(99): Mage_Catalog_Model_Layer_Filter_Abstract->getItems() #4 /var/www/openmage/app/code/core/Mage/Catalog/Block/Layer/Filter/Abstract.php(122): Mage_Catalog_Model_Layer_Filter_Abstract->getItemsCount() #5 /var/www/openmage/app/design/frontend/rwd/default/template/catalog/layer/view.phtml(38): Mage_Catalog_Block_Layer_Filter_Abstract->getItemsCount() #6 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(273): include('...') #7 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(310): Mage_Core_Block_Template->fetchView() #8 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(323): Mage_Core_Block_Template->renderView() #9 /var/www/openmage/app/code/core/Mage/Core/Block/Abstract.php(937): Mage_Core_Block_Template->_toHtml() #10 /var/www/openmage/app/code/core/Mage/Core/Block/Text/List.php(35): Mage_Core_Block_Abstract->toHtml() #11 /var/www/openmage/app/code/core/Mage/Core/Block/Abstract.php(937): Mage_Core_Block_Text_List->_toHtml() #12 /var/www/openmage/app/code/core/Mage/Core/Block/Abstract.php(652): Mage_Core_Block_Abstract->toHtml() #13 /var/www/openmage/app/code/core/Mage/Core/Block/Abstract.php(596): Mage_Core_Block_Abstract->_getChildHtml() #14 /var/www/openmage/app/design/frontend/rwd/default/template/page/3columns.phtml(37): Mage_Core_Block_Abstract->getChildHtml() #15 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(273): include('...') #16 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(310): Mage_Core_Block_Template->fetchView() #17 /var/www/openmage/app/code/core/Mage/Core/Block/Template.php(323): Mage_Core_Block_Template->renderView() #18 /var/www/openmage/app/code/core/Mage/Core/Block/Abstract.php(937): Mage_Core_Block_Template->_toHtml() #19 /var/www/openmage/app/code/core/Mage/Core/Model/Layout.php(587): Mage_Core_Block_Abstract->toHtml() #20 /var/www/openmage/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() #21 /var/www/openmage/app/code/core/Mage/Catalog/controllers/CategoryController.php(166): Mage_Core_Controller_Varien_Action->renderLayout() #22 /var/www/openmage/app/code/core/Mage/Core/Controller/Varien/Action.php(421): Mage_Catalog_CategoryController->viewAction() #23 /var/www/openmage/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(255): Mage_Core_Controller_Varien_Action->dispatch() #24 /var/www/openmage/app/code/core/Mage/Core/Controller/Varien/Front.php(181): Mage_Core_Controller_Varien_Router_Standard->match() #25 /var/www/openmage/app/code/core/Mage/Core/Model/App.php(358): Mage_Core_Controller_Varien_Front->dispatch() #26 /var/www/openmage/app/Mage.php(740): Mage_Core_Model_App->run() #27 /var/www/openmage/index.php(41): Mage::run() #28 {main} thrown in /var/www/openmage/app/code/core/Mage/Catalog/Model/Layer/Filter/Price.php on line 102 catched by Mage::printException() at 2023-11-18T09:29:59+00:00