phpstudy php 5.627 windows10 环境 出错信息以下: Http status: 500 Internal Server Error ajaxOptions: error thrownError: Internal Server Error
把报错信息,完整的贴上来。
谢谢回复,保存弹窗就是显示:Http status: 500 Internal Server Error ajaxOptions: error thrownError: Internal Server Error
把里面的内容复制出来
打开浏览器的firebug,把js ajax的报错信息复制出来。
可能ajax 已调用成功但返回状态时有错误吧?我自己也会调试一下,谢谢作者
@daiqx #5楼 没这个可能,肯定有问题
发问题就把报错信息全部发上来,要么就别发帖,浪费时间。
http://appadmin.fecshoptest.com/ZeroClipboard.min.js Failed to load resource: the server responded with a status of 500 (Internal Server Error) (index):839 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/. http://appadmin.fecshoptest.com/catalog/productinfo/managereditsave Failed to load resource: the server responded with a status of 500 (Internal Server Error)
上一个错误好像不影响的,第二个才是主角吧
@daiqx #8楼 你自己尝试解决下吧,有报错提示,肯定是有问题存在的。
@daiqx #7楼 同样问题,编辑删除也出现这提示,你解决没?
@daiqx #7楼 ZeroClipboard.min.js ,你的这个js是哪里来了?
fecshop的appadmin是没有这个js文件的
@molver [[#10楼](#comment10)](#comment10) 把报错信息全部贴出来,另外,fecshop的版本是那个版本?怎么安装的?
给予信息越全,越有利于解决问题。我测试了下后台,保存产品是没有问题的
docker 配置的环境:
http://appadmin.fecshop.com/
admin admin123
保存产品不报错的,你们是不是进行了某些改动?
加载
GET http://appadmin.fecshop.com/ZeroClipboard.min.js 404 (Not Found)
有一个js,这个js已经不需要了,代码没有去掉,这个js文件不是导致这个问题的原因
你们用firefox,或者google浏览器试试,是否还有问题
这个js我先去掉
@Fecshop #14楼 看了下,xunsearch没安装导致的
@molver [#15楼](#comment15)
如果不做中文,可以关掉:http://www.fecshop.com/doc/fecshop-guide/instructions/cn-1.0/guide-fecshop_search.html
参看去除某个搜索
去除某个搜索
也可以使用最近开发的:https://github.com/fecshop/yii2_fecshop_elasticsearch 使用ElasticSearch做搜索引擎