Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

sladda's avatar

deploy on production by copying files to the remote server?

Hi, I just wanted to ask, if this is the correct way to deploy my spark project? On my local machine my whoe spark project works fine. Then I copied all files to the server, and the welcome screen also works fine on the server. But wenn I click on Login (/login) I get an error with the js/app.js file: net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)

appreciate all hints!

0 likes
5 replies
Cronix's avatar

What os was it developed on, and what os is the production server running?

If you are running an antivirus on your machine, try turning it off and see if it still happens.

Check the owner/permissions of your files on the server.

jlrdw's avatar

Linux is

CasE sEnsiTIvE

Be aware of that.

Please or to participate in this conversation.