dongxian1699 2015-11-12 12:14
浏览 315

笔记本电脑上的Localhost上500服务器错误 - 在其他台式机上运行正常

for a project we have been working on we have moved it onto a laptop so work can be done at home.

The issue we are having is that the server is giving us a 500 server error on the laptop machine, but works perfectly fine on every desktop we have tested it on.

the htaccess. files are all the same, error logs don't bring up anything noticeable (except the 500 error in the console on the login form which is where it first falls over).

We are using the yii framework and even with all error reporting turned off it still refuses to work. All permissions are fine and the the entire project has been downloaded off our git machines.

We are running virtual hosts and sub domains but even accessing straight from the folder there is no luck.

httpd.conf and vhosts are also, exactly the same.

Is there anything that would flag up differences on two machines?

RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

the erorr coming from the error log

[Thu Nov 12 12:21:16.002251 2015] [auth_digest:notice] [pid 6961] AH01757: generating secret for digest authentication ...
[Thu Nov 12 12:21:16.024984 2015] [mpm_prefork:notice] [pid 6961] AH00163: Apache/2.4.12 (Unix) OpenSSL/1.0.1m PHP/5.6.8 mod_perl/2.0.8-dev Perl/v5.16.3 configured -- resuming normal operations
[Thu Nov 12 12:21:16.025061 2015] [core:notice] [pid 6961] AH00094: Command line: '/Applications/XAMPP/xamppfiles/bin/httpd -E /Applications/XAMPP/xamppfiles/logs/error_log -D SSL -D PHP'

error in console

POST http://m/site/login 500 (Internal Server Error)send @ jquery.js:9631jQuery.extend.ajax @ jquery.js:9176$.fn.yiiactiveform.validate @ jquery.yiiactiveform.js:357(anonymous function) @ jquery.yiiactiveform.js:96 jquery.js:9631 POST http://m/site/login 500 (Internal Server Error)send @ jquery.js:9631jQuery.extend.ajax @ jquery.js:9176$.fn.yiiactiveform.validate @ jquery.yiiactiveform.js:357(anonymous function) @ jquery.yiiactiveform.js:145jQuery.event.dispatch @ jquery.js:4641elemData.handle @ jquery.js:4309

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 微信小程序协议怎么写
    • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
    • ¥20 怎么用dlib库的算法识别小麦病虫害
    • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
    • ¥15 java写代码遇到问题,求帮助
    • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
    • ¥15 有了解d3和topogram.js库的吗?有偿请教
    • ¥100 任意维数的K均值聚类
    • ¥15 stamps做sbas-insar,时序沉降图怎么画
    • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看