by: James Weir, Xpirt Design
Fixing the “Please Wait” problem in Magento’s Category Management
On behalf of Xpirt Web Design and SEO, I would like to provide the Magento open source developer community with a simple and straightforward solution in fixing the notorious problems with Magento’s category administration panel. If you get the dreaded “Please Wait” image that gets stuck or frozen when trying to add or modify categories on a fresh install, then this article is for you.
On a side note, this solution applies to Magento fresh installs on the latest stable version of 188.8.131.52, and also applies only to the problem of adding or modifying categories, as well as attempting to create, upload, or save a new product. This solution also applies to some users who are having trouble with the “Security” problem when trying to upload an image to a product. And lastly, this is a solution to the problem of saving configurations within the admin panel, such as editing and saving your company information, ect. This is “A” solution to these problems, not “THE” solution to these problems and I sincerely hope this solution works for you.
Just recently, we were trying to install a fresh version of the latest stable version of Magento (as of today, 12/17/09) for a new web design client that required the robust and feature-packed e-commerce solution, Magento. After a flawless install at the hosting company “Blue Host”, we logged into the admin panel of Magento and proceeded to start adding categories and products. Of course, like so many of you, we ran into the “Please Wait” problem when trying to add new product categories. We also ran into the common problem of getting the “Please Wait” notification when trying to save or add a new product, as well as the common problem of the “Security Risk” when trying to upload a picture for a new product. We followed all the directions that both the Magento Community and Blue Host documentations provided. As you can imagine, we were stumped.
After several hours of searching through the Magento Community Forums, we were left with no other options than to plead with our hosting company to help out. The hosting company (Blue Host) refused to assist in this matter and basically told us to go back to Magento with the problem. I expected a response like that and wasn’t surprised.
Just before we were going to give up, I thought to myself “why aren’t the updating information functions working either?” After thinking for a while, I decided to check out the .htaccess file in the public_html root to see if there are any 301 domain canonical redirects (in English, that’s the non-www. to www.). There was a 301 canonical redirect in the .htaccess file in the root, and another thing I noticed; If you use the “www redirect” in the C-Panel of your web host at the same time, it confuses the server and applications, such as Magento, will throw errors and won’t work correctly. So what I did was turn off the “www redirect” in the hosting C-Panel, then deleted the 301 canonical redirects (again, for those of you who still do not know what this is, this 301 redirect either adds or removes the “www” from your domain name, since search engines see the www. And non-www. As two separate websites and will penalize your SERPS or Rankings for duplicate content). Sure enough, the next time I logged into the Magento admin panel, the categories worked perfectly, the adding products functions worked perfectly, and uploading product images worked perfectly. No more “Please Wait” or “Security Risk” issues at all, whatsoever.
Magento is extremely finicky. On a fresh install, check your .htaccess files for errors and temporarily turn off the www redirects in the C-Panel of your hosting account. Then take one step at a time in setting up your canonical 301 redirects, preferably, use the .htaccess file instead of the C-Panel www redirect function.
I really hope this article will help some of you fix this problem. I can’t tell you how much of a headache this was, and how many hours of being frustrated, pissed off, and just plain irritated I was because of this problem. I mean, Magento is the Rolls Royce of e-commerce and it’s exciting to finally get to use the product, and then the nightmare begins when the darn thing wont just work. In any case, the problem is solved, and I would like to know if this solution helped some of you out there with the same problems. Please feel free to post comments about your experiences. These are DOFOLLOW comments for you SEO guys out there, but I do keep a close moderation on them so careful with the spam.
Also, for those of you who need any web design services, or need to design a template or theme for Magento, or any other E-commerce software, please visit our orange county web design section and find out how Xpirt Design can help you.