internal-server-error

Interal Server Error 500 - session_start()

半腔热情 提交于 2019-12-06 08:06:21
Well, I found quite a lot of threads with ISE 500 , but none of the solutions worked for me. I developed a facebook app for our client to present some audiotracks and, of course, would like to pass some parameters to the application per app_data param. So I integrated the facebook sdk 3.1.1. did everything to connect properly to facebook. On my local xampp everythings works fine, our companys webserver also runs the application without any problems, so does my private webspace. But when I upload the application to the clients server I get a 500: Internal Server Error. To rule out any weird

Laravel 5 - Cache remember doesn't work

 ̄綄美尐妖づ 提交于 2019-12-06 07:45:06
I have tried to cache some queries with Cache::remember(); but it doesn't work. My script response code is 500(Internal Server Error). Here is my code: $filters = \Cache::remember("cache_filter", 20, function(){ $data['value1'] = MyClass::where('<condition>')->get(); $data['value2'] = MyClass::where('<condition>')->get(); $data['value3'] = MyClass::where('<condition>')->get(); return $data; }); return view('custom.show')->with($filters); Storage permissions => 777 Cache path => storage_path('framework/cache') Does anyone have an idea? php artisan cache:clear if you have run php artisan config

What is suitable buffer size for uncompressing large gzip files in gzopen using php?

坚强是说给别人听的谎言 提交于 2019-12-06 07:38:33
function uncompress($srcName, $dstName) { $sfp = gzopen($srcName, "rb"); $dstName = str_replace('.gz', '', $dstName); $fp = fopen($dstName, "w"); fseek($FileOpen, -4, SEEK_END); $buf = fread($FileOpen, 4); $GZFileSize = end(unpack("V", $buf)); while ($string = gzread($sfp, $GZFileSize)) { fwrite($fp, $string, strlen($string)); } gzclose($sfp); fclose($fp); } I use this code for uncompressing but It does not work and I get following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server

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

wamp server 500 internal server error

a 夏天 提交于 2019-12-05 19:52:45
i have a website running on XAMPP. i don't know about its version of php that the web site is written by and version of apache too. I want to move it on windows but got the message 00-Internal server error occurs . i did it too ( wamp->apache->apache modules->rewrite-modules ) and restart my wamp but nothing happened. And here is the error that i see : Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at admin@localhost to inform them of the time this error occurred, and the

Internal Server Error in codeigniter on live host

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-05 19:41:31
I have deployed a website that uses CodeIgniter in the main public_html folder (http://www.myexample.com) . This project working perfectly on localhost. In order to remove index.php from URL this has the following .htaccess: RewriteEngine on RewriteCond $1 !^(index\.php|public|\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?$1 However, when I try to go to the website I'm getting an Internal Server Error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please

500 internal server error when I try to push my app onto Heroku

試著忘記壹切 提交于 2019-12-04 18:39:35
I am facing this problem upon pushing my app to Heroku: 500 internal server error ActionView::Template::Error...application.css isn't precompiled (see attached Heroku logs) Also, ActionController::RoutingError (No route matches [GET] "/assets/rails.png" I am using Twitter Bootstrap 2.0.1 and Rails 3.1.1 (see Gemfile below) Any guidance would be much appreciated! HEROKU LOGS 2012-04-06T16:49:38+00:00 app[web.1]: 2012-04-06T16:49:38+00:00 app[web.1]: Started GET "/" for 115.186.162.46 at 2012-04-06 09:49:38 -0700 2012-04-06T16:49:38+00:00 app[web.1]: Processing by PostsController#new as HTML

PHP not displaying errors - Internal Server Error (500)

和自甴很熟 提交于 2019-12-04 15:57:51
问题 I've set up a fresh install of Ubuntu Server 12.04 LTS on Amazon AWS with *Apache2/MySQL/PHP5. When I run a PHP script and it encounters an error I don't see any error reporting from PHP, all I see is HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request. I have checked my /etc/php5/apache2/php.ini file and as far as I can tell error reporting should be set up. The contents of the file (regarding errors) are: ;

$http post resulting in 500 (Internal Server Error) with C# MVC after adding properties to built in User

六月ゝ 毕业季﹏ 提交于 2019-12-04 06:47:42
问题 I'm getting a 500 Internal Server error when trying to register a new user with ASP.net's built in user authentication. This was previously working for me, but now I've attempted to add a FirstName and LastName field to the 'AspNetUser' table and I'm receiving the 500 error. In my app.js I'm using angular to communicate with my c sharp controllers. I've put comments with "**" next to all the code I added since the app was registering users properly. Previously I only registered users with an

PHP not displaying errors - Internal Server Error (500)

不想你离开。 提交于 2019-12-03 10:02:41
I've set up a fresh install of Ubuntu Server 12.04 LTS on Amazon AWS with *Apache2/MySQL/PHP5. When I run a PHP script and it encounters an error I don't see any error reporting from PHP, all I see is HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request. I have checked my /etc/php5/apache2/php.ini file and as far as I can tell error reporting should be set up. The contents of the file (regarding errors) are: ; display_errors ; Default Value: On ; Development Value: On ; Production Value: Off ; display_startup