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

MichielKootker's avatar

After FTP to server, still reference to local path

Hello,

  • I've changed in .env APP_URL with the server name and the database information with the server credentials on the server.
  • Uploaded everything with FTP on a shared host.
  • Imported the database from my local database.

When I start the website on the server I get the following error.

ErrorException (E_WARNING) file_put_contents(C:\wamp64\www\ websitename\storage\framework/sessions/bTi9jq7S5IRtFWY0pK4jLQ8lbjWvtliWDXfDsisQ): failed to open stream: No such file or directory

On the server two maps are created C:\wamp64\www\websitename\storage\debugbar and C:\wamp64\www\websitename\storage\debugbar. And there are *.json and *.log files created in them.

I've searched all code, but I can not find any reference to c:\wamp64\www.

Is there something else that I need to change in .env or elsewhere?

0 likes
2 replies
Sergiu17's avatar

Hi, did you try to clear the cache and config?

Please or to participate in this conversation.