Custom Module in Magento not working - magento

The custom modules are not working, a 404 error is shown when trying to access the module via url, the module is correct as it works correctly on other machines (other people have tried the module on their magento) and it works fine, i think there might be some problem with my configuration settings or some other settings of magento. Please answer that how would the problem be solved?

to solve this problem navigate to Admin->System->Permissions->User-> click "Reset Filter" and then flush your magento cache (Admin->System-> Cache Management-> Flush magento cache). Then logout and re-log to admin panel and navigate to your custom module it should be working by now

Related

Magento 1.9: frontend pages are blank (only header is visible)

I am new to Magento, We have one Magento 1.9 version website. Actually I want to change the host, for this, I took all files backup from the server and also exported the database and then I have uploaded all files into another host(Godaddy) and imported the database. Everything working fine at the admin panel or backend pages, but front end pages not loading properly, just its loading header part of the page.
I didn't change anything in the files, I just transferred the files from one host into another hosting, but I don't know why frontend pages are not loading.
Please anyone give me a solution to fix that issue. Please see the below screenshot for reference. Thank you in advance.
This behavior could be due to a PHP error that is not being printed to the screen because of the PHP configuration. Try enabling print error on PHP and see if anything shows up. Contact your provider (Godaddy) for guidance.
Also, ensure that all configuration on admin panel is set. When you upload database and make a new installation, even when uploading the old database, if you do not specify the same old encryption key, some configuration will be missing, for example payment provider tokens and so on.
Check also if your home page CMS still exists and is configured to show on home page. Check this on CMS pages and maybe on your theme configuration.
system -> configuration -> general -> web -> homepage CMS
For any further guidance, would need more details.

Magento 2 - Redirect to "My account" page when clicking "Addressbook"

We just launched a Magento 2.0.4 store, but we're experiencing the issue described below. Hopefully someone can help us fix this.
When a customer is logged in in our store and clicks on "Addressbook" on the "My account" page, he gets redirected back to the "My Account" page.
The redirect order is as follows and all redirects are 302's (Moved Temporarily):
/customer/account/ --> /customer/address/new (as expected because this customer has not created any address yet)
/customer/address/new --> /customer/account/login/ (herein lies the issue, we would like to see the "Add New Address" page)
/customer/account/login --> /customer/account (as expected)
Notes: Our store is running on HTTPS and a custom made theme which is based on the default Luma theme. We also have another Magento 2.0.4 store running on the same server with the same hosting provider and the issue is not present here. You can try it yourself here.
What we tried:
Disabling all custom modules
Removing all custom language files (i18n folder)
Disabling SEO URLs
Here is a screenshot which shows the redirect order in the Chrome Developer Toolbar
We have found the solution. Apparently a module was in fact still causing the problem: Mirasvit_Core. Disabling the module and deploying static content again fixed the issue.
Thanks for reading and I hope this helps anyone else having this problem.

I have created a module using ultimate module creator,but it is not showing on the magento backend

I have created a module using ultimate module creator,but it is not showing on the magento
back end.
I have cleared the magento cache and done the re-indexing also
i have checked in the file,its present in the local folder and is enabled
but still not showing in backend
Check all the config file (i.e. config.xml) and ACL permissions (in adminhtml.xml) if you are not able to see anything in admin panel.

Magento - 404 error while viewing the module

i have created module named helloworld in magento, based on the below URL instructions
http://magento4u.wordpress.com/2009/06/08/create-new-module-helloworld-in-magento/
Once created everything i can able to enable the module in admin page. But when i type the below URL to my browser it throws 404 Not found
http://localhost/magento/magento3/index.php/helloworld/
Thanks in advance. Please help
As you already mentioned, you simply forgot to clear the cache, so Magento did not recognize your extension.
If you run into this issue again, you should also have a look at your ACL definitions. If you have none, your admin user is probably not allowed to use your extension in this case you need to define a ACL rule. Check Mage_Adminhtml_System_ConfigController::_isSectionAllowed() for details.

Magento not using appropriate URL - 404 Page not found

I have a magento site running locally using WAMP and it works great. However I need to create a different site so I created a folder for this new site under htdocs.
In that folder I loaded the Magento files.
Created a new database for newsite with all rights in phpmyadmin.
Went to the localhost:8888/newsite and started Magento installation wizard.
In the configuration section of the wizard I entered all the info required: db name, user, password. For URL Base I used the default (http://localhost:8888/newsite). Selected allow charts and Allow apache rewrites. Finished installing magento.
Now magento is running on newsite. I can see the front and back-end of the site.
Here is the problem: When I create a category and/or subcategory, magento does create the menu link but when I click any category, the browser takes me to a 404 not found. Upon analyzing the URL that took me there i see that the URL is : http://localhost:8888/newsite/category.html BUT by adding "index.php" into the URL (http://localhost:8888/newsite/index.php/category.html , the page does work!
So this means magento IS creating the page for the category but the linking is somewhat wrong.
Now, I've been making sure that rewrite is enabled and after all, the other site I mentioned I have is working properly, so I assume rewrite is properly enabled.
So I need help finding:
Why is one site working and the other isn't?
How can I fix this issue?
Thank you!
Sounds like you haven't copied over the .htaccess file (in your Magento root folder). You need this file for the Apache rewrites to work.

Resources