Articles in the General Category
Posted: May 17 | Filed under: General
One of the tools I recommend to edit the files on your server (instead of editing them directly via SSH) is WinSCP.
A necessary step if you set the crucial setting “PermitRootLogin = yes” in your ssh.conf is to switch to a specific user while loggin on. To do that you can define a shell with the following command:
sudo su - "user"
I’m going to post a screenshot of this if it requires a detailed explanation, but you should be able to find the option in the advanced menu.
Posted: May 17 | Filed under: General
In order to import large XML files you will have to make sure that the following settings are set in your PHP.ini :
max_filesize_upload Default : 2M -> increase to 10M or larger
That is the size that is displayed close to the submit button on the import page.
In order to get it running you should also check your settings for memory_limit and max_execution_time. The first one is the setting for the amount of memory a script can handle and the latter one the maximum time for transactions. If the import takes too long it might get cancel’d because of that setting.
Posted: May 17 | Filed under: General
Bug: IE won’t send the referrer if you use javascript to open a new window, firefox will.
Solution:
Nathanm.com
Posted: May 14 | Filed under: General
Well a lot of people don’t know that the body tag has different values in each browser.
That’s why sometimes absolute objects have different positions in IE and Firefox.
To fix it simply add margin:0; padding:0; to your body tag via CSS.
Posted: May 14 | Filed under: General
If you want to optimize your website loading speed I can recommend you the following
site: Websiteoptimization.com
Analyzing your site will help you to understand why certain parts might load slowly.
Posted: May 12 | Filed under: General
If you want to create a popup window to inform people about something before they visit a site, then it’s clearly a good way to use body onload in combination with javascript.
Use this little snippet inside your
<script type="text/javascript"> function poponload() { ewindow=window.open("http://yoururl.com","mywindow1", "location=1,status=1,scrollbars=1, width=800,height=800");ewindow.moveTo(0,0); } </script >
And call it via the body tag.
<body onload="poponload()">


