Wednesday, January 28, 2009

Thursday, January 22, 2009

Joomla - TinyMCE causing "Access is denied" error

http://forum.joomla.org/viewtopic.php?f=465&t=213005

Line: 37xx
Char: 5
Error: Access is denied
Code: 0
URL: ..../index2.php ...

This error stops all edit functions on the page as well as the ability to CANCEL and return to the Control Panel.
About the only way out is the Back Arrow in your browser.
It prevents you from Adding or Editing Categories, Components and more.


The problem is a "NameSpace" conflict with Joomla!, Javascipt and your browser.
You have logged into your Joomla! control panel in the wrong namespace!


SOLUTION - 1 (for now ... if you want to use TinyMCE as your editor)
1) Find out what your "Live Site" URL is by going to Site|Global Configuration|Server
2) Make a written or mental note of EXACTLY what it is (i.e., http://www.myserver.com)
3) LOGOUT
4) LOG back IN to your administrator control panel with the EXACT same NameSpace as is configured in Joomla!
EXAMPLES:
If your "Live Site" URL is: http://www.myserver.com then login at http://www.myserver.com/administrator
If your "Live Site" URL is: http://myserver.com then login at http://myserver.com/administrator


SOLUTION - 2
YOU CAN JUST CHANGE YOUR EDITOR TO "NO WYSIWYG" OR USE ANOTHER EDITOR


Hope this helps other Novices like me!

Saturday, January 3, 2009

Thursday, September 25, 2008

Resize and DataGridView

VS 2005
.NET 2.0

Resize control : Anchor

DataGridView can not automatically sort if the datasource from Arraylist even bounded the DataPropertyName. But can change the arraylist to datatable, but need to do manually.

Dim propertyList As ArrayList = propertyController.getPMPropertyList()
Dim dt As New DataTable

dt.Columns.Add("pid")
dt.Columns.Add("ptype")
dt.Columns.Add("street")
dt.Columns.Add("suburb")
dt.Columns.Add("state")
dt.Columns.Add("available")
dt.Columns.Add("rent")
dt.Columns.Add("oid")
dt.Columns.Add("pmid")
dt.Columns.Add("tid")
For Each objProperty As PropertyClass In propertyList
dt.Rows.Add(New Object() {objProperty.pid, objProperty.ptype, objProperty.street, objProperty.suburb, objProperty.state, objProperty.available, objProperty.rent, objProperty.oid, objProperty.pmid, objProperty.tid})
Next
Me.dgvProperty.DataSource = dt

Friday, September 19, 2008

Bluetooth in window sp 2, 3 and vista

如果想用bluetooth on pc to transfer files, window sp2 已經有driver for bluetooth and able to transfer files, 但係大部份 bluetooth device (speaker, headphone) 都必須要夾埋service in order to make it work. 但對於舊既 bluetooth usb (即係 window sp1 既時候), 通常附送既CD 雖然有driver and utility, 但係window sp2裝到, 用唔到, 裝完My Bluetooth Place but 找不到 bluetooth 裝置.

Reason: I think it is because window knows the device and use window's diver. and the my bluetooth place can't detect it.

Solution: download other utility and driver, because of my level one bluetooth usb, i find one latest in level1.com but actually made by Toshiba. seems 30 days......><.... can run in vista.

http://download.level1.com/level1/driver/ToshibaBTS(5.10.02)_2007-03-01.zip

Tuesday, August 19, 2008

JScreenFix

from http://avbcd.blogspot.com/ 三章

今次介紹這個不是什麼圖像軟件,JScreenFix 是一個web 2.0(在線)修理LCD光點或死點的軟件;它透過一連串在瀏覽器上以快速、重覆及共振活動,達至激活LCD上的晶體,從而把死點、光點復活過來。
當然它不能保證100%修理好,但對付輕微或初期的光點、死點症狀,甚為有效。
由於它免費而且不需要安裝,如果你有LCD出現光點或死點打算丟棄或修理,不妨花20分鐘來試一試,或者會有意想不到的收獲。
JScreenFix - Fix stuck pixels

另外,JScreenFix還有deluxe版本,供Plasma電視使用。除了修理能光點、死點外,還可以修復鬼影(Screen burn-in)問題。不過deluxe版本需要收費。