You may notice that WordPress shows error messages in your WordPress dashboard saying timeout if you host your own WordPress somewhere, that’s because your PHP socket timeout is set too low, mine is 60 secs which is big enough. You may also be aware that you don’t really look at them(Development blog, Incoming Links, Developers news, and WordPress plugins) most of the time. Originally I thought to just remove/comment out some of code related to dashboard but I recall there is a plugin which just does that for you. So I did a search in wordpress.org and found that it’s wordpress-dashboard-editor.
And I installed it and tried it, and it works fine. And I love it, thanks Aaron Harun for the great plugin, here is the description of this plugin:
This plugin allows you to add whatever you want to the WordPress dashboard through PHP and HTML even Sidebar Widgets. You can also wipe the entire dashboard or individually remove some of the more irritating sections like the Dev news, Planet WordPress and the getting started section.
After adding a few products with photos to one of the newly defined categories and following the steps as stated in Tips on how to reset default category in WP e-commerce plugin’s admin panel, I am able to see the products listed in the page but none of them with the uploaded photos. This really puzzled me for a while, and I even debugged the code for sometime. However, it turns out e-commerce plugin producing incorrect URLs for images, css and js files included by the plugin, these URLs are in the format of system directory, such as C:\tools\wordpress-2.5.1\wp-content\….. Once the root cause of the issue is found, the fix is a bit easier.
Here I am providing the fixes so that folks who have the similar issues will benefit from it. Continue reading