haohan haohan - 1 month ago 17
PHP Question

PHP Warning: Unknown: Error occured while closing statement in Unknown on line 0

Anyone know what actually happened if see this error message?

PHP Warning: Unknown: Error occured while closing statement in Unknown on line 0

The scripts work fine in my local computer, but when I uploaded it to my web hosting, I saw this error message in my error_log.

Answer

Shot in the dark - you uploaded it in binary mode instead of ascii mode.