37
votes
Accepted
Static Content is not loading after upgrade
The main issue was caused by the incorrect rewrites work ( as @Marius told ). There was no RewriteBase in my directory pub/static/ and Apache could not find the files because searched for them from ...
11
votes
Getting 404 - Page Not Found after upgrading to 1.9.3.7
My solution, go to file app/Mage.php
on line 808, replace
$file = empty($file) ? 'system.log' : basename($file);
to
$file = empty($file) ? 'system.log' : $file;
and comment the following line
/...
10
votes
Accepted
Magento 1.9.3.1 404 Product page
This looks to be a new feature of 1.9.3.1 :)
The issue is being caused at the bottom of: Mage_Core_Model_Session_Abstract_Varien::_validate() - app\code\core\Mage\Core\Model\Session\Abstract\Varien....
9
votes
Static Content is not loading after upgrade
If you are running Nginx, here is the fix. You probably have your own conf file, you need to update the /static/ part with this, they have updated part of it specifically: # Remove signature of the ...
7
votes
Static Content is not loading after upgrade
Go to the database and insert a row in core_config_data table:
INSERT INTO core_config_data (scope, scope_id, path, value) VALUES ('default', 0, 'dev/static/sign', '0');
6
votes
Accepted
Magento 2: "404 Not Found" when calling a controller
You need some little modification.
Jurgis/Twilio/registration.php
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
'...
6
votes
Accepted
Magento 2 404 on all pages/files (except homepage)
Seems like your URL_Rewrite isn't enabled.
Try using these commands in your folder /var/www/html:
alias mage="php -d memory_limit=-1 -f bin/magento";
chmod -R 775 pub/static/ var/ pub/media/ &&...
6
votes
Magento 2 404 on all pages/files (except homepage)
If you use Enterprise edition (Magento Commerce), maybe staging module data is screwed up. Try to remove staging row from the flag table.
5
votes
Static Content is not loading after upgrade
There shouldn't be a version* folder in the static folder.
This most probably happens because you don't have mod_rewrite enabled in your instance.
The path pub/static/version1234/some/asset.js should ...
5
votes
Accepted
Magento2 Product Page 404 Error Caused by URL Rewrite Not Working As it Should
I've worked out how to fix this for our particular situation. It was a corrupt database table issue. So error from system.log file relevant is below:
main.CRITICAL: PDOException: SQLSTATE[23000]: ...
5
votes
Magento 2: CSS & JS not found (404)
Most likely the rewrite-module doesn't work at yours web server or you have specified incorrect rewrite settings in the pub/static/.htaccess file. Try to change rewrite base to the:
/pub/static
The ...
4
votes
Static files aren't deploying in developer mode
You have "Sign Static Files" options set to Yes in your backend : http://docs.magento.com/m2/ce/user_guide/system/static-file-signature.html
Magento 2 add versionXXXXXXX to his URL to avoid "...
4
votes
Static Content is not loading after upgrade
It seems like the 2.1.3 release assumes the default value for
Stores => Configuration => Developer => Static Files Settings => Sign Static Files is set to Yes.
So instead of changing the ...
4
votes
Accepted
The URL is getting concatenated
Please find my understanding below:
ninja is parent category and swithces is child category, we need to remove ninja from child category URL,
Go to the Magento Admin Panel -> System -> ...
4
votes
Accepted
Magento2: How to modifiy http header of page?
This is implemented in the Mage2 Module Experius PageNotFound which can be found on Github
https://github.com/experius/Magento-2-Module-PageNotFound
For more information see the following commit
...
4
votes
Accepted
Consistent 404 from custom module URL... Why?
Can you please add before attribute and try again.
<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:...
4
votes
Accepted
Magento2 : How To Solve Controller 404 Not Found Error On Live Server
remove your var/cache folder then execute this command in your command promt
php bin/magento setup:di:compile
Hope This Will Help You !!!
4
votes
Accepted
Error 404 on Magento 2.4.2 on Localhost
You are missing the apache configuration for your specific magento domain. To create it, you create a file in /etc/apache2/sites-available/ named after your domain followed by .conf.
In your case: /...
4
votes
frontend and admin not working magento 2.4.2 upgrade
I am really amazed that Magento pushed this to release without documenting it in the release note or "backwards incompatible" changes, but they did. They mention it in the installation notes,...
3
votes
Static Content is not loading after upgrade
If you're using apache. You mustn't delete the .htaccess from pub/static. You can get a replacement here.
3
votes
404 not found magento 2 static and media files not loading
Magento 2.2.2
Apache/2.4.6 (CentOS)
I tried:
rm -rf pub/static/* generated/* var/page_cache/* var/cache/* var/view_preprocessed/*
chown -R apache:apache .*
find . -type d -exec chmod 0770 {} \;
...
3
votes
Accepted
Custom module admin panel section gives 404 error on save
in your config.xml in (or adminhtml.xml) you should have
<acl>
<resources>
<all>
<title>Allow Everything</title>
</all>
&...
3
votes
Accepted
Product page 404 error only sometimes
See if your issue is related to the latest "Known issues" for magento installations. They mention it for the version above yours, but it does not mean that the issues originated in that version ...
3
votes
Accepted
Magento 2: How to redirect 404 to home?
A simple way of doing this, log in to the admin and go to Stores > Configuration > General > Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able ...
3
votes
How to Redirect 404 page to homepage
You can use below settings from admin panel:
Admin -> System -> Configuration -> Web -> Default Pages -> CMS No Route Page and select Home page from drop-down.
3
votes
Accepted
Magento 2 CSS/JS error in frontend and backend
If you deployment script not working for you, then there is something missing in your .htaccess file.
Download same Magento version on your local system, and replace following .htaccess files
ROOT/....
2
votes
Magento2 installation, admin page 404 during installation
First of all enable rewrite mode
sudo a2enmod rewrite
For Ubuntu edit the file /etc/apache2/apache2.conf
To edit this file use sudo vi /etc/apache2/apache2.conf command
<Directory /var/www/&...
2
votes
404 not found magento 2 static and media files not loading
Sometime it is a hosting settings issue - its try to find "static" folder directly in magento root "/" but not in "pub/"
To fast fix it try to make symbol link in magento root directory
$ ln -s pub/...
2
votes
Magento2 Product Page 404 Error Caused by URL Rewrite Not Working As it Should
Well, most important thing to notice is your products must have positive stock, they must be enabled and there visibility should becatalog search. Assuming you have this run
php bin/magento indexer: ...
2
votes
Magento Admin Issue: "admin/url/custom" missing from "core_config_data"
Can you check if your core_config_data entries for path: admin/url/use_custom and admin/url/use_custom_path are both set to a 0 value. If you don't want to use the custom URL added from the admin ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
404 × 246magento2 × 86
magento-1.9 × 47
404-page × 22
admin × 20
error × 20
url-rewrite × 17
redirect × 15
url × 14
magento-2.1 × 11
magento-1.8 × 11
product × 9
module × 9
css × 9
controllers × 9
magento2.3 × 7
cms × 7
admin-panel × 7
not-found × 7
upgrade × 6
database × 5
category × 5
javascript × 5
xml × 5
multistore × 5