Upgrading from php 7.2 to 7.3 causes site to not start

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Upgrading from php 7.2 to 7.3 causes site to not start

Postby axiomcs » 14. January 2021 19:52

Website is hosted on a physical private server running Windows Server 2012 with Joomla 3.9.23. Server is using Xampp. Uninstalled Xampp 7.2 and deleted folder and contents of c:\xampp. Installed Xampp 7.3. Created new db using phpmyadmin and added a password to the root user. Imported db from working 7.2 version.

Getting this error/warning in browser at 127.0.0.1:
"Warning: session start(): Failed to read session data: user: c:\xampp\tmp in c:\users\username\website\libraries\joomla\session\handler\native.php on line 260
Error: Failed to start application: Failed to start session"

Changed in configuration.php all references of localhost to 127.0.0.1.

Need help with getting site to start successfully. Don't know what else to try. All searching I have done seems to point to changing localhost to 127.0.0.1 in the configuration.php file at the site's root folder..
axiomcs
 
Posts: 11
Joined: 08. October 2018 21:13
XAMPP version: 3.2.2
Operating System: Windows Server 2012

Re: Upgrading from php 7.2 to 7.3 causes site to not start

Postby Globulopolis » 14. January 2021 21:16

PHP do not create folders automatically. Check sys_temp_dir option in php.ini and check if that folder is really exists.
Globulopolis
 
Posts: 2
Joined: 18. June 2015 23:46
XAMPP version: 7.4.13 x64
Operating System: win7

Re: Upgrading from php 7.2 to 7.3 causes site to not start

Postby axiomcs » 14. January 2021 21:23

In the php.ini file it shows this:

;sys_temp_dir = "/tmp"

There is a folder c:\xampp\tmp, but no c:\tmp folder.
axiomcs
 
Posts: 11
Joined: 08. October 2018 21:13
XAMPP version: 3.2.2
Operating System: Windows Server 2012

Re: Upgrading from php 7.2 to 7.3 causes site to not start

Postby Nobbie » 14. January 2021 21:26

Ok and what does that mean for you?
Nobbie
 
Posts: 13177
Joined: 09. March 2008 13:04

Re: Upgrading from php 7.2 to 7.3 causes site to not start

Postby axiomcs » 14. January 2021 21:42

Uncomment it and change it to c:\xampp\tmp?

Which I did and got the same result.
axiomcs
 
Posts: 11
Joined: 08. October 2018 21:13
XAMPP version: 3.2.2
Operating System: Windows Server 2012

Re: Upgrading from php 7.2 to 7.3 causes site to not start

Postby Nobbie » 15. January 2021 11:50

It looks as if you should have backuped and restored c:/xampp/tmp as well, due to the error message Joomla fails zo load session data for user from that folder.

You should ask in a Joomla support forum how to fix that.
Nobbie
 
Posts: 13177
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 182 guests