Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Frontend Package tries to find wrong assets #86

Closed
mikebranderhorst opened this issue Sep 23, 2012 · 2 comments
Closed

New Frontend Package tries to find wrong assets #86

mikebranderhorst opened this issue Sep 23, 2012 · 2 comments

Comments

@mikebranderhorst
Copy link

With the latest version (now) after I made a blank new Frontend Package:

/design/frontend/shop/default/skin/default

Mage_Core_Model_Design_Package tries to find pub/js/css/styles.css which does not exists...

Let me know if I do something wrong here...

I assume that a new package has the default package as fallback?

a:5:{i:0;s:140:"Unable to locate skin file '/var/www/magento.nl/public_html/pub/js/css/styles.css'.";i:1;s:5501:"#0 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Design/Package.php(486): Mage_Core_Model_Design_Package->_publishSkinFile('css/styles.css', Array)
#1 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Design/Package.php(578): Mage_Core_Model_Design_Package->getSkinUrl('css/styles.css')
#2 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Design/Package.php(539): Mage_Core_Model_Design_Package->_getOptimalUrls(Array, 'css', false)
#3 /var/www/magento.nl/public_html/app/code/core/Mage/Page/Block/Html/Head.php(193): Mage_Core_Model_Design_Package->getOptimalCssUrls(Array)
#4 /var/www/magento.nl/public_html/app/code/core/Mage/Page/view/frontend/html/head.phtml(42): Mage_Page_Block_Html_Head->getCssJsHtml()
#5 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): include('/var/www/magent...')
#6 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(281): Mage_Core_Block_Template->fetchView('/var/www/magent...')
#7 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(292): Mage_Core_Block_Template->renderView()
#8 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(577): Mage_Core_Block_Template->_toHtml()
#9 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(878): Mage_Core_Block_Abstract->toHtml()
#10 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(853): Mage_Core_Model_Layout->_renderBlock('head')
#11 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(382): Mage_Core_Model_Layout->renderElement('head', true)
#12 /var/www/magento.nl/public_html/app/code/core/Mage/Page/view/frontend/2columns-right.phtml(35): Mage_Core_Block_Abstract->getChildHtml('head')
#13 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(247): include('/var/www/magent...')
#14 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(281): Mage_Core_Block_Template->fetchView('/var/www/magent...')
#15 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Template.php(292): Mage_Core_Block_Template->renderView()
#16 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Block/Abstract.php(577): Mage_Core_Block_Template->_toHtml()
#17 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(878): Mage_Core_Block_Abstract->toHtml()
#18 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(853): Mage_Core_Model_Layout->_renderBlock('root')
#19 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/Layout.php(1347): Mage_Core_Model_Layout->renderElement('root')
#20 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(439): Mage_Core_Model_Layout->getOutput()
#21 /var/www/magento.nl/public_html/app/code/core/Mage/Cms/Helper/Page.php(131): Mage_Core_Controller_Varien_Action->renderLayout()
#22 /var/www/magento.nl/public_html/app/code/core/Mage/Cms/Helper/Page.php(52): Mage_Cms_Helper_Page->_renderPage(Object(Mage_Cms_IndexController), 'no-route')
#23 /var/www/magento.nl/public_html/app/code/core/Mage/Cms/controllers/IndexController.php(75): Mage_Cms_Helper_Page->renderPage(Object(Mage_Cms_IndexController), 'no-route')
#24 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(472): Mage_Cms_IndexController->noRouteAction()
#25 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(192): Mage_Core_Controller_Varien_Action->dispatch('noRoute')
#26 /var/www/magento.nl/public_html/app/code/core/Mage/Core/Model/App.php(363): Mage_Core_Controller_Varien_Front->dispatch()
#27 /var/www/magento.nl/public_html/app/Mage.php(666): Mage_Core_Model_App->run(Array)
#28 /var/www/magento.nl/public_html/index.php(39): Mage::run('', 'store', Array)
#29 {main}";s:3:"url";s:44:"/errors/report.php?id=696988257&skin=default";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:7:"default";}
@magento-team
Copy link
Contributor

@mikebranderhorst
Most likely you forgot to create theme.xml file. Developer is supposed to specify a parent theme, otherwise the fallback mechanism will try to reach module view directory (if module context is applied) or the last resort is pub/js directory.

More details:

Does that answer your question?

@magento-team
Copy link
Contributor

Closing this ticket due to lack of answer. Please comment the closed ticket if you want to provide information if what we provided was helpful.

magento-team pushed a commit that referenced this issue Feb 13, 2015
MAGETWO-31080: M2 GitHub Update (version 0.42.0-beta7)
okorshenko pushed a commit that referenced this issue Nov 2, 2015
[Troll]: Catalog Price Rules fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants