http-status-code-500

OAuth 2.0 Playground - Timeout Limit?

萝らか妹 提交于 2019-12-11 12:59:44
问题 I'm using the OAuth 2.0 Playground to execute a Google App Script function. Using: https://script.googleapis.com/v1/scripts/MSnRgD0GQVGwCP-h1YWmtpwV62A3zXXXX:run The function is very simple, it just pauses for a set amount of time and then returns true. function funSleep(intSeconds) { Utilities.sleep(intSeconds * 1000); return true; } If I run the function for < 55 seconds it returns: HTTP/1.1 200 OK Content-length: 133 X-xss-protection: 1; mode=block X-content-type-options: nosniff Transfer

Prestashop: Out of Memory (allocated …) in ../../../classes/Configuration.php

丶灬走出姿态 提交于 2019-12-10 11:13:55
问题 Prestashop suddenly gives an http 500 error . I turned on error log and got this: "Fatal error: Out of memory (allocated 709623808) (tried to allocate 130968 bytes) in /var/www/vhosts/44/252639/webspace/httpdocs/shop.mywebsite.com/classes/Configuration.php on line 206". I double checked the Configuration.php on line 206 and it's just a standard prestashop file, nothing weird in it. After all it's an "Out of memory" error so maybe I should increase memory. phpinfo() shows memory_limit 1024M ,

Laravel 5.2 is not reading from .env on ubuntu

▼魔方 西西 提交于 2019-12-08 08:50:29
问题 Note: This question is not a duplicate of these questions: Laravel 5.2 not reading env file Laravel 5.2 .env sometimes doesn't load in time I'm getting this error: production.ERROR: exception 'RuntimeException' with message 'No supported encrypter found. The cipher and / or key length are invalid.' in /home/coder/.local/share/Trash/files/myblog/vendor/laravel/framework/src/Illuminate/Encryption/EncryptionServiceProvider.php:45 When I tried dd($config['key']); it returns 'null'. Even the

Weird 500 Internal Server Error (firebug, php, display_errors, ajax)

筅森魡賤 提交于 2019-12-08 02:51:39
问题 On one page I am doing multiple AJAX calls. All calls return responses successfully but the last one (not related to other ajax calls) returns 500 internal server error as response code (as firebug tells). However, in spite of error code, correct content is returned from that AJAX call. To my amazement, when I set display_errors option in php.ini as On, the error disappears and response in rendered on the page. I have setup error logging to a file but no error is logged corresponding to the

Prestashop: Out of Memory (allocated …) in ../../../classes/Configuration.php

谁说我不能喝 提交于 2019-12-06 12:31:04
Prestashop suddenly gives an http 500 error . I turned on error log and got this: "Fatal error: Out of memory (allocated 709623808) (tried to allocate 130968 bytes) in /var/www/vhosts/44/252639/webspace/httpdocs/shop.mywebsite.com/classes/Configuration.php on line 206". I double checked the Configuration.php on line 206 and it's just a standard prestashop file, nothing weird in it. After all it's an "Out of memory" error so maybe I should increase memory. phpinfo() shows memory_limit 1024M , which is already pretty much, but maybe I should try 2048M. I tried to create a new custom php.ini but

Weird 500 Internal Server Error (firebug, php, display_errors, ajax)

╄→尐↘猪︶ㄣ 提交于 2019-12-06 06:08:02
On one page I am doing multiple AJAX calls. All calls return responses successfully but the last one (not related to other ajax calls) returns 500 internal server error as response code (as firebug tells). However, in spite of error code, correct content is returned from that AJAX call. To my amazement, when I set display_errors option in php.ini as On, the error disappears and response in rendered on the page. I have setup error logging to a file but no error is logged corresponding to the above mentioned internal server error. By the way, I am using Apache, JQuery, PHP5, APC (if it is

“500 Internal Server Error” when combining Scrapy over Splash with an HTTP proxy

雨燕双飞 提交于 2019-12-03 22:47:51
问题 I'm trying to crawl a Scrapy spider in a Docker container using both Splash (to render JavaScript) and Tor through Privoxy (to provide anonymity). Here is the docker-compose.yml I'm using to this end: version: '3' services: scraper: build: ./apk_splash # environment: # - http_proxy=http://tor-privoxy:8118 links: - tor-privoxy - splash tor-privoxy: image: rdsubhas/tor-privoxy-alpine splash: image: scrapinghub/splash where the Scraper has the following Dockerfile : FROM python:alpine RUN apk -

“500 Internal Server Error” when combining Scrapy over Splash with an HTTP proxy

白昼怎懂夜的黑 提交于 2019-12-01 01:06:56
I'm trying to crawl a Scrapy spider in a Docker container using both Splash (to render JavaScript) and Tor through Privoxy (to provide anonymity). Here is the docker-compose.yml I'm using to this end: version: '3' services: scraper: build: ./apk_splash # environment: # - http_proxy=http://tor-privoxy:8118 links: - tor-privoxy - splash tor-privoxy: image: rdsubhas/tor-privoxy-alpine splash: image: scrapinghub/splash where the Scraper has the following Dockerfile : FROM python:alpine RUN apk --update add libxml2-dev libxslt-dev libffi-dev gcc musl-dev libgcc openssl-dev curl bash RUN pip install

.htaccess error - ERR_TOO_MANY_REDIRECTS

我的未来我决定 提交于 2019-11-30 23:23:12
I have this .htaccess file to redirect http:// to https:// I also did www. to root domain redirection! www. to root domain works! however https:// redirection doesn't! If I set RewriteCond %{HTTPS} on to RewriteCond %{HTTPS} off or RewriteCond %{HTTPS} =!on I get a browser error: The example.com page isn’t working mysite.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS One edit I did gave me a 500 error but I reverted that back to how it was before! all I did was change: RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} to RewriteRule(.*) https://%{HTTP

.htaccess error - ERR_TOO_MANY_REDIRECTS

僤鯓⒐⒋嵵緔 提交于 2019-11-30 18:24:51
问题 I have this .htaccess file to redirect http:// to https:// I also did www. to root domain redirection! www. to root domain works! however https:// redirection doesn't! If I set RewriteCond %{HTTPS} on to RewriteCond %{HTTPS} off or RewriteCond %{HTTPS} =!on I get a browser error: The example.com page isn’t working mysite.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS One edit I did gave me a 500 error but I reverted that back to how it was before! all I