server-error

Rails ActionController::BadRequest causes 500 Server Error on production server

左心房为你撑大大i 提交于 2019-12-22 03:44:58
问题 We have a Turkish website and some old links are crawled by some search engines. The links seem to be malformed or cannot be processed and therefore causing ActionController::BadRequest error. On the local machine with development env this causes to return the Rails error page with ActionController::BadRequest . But on the Server we get an 500 server error . This issues is discussed on several other pages like here. But none of the solutions helped. In both cases we would like to redirect to

Rails server does not start?

偶尔善良 提交于 2019-12-21 12:42:58
问题 when i give the command "rails s" following error comes please help me! still i'm in rails project and then give this command root@ubuntu:~# cd mon root@ubuntu:~/mon# rails s /usr/lib/ruby/gems/1.8/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) from /usr/lib/ruby/gems/1.8/gems/execjs-1.3.0/lib/execjs.rb:5 from /usr/lib/ruby/gems/1.8/gems

“An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page…”

烈酒焚心 提交于 2019-12-18 10:12:24
问题 I'm trying to publish an MVC website as an Azure webrole. When I run it locally, everything works fine. But once I publish it to Azure and surf to some MVC action, I get this error: Server Error in '/' Application. Runtime Error Description: An exception occurred while processing your request. Additionally, another exception occurred while executing the custom error page for the first exception. The request has been terminated. I don't understand how the error handler can encounter an

Generating a query fails for integration of Redmine and Mylyn in eclipse

青春壹個敷衍的年華 提交于 2019-12-14 03:47:30
问题 I installed the Redmine-Mylyn-Connector in Eclipse and had our admin install the Mylyn-Plugin for Redmine. The connection to Server seems to work: When I try to add a query, I receive a Server Error: . Unfortunately no more details are available. What are potential reasons for this error, and how can I solve the problem? 回答1: There might be useful details in the Error Log. Open the Error Log view ( Alt + Shift + Q then L , or use Window > Show View... ). I would clear the log first (using the

Not able to start Rails server

不羁岁月 提交于 2019-12-12 20:34:47
问题 I am working on Ubuntu 10.04 LTS, Lucid Lynx, have installed Ruby on Rails 3 on it. I am not able to start Rails server. I am getting the following error. mah@mah-laptop:~/Desktop/projects/ver$ rails s /home/mah/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.8/lib/rails/commands.rb:29:in `block in <top (required)>': undefined method `root' for nil:NilClass (NoMethodError) from /home/mah/.rvm/gems/ruby-1.9.2-p0/gems/railties-3.0.8/lib/rails/commands.rb:27:in `tap' from /home/mah/.rvm/gems/ruby-1.9

Server error (500) Django deployment on heroku

对着背影说爱祢 提交于 2019-12-11 16:15:22
问题 I turned debug to False in my settings.py file (note that before I turned it to false, everything was workign perfectly) and when I ran git push heroku master and went to my website, the home page was working but that wasn't the case for all of my pages: on some, I got an error saying Server Error (500) Here is my settings.py code : DEBUG = False ALLOWED_HOSTS = ["hacka-labs.herokuapp.com"] What I have noticed is that the urls where I pass an id aren't working Please help me if you know the

what is root cause of 'child pid 10708 exit signal Segmentation fault (11)' error?

爷,独闯天下 提交于 2019-12-11 12:16:59
问题 I am getting more and more child pid 10708 exit signal Segmentation fault (11) errors. what is the root cause of it and how to fix it ? Is php ini memory is associated with this? I am using apache2 server with php. Thanks in advance. 回答1: It is entirely possible that your memory_limit variable in your php.ini may cause this problem. It certainly did in my case. By lowering the memory_limit , I was able to resolve these errors. 回答2: The root cause is generally that the code is doing something

Internal Server error during file uploading in laravel5.3

最后都变了- 提交于 2019-12-11 07:03:06
问题 I am trying to upload a file in laravel.But every time i hit the submit button it gives me the internal server error in the console. I have checked the rote with a get request to check if the controller function is working properly and it works fine. Can any say what is the problem? here is my code samples route code Route::post('/storefile','PublicationController@storeFile'); controller public function storeFile(Request $request){ if($request->ajax()){ echo "got"; } else echo "not ajax"; }

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

Google Sheet Script server error on getNamedRanges()

北战南征 提交于 2019-12-07 13:30:37
问题 While writing a Google Apps Script for Google Sheets to delete Named Ranges that have been orphaned by deleting the target they reference, an unexpected "server error" occurred. Can someone please tell me how to avoid it? EDIT: Please note that in addition to solving the attached demonstration script, I seek a general solution for every time the routine SpreadsheetApp.getNamedRanges() is called. I will deploy a command to remove orphaned range names from any Google Spreadsheet. It will be