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.
Hi i have this staging website which i develop magento e commerce platform. I encountered an error which i dont know what happened. The error goes something like this
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I keep on fixing this error but i found out that the error doesnt comes from the files. I tried to add an error php code to test if it executes, But nothing happened. I tried to search on google and it says that
Step1: Go to magento root directory.
Step 2: Find the maintenance.flag file and delete it.
I already follow this steps. But nothing happened. Can someone help me figured this thing out? Cause ive been stuck on this. Any help is muchly appreciated.
Just remove the file maintenance.flag from your Magento root directory and your website is back. OR It could be a server issue, timeout and so on.
First, put some test file to the docroot of the magento and see if it works, for example
<?php
phpinfo();
If it works, then check the apache/nginx logs, but i think the problem is with the web server / lb.
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.
My application was working fine yesterday. I started my PC today. When I tried to start Magento I got this error message.
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
I am not even able to open the admin page or see any sort of errors on the page. If I visit any URL of my Magento site I am getting the above output. How do I resolve this?
Check if there is a file called maintenance.flag and if so delete it.
Magento 1.x : maintenance.flag file is in : magento root directory
Magento 2.x : maintenance.flag file is in : var folder
When Magento is performing certain tasks it temporarily creates this file. Magento checks for its existence and if it's there will send users to the page you described.
It's supposed to automatically delete this file when done processing whatever task it was doing, but I've experienced occasions where something went wrong and it failed to delete it.
Simply delete the maintenance.flag file in root folder and then delete the files of cache folder and session folder inside var/ folder.
Now in new version magento2 on Generate error Service Temporarily Unavailable.
Remove maintenance.flag
From this path which is changed magento2/var/maintenance.flag.
Also
$ rm maintenance.flag
To fix Service Temporarily Unavailable Magento 2, you should:
Delete a file called var/.maintenance.flag in Magento root folder
Remove Magento cache if any: php bin/magento cache:flush
I had the same issue but have not found the maintenance.flag file in my Magento root.
I simply deleted cache and sessions files and all worked again.
You need to follow these steps:
Go to magento root directory via cPanel/FTP
In case of Magento1, you will find maintenance.flag and delete it
In case of Magento2, delete var/maintenance.flag
go to your website via FTP/Cpanel, find maintenance.flag and remove
In Magento 2 You have to remove file located in /var/.maintenance.flag - just realized that after some searching, so i shall share.
You can do this thing:
Go to http://localhost/magento/downloader url. Here I am running the magento store on my localhost. Now you can login to magento connect manager and uninstall the extension which you installed previously.
Hope this works !!!!!
Thanks.
If you run into this problem (like I did) and NO maintenance.flag file exists anywhere, it's the Redis cache that's causing the problem; clear it.
I had to clear the Redis cache by contacting my hosting company and let them do it because I don't have access to that cache.
I figured this out using this answer: https://magento.stackexchange.com/a/55814/77803
Check the root folder of your Magento installation directory .You will find maintenance.flag file, delete it and refresh the site .it will work fine.
I happen all the time when you install a new plugin.
You just have to delete maintenance.flag file in your root directory
If removing the flag shows service temporary unavailable.
Go to "http://localhost.com/downloader" and unisntall slider banner,BusinessDecision_Interaktingslider,lightbox2 and anotherone that I dont remember.