- EduSoho升级最新8.3.4后,出现500错误
- EduSoho升级最新8.3.4后网站出现500错误
- EduSoho 常见问题解决[0001] V8.3.5升级出现未
- Mac升级Big Sur后,Eclipse启动提示Failed
- webpack - peerDependencies WARNI
- pip 升级后出现错误 ModuleNotFoundError:
- 解决Failed to extract git version
- Android Studio异常 indexing paused
- 解决Gitlab升级后,项目的 CI/ CD页面报500错误,且
- React Native错误:in next release e
接手同事的edusoho项目,将他的代码拉取下来,在wamp里面配置好访问路径,在浏览器输入访问路径(http://localhost:8086/),发现一直出现500错误
1、错误信息:在wamp的Apache错误日志发现“ Invalid command 'CGIPassAuth' ”报错
[Thu Oct 14 14:17:52.496412 2021] [core:alert] [pid 8124:tid 1336] [client ::1:59304] E:/modong/Modong_Kaike/web/.htaccess: Invalid command 'CGIPassAuth', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost:8086/

2、原因:EduSoho网站升级到8.3.4版本后,.htaccess文件增加 CGIPassAuth On

3、解决方法:可以删除“CGIPassAuth On” 或者 将Apache升级为Apache2.4.13以上,即可恢复访问
3-1、删除 .htaccess文件 的 “CGIPassAuth On”

3-2、重新升级wamp后,目前版本:Apache2.4.37、PHP7.3.1、MySQL5.7.24
Apache的版本跟着升级为2.4.37
4、解决500错误后,出现 “ Notice: Undefined index: ” 或者 “Warning: Cannot modify header information - headers already sent by”
可前往“https://www.jianshu.com/p/835384787128、https://www.jianshu.com/p/bf814d707784”查看


网友评论