Magento - 404 error while viewing the module - magento

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.

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 /admin panel doesn't work

After I copied my magento installation on a new domain. The admin panel doesn't work. I checked the .htaccess, baseurls and tried a lot of other things, still the 404 error page.
The version of my installion is 1.9.
Please follow the following step.
delete cache folder from var
if you domain name changed then open your database and select core_config_data and set secure and insecure web url to your domain specific url
if you have still further problem for css and js and you have to make merge css and js flag to 0 which is also found in core_config_data
Thanks,
Sam
I hope sagar helped you to get rid of the problem.
to my opinion this issue happens due to improper setup of the core stores in magento.
what I did to resolve the issue to check the core_store tables. Check if store admin is active.
Make it active and your 404 problem will go away.
Thanks me later !!!

Custom Module in Magento not working

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

How can I change Joomla admin URL

By default Joomla admin URL is yoursitename/administrator. How can I change this for Joomla 1.5 so that it doesn't affect my modules and components or any other thing on the backend.
I don't think that would be a good idea, because some links to '/administator' in modules/components are hardcoded (static), so you better should use some of these plugins http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection or just try something with .htaccess (ask for password, IP filtering etc...)
Install the jSecure Authentication plugin.
Every Joomla back-end has the same URL. If you install a security plugin, you can add a suffix to your back-end URL to make it look like this: http://www.yoursite.com/administrator?helloworld
If the URL is not entered with a correct suffix, the site will redirect to a 404 (not found) page. Change the suffix regularly.
I use the changeadmin component to kind of hide the admin url:
http://extensions.joomla.org/extensions/access-a-security/site-security/login-protection/14666
Here is a Simple Step(And it's not a correct method but it works for me),
Just Create a new folder in your root directory.
create index.php (or some other name) in that folder, and add the following code
$admin_cookie_code="2145446497812";
setcookie("JoomlaAdminSession",$admin_cookie_code,0,"/");
header("Location: ../administrator/index.php");
Then add the following code inside administrator/index.php . Please make sure to add this immediately after opening the PHP tag.
if($_COOKIE['JoomlaAdminSession']!= "159753987456321")
{
header('Location:../index.php');
}
Then try to access the administrator login by typing your root_joomla_address/new_folder_name. Then it will automatically redirect to your admin page. If you tried to access the default admin login page directly then it will redirect to the Joomla home page.
Hope this will works. I don't claim this a correct procedure. But if you looking to avoid a plugin, then this hack will help you.
with simple step you can restrict to access your administrator login page
Follow bellow steps:
before going through all steps first find your id address from this link www.whatismyip.com
Create a .htaccess file in administrator folder.
Now write following code in .htaccess file
<Limit GET POST> deny,allow deny from all allow from 192.168.0.1</Limit>
3.Now write your own ip instead of 192.168.0.1
4.Finally save the file and try to access your administrator page from your ip and different ip.
Hope it'll help. Thanks.

Joomla 1.6 backend admin area blank

For some reason, when I log into my joomla 1.6 backend, it is now empty, displaying only a logout button. Any Ideas?
I just went through the same problem but on J!1.7.3. There may be many, many reasons but please check using just URL if you can see for example:
[YourDomainHere]/administrator/index.php?option=com_content or
[YourDomainHere]/administrator/index.php?option=com_modules
If content is listing and you're missing just Admin-menu and sub-navigation in back-end --> this means you messed-up with access levels and viewing access.
If you can't see content listing - ignore the rest of this post :-)
...with access levels and viewing access. To check that, try entering [YourDomainHere]/administrator/index.php?option=com_users&view=levels and enter each position in the list. Joomla backend navigation module usually has Access set to Special, so focus on this one. When enter Special - manager, author and super administrator should be ticked. If everything empty in any from the list - this is your issue :)
You need to add manager, author and super administrator to your Special access level. Obviously you can't see Save button, so you need to use database. [wrrr :) sounds scary?] Not a big deal, just go there using for example phpMyAdmin and find _viewlevels table. In there just edit Special and add [6,2,8] values to set up manager, author, super.....
Update database. Try to log-in one more time (close browser and clean cache before).
I hope if this wasn't helpful for you, will be for somebody else.
p.s. There may be a way of 'saving' changes in you joomla access levels with URL. Then you don't need to go to DB .. but I don't know if this is feasible at all :)
Check the rewrite of htaccess and the $mosConfig_absolute_path variable in config.php
Apparently, the Bluestork Template (admin template) has some security issues. In my case there were some missing files in the template folder /administrator/templates/bluestork/ that caused the administrator screen to appear blank. I've copied a clean version of the template in the bluestork folder and after that I was able to see the backend admin area.
I've removed the bluestork templates entirely for now, which seems to be the best option. Joomla installs 2.5.8, 2.5.6, 2.5.2, 1.7.0, 1.6.3 are affected. The Blustork Template is a target for hacks with old Joomla.
this happening becoz of admin user lost his permissions. see below article to fix this issue
http://www.codentalk.com/joomla-admin-showing-blank-page/

Resources