internal-server-error

htaccess causing server error 500

[亡魂溺海] 提交于 2019-12-12 05:26:04
问题 I have a Zend Framework application with a .htaccess file in the root directory, directing all traffic to the /public directory, where index.php resides. This is the contents of the .htaccess : RewriteEngine On RewriteRule ^\.htaccess$ - [F] RewriteCond %{REQUEST_URI} ="" RewriteRule ^.*$ /public/index.php [NC,L] RewriteCond %{REQUEST_URI} !^/(upload|img|js|css|less)/.*$ RewriteCond %{DOCUMENT_ROOT}/public/upload%{REQUEST_URI} -f RewriteRule ^(.+\.(jpg|png|mp3))$ /public/upload%{REQUEST_URI}

How can I determine the cause of the Internal Server Error resulting from my Ajax call?

喜夏-厌秋 提交于 2019-12-12 03:28:45
问题 In my ASP.NET MVC app, with this AJAX call: $.ajax({ type: 'GET', url: '@Url.Action("GetUnitReportPairVals", "Home")', data: { unit: unitval, report: rptval }, // data: model, contentType: 'application/json', cache: false, success: function (result) { alert(result); }, error: function (result) { alert('failed'); alert(result); } }); ...calling this Controller method: public JsonResult GetUnitReportPairVals(string unit, string report) { int rptId = GetReportIDForName(report); DataTable

Laravel 500 Internal Server Error after Composer Update

本秂侑毒 提交于 2019-12-11 23:25:23
问题 I wanted to create a new blog so I tried, then was greeted with this message: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/local/bin/composer self-update" to get the latest version. So I did, and it seemed fine, then I created the blog and I got this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, you@example.com

can't show firebird data in php-ubuntu server 12.04

こ雲淡風輕ζ 提交于 2019-12-11 14:18:55
问题 my dataTable can't show data from firebird database. it's happen after I move to new server (old server have hard disk damage). all php data and mysql database already backed up then restore to new server. But, one of my php page can't show data from firebird database (its from another server). the strange point is why in my old server it can show but in the new one it can't ? my server os is ubuntu server 12.04 then I try : sudo apt-get install php5-firebird --> i get firebird2.5 but, my php

Django on Production for POST request throws Server Error(500) on compute engine

半城伤御伤魂 提交于 2019-12-11 05:14:22
问题 I have deployed my Django 1.10 with python 3.6 Project on Google compute engine when I have changed Debug = True in my settings.py to Debug = False it throws Server Error (500) on one of my post requests.Even other post requests like signup are working fine. When I stop gunicorn process and re-run it again then this POST works for few hours and again start throwing Server Error(500). How can I solve this issue as I'm using Django 1.10.5, Python 3.6 on Compute Engine? Help me, please! Thanks

Tomcat 7 server error after 10 seconds when long polling

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 02:55:44
问题 I'm trying to achieve long-polling in Java web application. The application is written using Spring MVC 3.2 and I make use of DeferredResult object (it represents Servlet 3.0 async response capability). The problem is that when using DeferredResult I get internal server error (code 500) after 10 seconds every time I send request. Expected result is text data after 30 seconds. There is nothing in my app logs, nothing in Tomcat logs but in FireFox network monitor I see this 500 error. On the

“Internal Server Error” with Hello World Python App

断了今生、忘了曾经 提交于 2019-12-11 01:38:53
问题 My files are as follows: application.wsgi ( NOTE: updated as recommended from my previous question here) import os import sys sys.path.append('/srv/www/mysite.com/application') os.environ['PYTHON_EGG_CACHE'] = '/srv/www/mysite.com/.python-egg' import flaskr.helloworld application = flaskr.helloworld.app helloworld.py from flask import Flask app = Flask(__name__) @app.route('/') def __init__(self): print 'Hello World!' if __name__ == '__main__': app.run() For what ever reason I get the

PHP Fatar Error: call to a member function make() in index.php on line 50 Laravel

£可爱£侵袭症+ 提交于 2019-12-10 19:13:03
问题 I am getting below error :- PHP Fatal error: Call to a member function make() on string in /home/karaoke/web/example.com/public_html/index.php on line 50 PHP Stack trace: PHP 1. {main}() /home/karaoke/web/example.com/public_html/index.php:0 My laravel public/index.php is as it was default. Certain points :- This site is working fine in localhost But, same site is not working on server. Things i have already done and tried : Checked chmod of all file and folder. 2.. storage directory and

Google Server gives a server error with the first request in private browsing mode

别来无恙 提交于 2019-12-10 17:57:09
问题 Whenever I run the url https://scholar.google.com/citations?user=N7m4vIQAAAAJ&hl=en in private windows of Safari and Google Chrome, Google gives an errors. It happens only on the first request with private browsing mode. Anybody knows why this happens only in specific environment? This has been happening since 3 days ago. -- an error message and a capture Server Error We're sorry but it appears that there has been an internal server error while processing your request. Our engineers have been

Many responses from IIS are ending in OperationCanceledException resulting in 500 Internal server error

☆樱花仙子☆ 提交于 2019-12-10 16:47:00
问题 We have one problem in a Production environment but we don’t see any issues in the local DEV environments. Problem : I have one API - /api/GenerateAutoPdf/{Guid} (POST) Based on the response from this request we are opening a modal in the UI (Client). So if the response is 200 for the above POST request then the "Print modal" will open in the UI so that the user can select the generated PDF and then can print those generated PDF's from the modal. If the response is 500 then the print modal