If you are having difficulty with Firefox kicking off two events simultaneously and not happening in other browsers, the issue may lie with your $(document).ready or $(window).ready events. Normally it isn’t a problem to have multiple .ready blocks on your page. However, I ran into a pesky bug today that only affected Firefox. Consolidating my initialization scripts into the same $(window).ready() block cured the problem. This wasn’t ideal since I wanted to keep that code in a separate file, but the fix worked.
I just spent one too many times waiting while Magento uploaded to my server via FTP. And as it happens much of the time it failed. Rather than dealing with repeated FTP disconnects I headed off to see if there was a better way. The obvious choice had to be something over SSH. But to be honest, my SSH-fu isn’t as strong as your average sysadmin. Thankfully, there are some kind souls out there who put together a wonderful script and instructions on how to do just this.
This like any other SSH activity this isn’t for the feint of heart and should come with a standard disclaimer: you can really screw some stuff up using SSH so be cautious, use a strong password, and backup your stuff.
Ready? Good, head on over here for the detailed instructions. Let me tell you, this was substantially faster than the old-fashioned way over FTP and then manually running the installer. Figure this will take you a few minutes to parse the instructions, get your SSH client fired up, and start the script. This is compared to waiting eons on FTP to upload the 12, 194 files (I shit you not) in the standard Magento install. And in my experience using FTP doesn’t always work anyhow.
Keep in mind since you will need to navigate first to your Magento installation folder before getting started.
Note! make sure you have your PHP memory limit set high enough. For me at the MediaTemple DV default (I think it was 32MB) it failed. However, upping this to 128MB (I have a total of 768MB of RAM) made things work like a charm.
Thanks to the guys at Crucial web hosting for the article, you just saved me a ton of time and frustration.
Wish there were some friendly template tags don’t ya? Yeah you aren’t in WordPress-land anymore.
Need to show the category name anywhere?
Here you go:
$categoryobject = Mage::registry(‘current_category’);
I can’t take the credit for this one though, I actually found the object reference over here. He got me the object, I just added the line to grab out the name from the object. Many thanks to Richard for the post.
This is an odd one but something worth sharing. GoDaddy’s “Economy” Windows plan doesn’t support a component needed to install WordPress, well or use MySQL at all for that matter if this error is correct. I think it may be more of a WordPress-specific issue, but I didn’t test MySQL connectivity outside of WordPress. You can indeed create a MySQL database from the Account Center though so you would think that WordPress would work, guess not.
Checking around for the error I found some other folks having the same issue. It appears that switching to Linux does the trick. So unless you need ASP support, this is definitely the way to go. The switch is free and completely painless, you don’t even need to contact customer support. Just head over to your account dashboard and follow these instructions. Bear in mind you should back up your site and any databases you have beforehand, just in case.
If you find that you need to switch the operating system of your hosting account, you can do so at any time.
To Switch Your Hosting Account Operating System
- Log in to your Account Manager.
- In the My Products section, select Hosting.
- Click on the name of the hosting account whose operating system you want to change.
- In the Account Details section on the right, click Upgrade/Downgrade Hosting Account.NOTE: If you do not see the Upgrade/Downgrade Hosting Account link, call customer support.
- In the Select New Plan section, select a new hosting plan. You can also upgrade your bandwidth (additional data transfer) and disk space at this time.
- Click Continue.
- If your new hosting plan is an upgrade from your existing plan, proceed through the purchase process. Otherwise, click Save Changes.
This change may make take up to 72 hours depending on the size of the site, the number of databases and other factors that may increase the complexity of the migration. You will receive a email message when we complete your upgrade.
NOTE: If your website contains certain advanced features, such as ASP, ASP.NET, CGI, or PHP applications and you select a hosting plan that does not support those advanced features, your website may no longer function properly after the plan change. Please make sure your website does not contain advanced features BEFORE moving to a plan that may not support them or be prepared to modify your Web content accordingly.
NOTE: If you created databases that are incompatible with the new operating system, you must delete them before proceeding. Data existing in compatible databases will be preserved.
The original instructions can be found on the GoDaddy website here: http://help.godaddy.com/article/1285