跳到主要內容

發表文章

Joomla首頁錯誤訊息

最近幫一個朋友debug,所以要模擬他的web server及系統的狀態 由於有許多系統設定參數都在configuration.php檔裡頭 所以我用UltraEdit開啟編輯 系統是建立起來了 但是首頁一直出錯誤訊息 Warning : session_start() [ function.session-start ]: Cannot send session cache limiter - headers already sent (output started at C:\AppServ\www\jm\configuration.php:1) in C:\AppServ\www\jm\libraries\joomla\session\session.php on line 423 Warning : Cannot modify header information - headers already sent by (output started at C:\AppServ\www\jm\configuration.php:1) in C:\AppServ\www\jm\libraries\joomla\session\session.php on line 426 系統簡單描述 1. web 板模 Joomla 1.5 2. apache server + MySQL 最後我以筆記本開啟後改以ANSI格式儲存即可

USB單檔不能超過4G容量的問題

單檔不能超過4G容量的問題,與硬碟分割模式有關。 必須要修改為FAT32 -> exFAT 隨身碟格式可以在滑鼠右鍵 [內容] 選單中看到 此USB隨身碟格式為FAT32 修改方式: 滑鼠右鍵 選單中選擇 [格式化] #隨身碟中的資料有可能會被清除,所以請先備份 若無法格式化,且您的電腦為WindowsXP則需安裝修補程式WindowsXP-KB955704-x86-CHT.exe,重新開機後再做一次 。 Microsoft下載

刪除Log資料夾內的所有檔案及資料夾

刪除Log資料夾內的所有檔案及資料夾,檔名為fileName.vbs,可設定為排程。 Dim fso, oFld, oSubFlds, oSubFld, sFolderName '建立 FileSystemObject 物件 Set fso = CreateObject("Scripting.FileSystemObject") '傳回對應到指定路徑中資料夾的 Folder 物件 sFolderName= "C:\Log" Set oFld = fso.GetFolder(sFolderName) '傳回Folder物件的子目錄集合,其中包含設定隱藏和系統檔案屬性的資料夾 Set oSubFlds = oFld.SubFolders '逐一取出子目錄集合內的子目錄 For Each oSubFld in oSubFlds '刪除子目錄 fso.DeleteFolder(oSubFld) Next '刪除該目錄所有檔案 fso.DeleteFile(sFolderName & "\*.*")

以圖找圖不是夢

Google終於推出了以圖找圖的搜尋功能,我想這是大家夢寐已久的功能 http://www.google.com/imghp 只是試用了一下,似乎很多限制,不如想像。

Eclipse with Google App Engine不能編譯JSP

在eclipse來開發Google App程式是最方便也不過的事了,只是不才小弟剛開始使用eclipse作為IDE介面,實在有許多地方不知其所以然,至今遇到兩個麻煩的問題。 Q1:利用Google App Engine Plug-in建立的Web Application Project竟然在新增JSP檔的時候無法編譯為Servlet (註:JSP在第一次執行時IDE會編譯成Servlet,web server實際執行的是此Servlet程式,所以初次開啟JSP會比較慢),在JSP檔案前會出現一個小叉叉,編譯時出現Your Web Application Project must be configured to use a JDK in order to use JSPs.的錯誤訊息。 Google針對這個問題有特別解釋。 My JSPs aren't working, and there's an error that says "Your Web Application Project must be configured to use a JDK in order to use JSPs." What happened? Both the local App Engine server and the deployment process need to run javac in order to compile your JSPs. If your project isn't set to use a JDK ("Java Development Kit", which includes javac), then the JSPs can't be compiled. Go to Preferences > Java > Installed JREs and make sure that you have a JDK installed -- if you don't, you can easily download one. Now right-click on your project and choose Properties > Java Build P...