net::ERR_INCOMPLETE_CHUNKED_ENCODING since upgrading to Laravel 4.1 - google-chrome

I've recently upgraded my app to Laravel 4.1 and I started getting this error (Chrome only)
net::ERR_INCOMPLETE_CHUNKED_ENCODING
in the console log. I have zero errors related to this in Laravel's logs and the same page works absolutely fine in Firefox or Safari. Can anyone help? I've been pulling my hair over this for quite a while now and I have no idea what else to try.
Any help is appreciated.

I started having this issues with MAMP, Laravel and Chrome every time i created a new project.
I use MAMP on Maverick so the solution for me was change on MAMP preferences -> php tab -> php extensions -> XCache to APC, that solved the problem.
Good luck.

Had the same issue on Laravel 4.2. My app has always been working on my local machine, but as soon as I put it on production server, it stopped working. As the answer above, XCache installed on the production server was the problem.
First of all you can check if XCache is enabled
$ php -v
...
with XCache v2.0.0, Copyright (c) 2005-2012, by mOo
What I did was to add this to my /public/.htaccess (to disable XCache)
php_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off
This way you check if XCache is the problem.

Related

Live Server extension is not auto-reloading with WSL2

I'm having an issue with the Live Server extension for VS Code (https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer). I'm using WSL 2 for my programming and I have my GitHub repos saved in the Linux filesystems:
\wsl$\Ubuntu\home\myName\Files\GitHub\CSS-My-Site
The issue is that when I make any changes in my project and save, the web page does not automatically reload the way it's supposed to. Now, when I initially run Live Server it does indeed open up my browser and display my page. It just doesn't update after that, I have to refresh manually.
I'm guessing it has something to do with WSL2 because if I move my project folder to my Windows desktop, Live Server works perfectly. I've tried 3 different projects from within the Linux filesystems and none of them update automatically. I've moved all 3 to my desktop, and they auto-refresh just fine. I've also uninstalled and reinstalled the extension, and reinstalled VS Code as well.
I've gone through a couple of posts but none of them seem to have my specific issue. The 2 most relevant were:
https://learn.microsoft.com/en-us/windows/wsl/troubleshooting
https://github.com/ritwickdey/vscode-live-server/issues/452
I am running Mullvad VPN and also tried turning it off and the issue persisted. My system information is below:
Edition Windows 10 Home
Version 20H2
Installed on ‎11/‎13/‎2020
OS build 19042.630
Experience Windows Feature Experience Pack 120.2212.31.0
It seems WSL doesn't support live reload if the file is in another OS. Please refer the GitHub issue.
The solution is to keep the source and execution in the same place.
I solved my problem just by changing the extension, now I use "Five Server"
I solved it by looking for the local ip of my machine using ifconfig in the terminal, copy the ip, paste it in my browser and then :5500

MySQL is not working after Windows 8.1 update

I have Wamp Server 2.5 installed and it was working fine until my Windows 8.1 update. After the update the Wamp Server has became very slow. I have searched for the solution the whole night and tried every possible solution but no joys :( I re-install wamp, disable IPv6, removed cache, etc. I tried to install Xampp Server then but it has the same issue. I came to know that the issue is with MySQL. Whenever I access my project which requires connection with database it doesn't respond but whenever I access any static page it works normally. Any help would be appreciated!
Thanks in Advance
localhost may be needed to replace with 127.0.0.1 in your program
'Listen 80' need to replace with 'Listen 0.0.0.0:80' in httpd.conf

SQL-Database Problems after importing wordpress database from localhost to server

I built a WordPress site using xampp and followed one of the various tutorials I found online when uploading the sql database to the server.
the homepage appears (www.esn-hannover.de) and looks fine but whenever I want to click on a link a 500 Internal Server Error appears.
All the files are uploaded and home and site-url point to the homepage as well...
Does anyone have any ideas what could've gone wrong and how to fix it?
there seemed to have been a problem with the .htaccess file...
i followed this tutorial and now everything's running fine.
Try:
Clean install WP on your live server
Install WP Clone plugin* on both your new live install & your local
dev version.
Run the plugin on your local dev version, then import the zip into
the live fresh installed version.
https://wordpress.org/plugins/wp-clone-by-wp-academy/
Hope that helps.

MySQL5.6 stuck on the process " attempting to start service "

I got a community server version of MySQL5.6 for windows7 32 bit.
and also downloaded windows installer for the same windows version.
Everything was prepared correctly.
I saw on a blog giving me a step-by-step manual for installing MySQL 5.6 on winodws7 32bit.
I did the instruction accordingly and it always stops processing in the phrase of starting service. I completely don't know what the problem is.
I googled it for like three hours and got nothing relevant to this problem.
It never processes any further without any kind of alerts, no matter how much I wait.
Please help me out.
My OS
Windows7 Ultimate K 32bit, Service Pack1
TURN OFF WINDOWS FIREWALL COMPLETELY BEFORE INSTALLING
This was one of the only threads I could find on this issue and the current answers did not cut the mustard for me.
MySQL 5.6.21, both x86 and x64, did not want to get past "Starting Server" and would give me the "MySQL install taking longer than expected" message.
I tried all of the registry cleaner, folder deletions, etc to no avail.
I am running Windows 7 x64 and I finally decided to check the event viewer to find this:
0x80070422 turns out to be some unspecified firewall error and boom, it struck me like lightning.
I hope this post helps future visitors!
Have you installed other version of MySQL before? I have experienced this case ,but I installed MySQL5.5 and uninstalled it. I solved it by clearing regedit and deleting the folder of MySQL in the directory(C:\ProgramData.This directory is hidden by default in Windows.),then reinstalled it.
Follow this link http://tadeparti.com/pages/?page_id=808.
And do remember to delete everything under the C:\program files\mysql folder, including the odbc stuff if you have.

webmatrix unable to connect to localhost:port

No idea what's happened here - I've been using Webmatrix to build a wordpress site - everything has been going nicely. Powered off the machine last night, now today am unable to run the site.
Firefox gives me this error -
Firefox can't establish a connection to the server at localhost:portnumber.
I've tried running other sites from Webmatrix, no joy. Uninstalled xampp. Windows firewall is off, Norton firewall has the appropriate exceptions.
Where has localhost gone? Anyone?
EDIT: reinstalled Webmatrix, no change. Reinstalling MySQL atm, will see if that helps.
EDIT: nup. Clean install of Webmatrix, MySQL and wordpress makes no difference.
All seems to be working again - rebooted, swore a little, had a coffee and boom, back in business. I think it was the swearing that helped.
Thanks for the suggestions