Troubleshooting of PHP errors: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 162: Line 162:
狀況3: 開啟 Excel 檔案,看到有儲存格位址之類的錯誤訊息
狀況3: 開啟 Excel 檔案,看到有儲存格位址之類的錯誤訊息
* 解法: 該儲存格內容以等號 (=) 開始,卻不是函數。解決方式是將儲存格內容的最前面加一個單引號 (') 或者是加個空白。
* 解法: 該儲存格內容以等號 (=) 開始,卻不是函數。解決方式是將儲存格內容的最前面加一個單引號 (') 或者是加個空白。
== Unclassified PHP 技術問題處理 ==




== Error Handling and Debugging ==
=== 錯誤訊息: ERROR: 00000:: ===
=== 錯誤訊息: ERROR: 00000:: ===
* 原因: 想要刪除的資料不在 MySQL 資料庫內,進行刪除時,會發生的錯誤。
* 原因: 想要刪除的資料不在 MySQL 資料庫內,進行刪除時,會發生的錯誤。
Line 232: Line 231:


Or input the {{kbd | key=kill}} command to stop the process if you have the permission. See details on [[Linux_commands#Show_the_process_list_.26_kill_the_process]]
Or input the {{kbd | key=kill}} command to stop the process if you have the permission. See details on [[Linux_commands#Show_the_process_list_.26_kill_the_process]]
=== Using PHP from the command line ===
[[Execute php script in a bat file]]


=== Json errors ===
=== Json errors ===
Line 243: Line 239:


* 解法: 查詢語法中包含複雜的 sub query 雖然可以順利呈現查詢結果,但是搜尋篩選時出現查詢錯誤。如果要使用 phpgrid ,建議降低查詢的複雜度。
* 解法: 查詢語法中包含複雜的 sub query 雖然可以順利呈現查詢結果,但是搜尋篩選時出現查詢錯誤。如果要使用 phpgrid ,建議降低查詢的複雜度。
== General PHP Practices ==
=== Using PHP from the command line ===
[[Execute php script in a bat file]]


== 使用者操作/使用者輸入的內容 ==
== 使用者操作/使用者輸入的內容 ==

Navigation menu