Recently I'm merely setting up a test site on localhost to check out Joomla features. After the installation, there are tons of Strict standards errors appear on my screen when I browse to Joomla homepage. I tried to reinstall several times but it still gave me the same errors.
Finally, I found something useful on Joomla! Discussion Forums.
To solve this issue, simply change the following configuration in your php.ini...
Sunday, August 22, 2010
"Strict standards : Non-static methods called statically" Error after Joomla Installation
Author: xiaoyu
| Posted at: 12:12 PM |
Filed Under:
PHP
Friday, July 30, 2010
Resize Textbox/Textarea based on content length
Author: xiaoyu
| Posted at: 9:45 AM |
Filed Under:
.NET,
javascript
I was asked to implement resizing textbox based on content length in one of my projects, to avoid having to deal with scroll bars.And here is the code that works for me:<html><head><script>function textAreaResize(o) { o.style.height = "1px"; o.style.height = (25+o.scrollHeight)+"px";}</script></head><body><textarea id="textArea1" onkeyup="textAreaResize(this)" style="overflow:hidden"></textarea><asp:textbox id="txt1" runat="server" Width="500px" Height="25px"...
Wednesday, June 2, 2010
Update Query with a JOIN Statement
Author: xiaoyu
| Posted at: 10:54 AM |
Filed Under:
sql server
I found something useful when I am trying to update columns in a master table (tbl1) from data in a temp table (tbl2). These updates can be done by making a query to update a table by doing INNER JOIN.Below is the example of a joined update query:UPDATE tbl1SET field_name = B.field_nameFROM tbl1 AINNER JOIN tbl2 BON A.ID = B.IDHope this hel...
Subscribe to:
Posts (Atom)