I am attempting to update the admin panel url.
I edited app/etc/local.xml and changed the following line to the desired name:
<frontName><![CDATA[admin]]></frontName>
I then went to my Magento root and cleared the cache by running rm -rf var/cache/*
This exact process worked beautifully when I first tested on my remote staging server, it updated to the new URL immediately. However, there was absolutely no change when I attempted it on my live site. The admin panel still showed up when I visited www.mysite.com/admin.
I had a short window of time when the traffic to our website is low and nobody is actively using the admin panel, so I changed the name back to admin and cleared the cache again after my change did not take effect.
Any ideas what might have gone wrong?
Take a look here.
http://www.pixlpitch.com/3-ways-to-change-magento-admin-path/
I personally used step 3
another way is to change from the admin itself.Goto System→Config→Admin→Admin Base Url→Use Custom Admin Path, set yes. Set new admin path in Custom admin path text field and save.
Related
I have a subdomain say dev.domain.com that points to document root public_html/dev.
Worked fine, but for good reasons I renamed the folder dev to devm19, also modified the subdomain to point to public_html/devm19.
Problem is I can't login to the admin - The form for UN and PW is there, credentials are correct, but the form key in URL bar keeps refreshing, you just can't get inside to admin.
Any idea?
See the result of the below SQL
select * from core_config_data where path like '%web/cookie/cookie_domain%';
If it gives you "dev.domain.com" in the value field, then either make it blank or give "devm19.domain.com" as value.
Then flush the cache, open the admin panel in private window and you will be able to login.
I was able to solve the issue by modifying app/etc/local.xml.
Added/replaced records for:
<session_save><![CDATA[files]]></session_save>
<session_save_path><![CDATA[/tmp/session]]></session_save_path>
I have an issue with Magneto community and we are using "bizarre" theme. Everything was working fine till last night and I was modifying the categories and products, today morning it seems that there's some issue with admin panel.
When I am logging in with my user id password, it takes me to the index page every time not to admin panel, it works for a while but when I try to go to any settings like "system>configuration> etc" it takes me again to the main page of the website (frontend).
I think you have a problem with cache management.
Try to delete var folder in the [YOUR SITE PATH HERE]/magento/var
Additionally, it might be useful to you. Here is 3 ways to turn on/off cache in Magento
I am trying to access my localhost version of the Joomla Administrator, however each time I navigate to the administrator directory, my Joomla website index page loads instead?
I suspect the htaccess file may be the issue but not 100%?
Any ideas?
Cheers
Ok seeing as you have some protection plugin which re-directs the user from the admin panel if they try and access the page, you won't be able to to either.
And seeing as you can't login to disable it, you will have to do it manually via PhpMyAdmin. Follow these instructions:
Enter PhpMyAdmin
Open the table called jos_extensions (jos is the prefix which may be different for you)
Find the protection extension you have installed which is causing the redirect and go to edit it.
You will find a column called enabled. You need to change the value from 1 to 0
You should then be able to login to the Joomla admin panel
Hope this helps
The store works when I add an item, but when I click to checkout the link re-directs to the home page store. It’s the same when I click on Proceed to checkout. Before, I had the cache management disabled and now is enabled. Is this related or what could be causing this problem? Thanks so much for the help, with kind regards.
Try deleting all the cache files stored in the /var/cache folder in magento.
Using chrome console or firebug check to see if you have any JS error before redirecting
Check your web logs to see if you have any php errors on the checkout page
It's most likely to be a Javascript issue when the checkout button does not work. Remove your theme to fall back to the base theme then see if it works.
I fixed and these where the steps I took to make it work. However, before you do any of the following work disable your cache management:
Open Magento admin panel
Go to System>Cache Management
Check all Cache types and in the Actions box select refresh
Then select all Cache types and in the Actions box select disable
Also click Flush Magento Cache and Flush Cache Storage buttons
Now you are free to perform any changes to your store.
Now, if you upgraded and nothing works make sure that under:
System/Configuration -> Web – Default Pages /that your ‘Home page’ is listed under
‘CMS Home Page’. Also check:
System/Configuration -> Design – Packages /that your ‘Template’ is listed under
‘Current Package Name’. Otherwise default takes over.
Note: your template will still come up with all its features and buttons in your browser, even if no home page is setup; this is because of the previous version configuration.
If the ‘Home Page’ and ‘Template’ are not listed, add them and go into your File System and erase everything under ‘var/cache’ and ‘var/session’. Reload your home page: www.yourstore.com/magento/ it should work. After, all work is done enable your cache management.
Also, it’s good to check that your home page lands at the store, and to check - do the following:
Login to your Magento MySQL database.
Open the db [database_prefix] for your store.
Locate core_config_data.
Find the row with entry: 'web/unsecure/base_url' and 'web/secure/base_url' they should look like www.yourstore.com/magento/ or whatever you name your magento store file.
After I enter my username and password and click "Login" it sends me back to the Login page with NO error messages. The URL changes to include a session key and that's it. Everytime I click Login again, the session key is regenerated and I still can't log into the admin interface.
I just encountered this problem on one of my servers (not a localhost installation). Turns out the system account was over quota, so I presume Magento was unable to create the necessary temporary files. (I noticed this when trying to create a directory on the server over ssh.)
So... maybe check to make sure the account under which Magento is running isn't over quota on your server? At the very least, it might not be a Magento problem directly.
Clear the contents of the directory var/cache and try again.
If that doesn't help check the table core_config_data in the database for records with a path value of "web/secure/base_url", "web/unsecure/base_url" and "admin/url/custom". These should match the page you are trying to log into (but without "index.php/admin/" at the end)
Finally check your browser's cookie settings and that the server's PHP is able to set cookies.
I was having the same problem running Magento 1.5.1 on my production server. I would log in to the admin, the url would show the address for the dashboard (with the secure key), but the screen would still be the login screen. There was no error. This happened with FF, Safari, and Chrome.
I fixed it by manually setting two core_config_data values in the database. They are as follows:
web/cookie/cookie_path = /
web/cookie/cookie_domain = "mydomain.com"
clear out var/cache and try to log in. For me, it worked.
Version 1.7.0.2 I have been moving my magento store from on server to another one, and I had the same problem. Use phpamdin to edit your database on new server, search for web/cookie/cookie_domain in 'config path row', the value is probably your old domain name: yourdomain.com, change that to your new domain name OR to your new IP address (new server). If you attend to use your old domain on new server environment you will probably want to set your story ready before you switch your name servers. That was the case for me, after I added my new server IP to web/cookie/cookie_domain instead of domain I was finally able to log into my magento backend.
I had some problems when on a local server. It was on http://server/username/ and so didn't have dots in it. If we changed the settings to be the IP address of the server then it was fine.
There can be several things that cause this behavior. This is my checklist. One of them will eventually fix it.
Click the "forgot password link" and then the "back" link. This will remove any possibly misplaced params in the URL as well as make sure you're on the right server (some installations have separate admin servers)
Clear cookies or use an incognito window
Try another browser
Local installations: Try using 127.0.0.1 instead of localhost (and update the base URL in the core_config_data table)
Clear Magento cache, full_page_cache, and session directories in the magento/var/ directory (and repeat 1 and 2)
Truncate the core_session table
Verify your Magento has correct memory settings
Check Magento system.log and exception.log files and debug
Check PHP's error logs and debug
I've experienced this issue using Opera, while in other browsers it worked fine.
Also, make sure to set correct cookie options in:
System > Configuration > Web > Cookie Settings
Also, make sure that your system time / time zone on the server and php and magento match up.