help 错误信息是utf8 to ucs2 conversion failed on this string

shawn_yang 2012-06-15 01:54:47
提交一个按钮后,反馈信息是
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@shawnyang-PC.domain and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


--------------------------------------------------------------------------------

Apache/2.0.64 (Win32) Server at localhost Port 80


然后到log里看到如下:
(22)Invalid argument: utf8 to ucs2 conversion failed on this string: REDIRECT_QUERY_STRING=c=search&m=similartrademarks_list&Search=SX_Reg&SelectContent=Classification%20No.%20is\xa3\xba1;%20Search%20content%20is:google;%20Search%20mode%20is:English;%20Search%20type%20is:Adding%20letters%20in%20random%20position;Reducing%20letters;Changeing%20letters;Changing%20order;Identical;Partially%20Identical;20%25%20similar&IntCls=1&QunCode=&Content=google&SearchMode=English&selectClass=
[Fri Jun 15 13:46:42 2012] [error] [client 127.0.0.1] (22)Invalid argument: couldn't create child process: 22: php-cgi.exe
[Fri Jun 15 13:46:42 2012] [error] [client 127.0.0.1] (22)Invalid argument: couldn't spawn child process: C:/php/php-cgi.exe


上谷歌查了一下,说是因为有中文字,可我输入的查询内容是西文'google',刚接触php,求高手指点。
...全文
261 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
shawn_yang 2012-06-15
  • 打赏
  • 举报
回复
发现问题了,是apache 2.0的bug,换成2.2+就没事了,谢谢楼上回答
jaksmine 2012-06-15
  • 打赏
  • 举报
回复
http 500错误 内部服务器错误

在php.ini中设置显示错误:
display_errors = On

重启下服务器再试下
xuzuning 2012-06-15
  • 打赏
  • 举报
回复
你的数据里包含有 utf-8 编码的字符 \xba1 �
这个字符无法转换成 ucs-2 编码

21,880

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧