astorm / magentobetter404 Goto Github PK
View Code? Open in Web Editor NEWA programmer's 404 page for the Magento Ecommerce system.
License: MIT License
A programmer's 404 page for the Magento Ecommerce system.
License: MIT License
I'm new to Magento. I did all of the instructions, but page 404 remains. Maybe it's in some magento settings? Your debbager a very useful thing, but now it shows that everything is in order.
Can you please tell, why is not there a white screen and the inscription "Hello World"?
404 Screenshot:
http://take.ms/M5lpm
Files:
/app/etc/modules/SableCom_FirstMod.xml
<?xml version="1.0"?>
<config>
<modules>
<SableCom_FirstMod>
<active>true</active>
<codePool>local</codePool>
</SableCom_FirstMod>
</modules>
</config>
/app/code/local/SableCom/FirstMod/etc/config.xml
<?xml version="1.0" encoding="UTF-8"?>
<config>
<modules>
<SableCom_FirstMod>
<version>0.1.0</version>
</SableCom_FirstMod>
</modules>
<frontend>
<routers>
<firstmod>
<use>standart</use>
<args>
<module>SableCom_FirstMod</module>
<frontName>firstmod</frontName>
</args>
</firstmod>
</routers>
</frontend>
</config>
/app/code/local/SableCom/FirstMod/controllers/IndexController.php
<?php
class SableCom_FirstMod_IndexController extends Mage_Core_Controller_Front_Action {
public function indexAction() {
echo 'Hello World!';
}
}
?>
Make the plugin shortcode aware, per this Stack Overflow questions
Check for a missing or invalid
<use>standard</use>
node.
This URL gives a 404:
http://local.shopname.com/mymodule/index/index
This module show as if everything is working fine, but the URL should be:
http://local.shopname.com/storename/mymodule/index/index
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.