We have just moved our joomla/magento site to a new server. We are now getting some intermittant 404 errors for the magento admin panel
We are able to use the Magento Admin periodically. After a couple of hours we will start getting a 404 after logging in. Once we manually clear the magento cache it starts to work again.
When we start getting the 404 the issue appears to be related to the URL.
Our setup is:
Joomla is in the root directory.
Magento (1.5.0.1) is in a sub-directory /magento
When the Admin panel (www.oursite.com.au/magento/_admin) is working the url after login is
https://www.oursite.com.au/magneto/index.php/_admin/..........
When the 404 starts occuring the url drops the 'magento' out of the url and becomes
https://www.oursite.com.au/index.php/_admin/............
After manually cleaning the magneto cache the issue is resolved. After a few hours it starts to occur again.
Any help would be appreciated.
Well I found the solution to the problem that we have been having.
Some where along the line the permissions of the magento/var/cache directory where incorrect. Apparently if magento can't write to this directory it starts writing to the global /tmp directory.
This post on the magento forum has the info and solution:
http://www.magentocommerce.com/boards/v/viewthread/282544/#t391174
Hope it helps someone.
Related
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 !!!
I'm running my Magento shop with Cloudflare. Everything was working fine, until I was stupid enough to remove the unsecure and secure base_url in the admin config section. After this, I get a cloudflare 520 error: "web server is returning an unknown error".
Thinks I checked or did
- error log of my webserver is empty. So I presume there are no errors
- In phpmyadmin I changed the records base_url in core_config_data
- removed magento cache
There are no Magento error logs (exception.log and system.log) so I presume I haven't turned error logging on. Is there any posibility I can turn on error logging in phpmyadmin, since I cannot access the admin panel.
Besides the error logging, is there anyone who knows what could be wrong?
Many thanks in advance!
Find errors/local.xml.sample file in Magento root directory and rename it to local.xml.
My magento version 1.8.0.1 website admin panel shows a BLANK Page after login in. until 2-3 days ago its worked perfectly; I made no changes in any file related to my website.
Could anybody tell me that what's going on with my website & what is the cause of this problem.
An image of the blank page: http://i.stack.imgur.com/pmskn.png
Flush your magento root /var/cache folder and /var/session folders, It may have previous server session that may cause problems.
To rectify this problem:
Login to database via phpmyadmin or any other mysql client.
Open core_config_data table.
Find entry with path like dev/log/active.
Set its value to 1.
Delete /var/session and /var/cache folders in your installation.
Retry to login to admin panel.
If problem is related to functionality, there will be log files in /var/log folder.
You can trace cause of problem from log files of magento.
Please let me know if you find any difficulty.
I am not able to Open admin page and I am not even able to see any sort of errors on then page.
"Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime
or capacity problems. Please try again later."
if i give any url of my magento site I am getting the above output. How do I resolve this? Please Help
You probably have a file named maintenance.flag at the root folder of your Magento. This file is there to provide people to access a given magento when you are doing maintenance on it.
Try removing this file from your magento root folder.
I am working on a Magento page then after a while I couldn't access my admin anymore
Not Found
The requested URL /magento/chkbackoffice_admin was not found on this server.
also other subpages except for the homepage are inaccessible as well. The site's location is on my VirtualBox's TurnkeyLinux.
I have already restarted the appliance but still same error. Also copied the original directory of the codebase to replace the current site but same error persists. What should I do? Thanks in advance.